René's URL Explorer Experiment


Title: command_registry | deepagents_code | LangChain Reference

Open Graph Title: command_registry | deepagents_code

X Title: command_registry | deepagents_code

Description: Python API reference for command_registry in deepagents_code. Part of the LangChain ecosystem.

Open Graph Description: Python API reference for command_registry in deepagents_code. Part of the LangChain ecosystem.

X Description: Python API reference for command_registry in deepagents_code. Part of the LangChain ecosystem.

Opengraph URL: https://reference.langchain.com/python/deepagents-code/command_registry

direct link

Domain: reference.langchain.com

og:imagehttps://reference.langchain.com/og/python/deepagents-code/command_registry
og:image:width1200
og:image:height630
og:image:altcommand_registry | deepagents_code
og:typearticle
twitter:cardsummary_large_image
twitter:imagehttps://reference.langchain.com/og/python/deepagents-code/command_registry

Links:

LangChain Reference home pagehttps://reference.langchain.com/
GitHubhttps://github.com/langchain-ai
Main Docshttps://docs.langchain.com/oss/python/deepagents
Deep Agentshttps://reference.langchain.com/python/deepagents
LangChainhttps://reference.langchain.com/python/langchain/overview
LangGraphhttps://reference.langchain.com/python/langgraph/overview
Integrationshttps://reference.langchain.com/python/integrations/overview
LangSmithhttps://reference.langchain.com/python/langsmith
Deep Agents Codehttps://reference.langchain.com/python/deepagents-code
Deep Agents Codehttps://reference.langchain.com/python/deepagents-code
deepagents-codehttps://reference.langchain.com/python/deepagents-code
attributeCOMMANDS: tuple[SlashCommand, ...]All slash commands.https://reference.langchain.com/python/deepagents-code/command_registry/COMMANDS
attributeALWAYS_IMMEDIATE: frozenset[str]Commands that execute regardless of any busy state.https://reference.langchain.com/python/deepagents-code/command_registry/ALWAYS_IMMEDIATE
attributeBYPASS_WHEN_CONNECTING: frozenset[str]Commands that bypass only during initial server connection.https://reference.langchain.com/python/deepagents-code/command_registry/BYPASS_WHEN_CONNECTING
attributeIMMEDIATE_UI: frozenset[str]Commands that open modal UI immediately, deferring real work.https://reference.langchain.com/python/deepagents-code/command_registry/IMMEDIATE_UI
attributeSIDE_EFFECT_FREE: frozenset[str]Commands whose side effect fires immediately; chat output deferred until idle.https://reference.langchain.com/python/deepagents-code/command_registry/SIDE_EFFECT_FREE
attributeQUEUE_BOUND: frozenset[str]Commands that must wait in the queue when the app is busy.https://reference.langchain.com/python/deepagents-code/command_registry/QUEUE_BOUND
attributeHIDDEN_COMMANDS: frozenset[str]Power-user commands kept out of autocomplete and help.https://reference.langchain.com/python/deepagents-code/command_registry/HIDDEN_COMMANDS
attributeSTARTUP_RECOVERY_COMMANDS: frozenset[str]QUEUED-tier commands that must still run when startup has failed. When the configured model can't be built (e.g. its provider package is missing) the server never starts and the app holds a _server_startup_error state that parks queued messages. These are the recovery escape hatches for that state — install the missing package, reload config/env, or upgrade the tool — so they must bypass the queue rather than sit behind the very failure they repair. /model and /auth already escape via IMMEDIATE_UI (which opens a modal and defers the real work); the commands here instead perform their repair work directly, so they stay QUEUED and rely on this exemption. The bypass itself is gated in _can_bypass_queue. Every entry is also QUEUE_BOUND — the recovery exemption is orthogonal to the normal queue.https://reference.langchain.com/python/deepagents-code/command_registry/STARTUP_RECOVERY_COMMANDS
attributeALL_CLASSIFIED: frozenset[str]Union of all tiers plus hidden commands — used by drift tests.https://reference.langchain.com/python/deepagents-code/command_registry/ALL_CLASSIFIED
attributeSLASH_COMMANDS: list[CommandEntry]Autocomplete entries derived from COMMANDS for SlashCommandController.https://reference.langchain.com/python/deepagents-code/command_registry/SLASH_COMMANDS
functionparse_skill_commandExtract skill name and args from a /skill: command.https://reference.langchain.com/python/deepagents-code/command_registry/parse_skill_command
functionbuild_skill_commandsBuild autocomplete entries for discovered skills. Each skill becomes a /skill: entry with its description and the skill name as a hidden keyword for fuzzy matching. Skills that already have a dedicated slash command in COMMANDS (e.g., remember → /remember) are excluded to avoid duplicate autocomplete entries.https://reference.langchain.com/python/deepagents-code/command_registry/build_skill_commands
classExtendedSkillMetadataExtended skill metadata for CLI display, adds source tracking.https://reference.langchain.com/python/deepagents-code/skills/load/ExtendedSkillMetadata
classBypassTierClassification that controls whether a command can skip the message queue.https://reference.langchain.com/python/deepagents-code/command_registry/BypassTier
classSlashCommandA single slash-command definition.https://reference.langchain.com/python/deepagents-code/command_registry/SlashCommand
classCommandEntryA single autocomplete entry for the slash-command controller.https://reference.langchain.com/python/deepagents-code/command_registry/CommandEntry
View source on GitHubhttps://github.com/langchain-ai/deepagents/blob/019900734024a7665fd65bd75235c6307d5da003/libs/code/deepagents_code/command_registry.py

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.