talonctl reference
talonctl is the management CLI for talond. Use it to inspect a running daemon, scaffold config, manage personas and channels, test providers, work with schedules, and inspect thread/provider state.
All examples use npx talonctl ..., but talonctl ... works the same way when the binary is installed globally. Commands that read config default to talond.yaml, and .env is loaded automatically before config parsing.
Commands at a glance
Section titled “Commands at a glance”| Command | Purpose |
|---|---|
status | Show daemon health, active containers, and queue depth |
reload | Hot-reload configuration without restarting |
migrate | Apply database migrations |
backup | Back up database, config, personas, and skills |
doctor | Check system requirements and configuration |
setup | Generate a starter config and data directory |
add-channel | Add a channel connector to talond.yaml |
list-channels | List configured channels |
remove-channel | Remove a channel from talond.yaml |
add-persona | Scaffold a persona and add it to config |
list-personas | List configured personas |
remove-persona | Remove a persona and its bindings |
bind | Bind a persona to a channel, or to one conversation with --thread |
unbind | Remove a persona-channel binding, or one conversation binding with --thread |
move-context | Move or copy memory and history between conversations |
list-capabilities | List valid capability labels |
set-capabilities | Show or modify capability grants on a persona |
add-skill | Scaffold a skill and attach it to a persona |
list-skills | List all skills or filter by persona |
add-mcp | Add an MCP server to a skill |
env-check | Audit ${ENV_VAR} usage in config and MCP server definitions |
auth-mcp | Run the one-time OAuth flow for an HTTP MCP server |
config-show | Print effective config with secrets masked by default |
queue-purge | Purge queue items by status |
chat | Connect to the terminal channel |
list-providers | List configured providers in foreground and background contexts |
add-provider | Add a provider to agentRunner, backgroundAgent, or both |
set-default-provider | Change the default provider for one context |
test-provider | Run a provider smoke test |
list-threads | List persisted threads for a channel |
reset-provider-affinity | Reset provider affinity for one thread or a whole channel |
add-schedule | Create a scheduled task |
list-schedules | List scheduled tasks |
remove-schedule | Delete a scheduled task permanently |
run-subagent | Invoke a sub-agent without a running daemon |
whatsapp-auth | Scan a QR code and save Baileys credentials |
a2a list | List A2A tasks |
a2a send | Submit a manual A2A task |
a2a cancel | Cancel an A2A task |
Daemon operations
Section titled “Daemon operations”status
Section titled “status”Shows daemon health, active containers, and queue depth over IPC.
npx talonctl statusnpx talonctl status --ipc-dir ./data/ipc/daemon --timeout 8000Usage
talonctl status [--ipc-dir <path>] [--timeout <ms>]| Option | Description | Default |
|---|---|---|
--ipc-dir <path> | IPC directory used to reach the daemon | from config |
--timeout <ms> | IPC response timeout | 5000 |
reload
Section titled “reload”Reloads config, personas, skills, and channel setup without restarting the daemon.
npx talonctl reloadnpx talonctl reload --ipc-dir ./data/ipc/daemon --timeout 8000Usage
talonctl reload [--ipc-dir <path>] [--timeout <ms>]| Option | Description | Default |
|---|---|---|
--ipc-dir <path> | IPC directory used to reach the daemon | from config |
--timeout <ms> | IPC response timeout | 5000 |
Connects to Talon’s terminal channel over WebSocket. Requires a running terminal connector and a token supplied with --token or TERMINAL_TOKEN.
export TERMINAL_TOKEN=your-secret-token
npx talonctl chat --host 127.0.0.1 --port 7700npx talonctl chat --host 10.0.1.95 --port 7700 --persona researchernpx talonctl chat --host talond.example.com --port 443 --tls --client-id laptopUsage
talonctl chat [--host <host>] [--port <port>] [--token <token>] [--client-id <id>] [--persona <name>] [--tls]| Option | Description | Default |
|---|---|---|
--host <host> | Terminal connector host | 127.0.0.1 |
--port <port> | Terminal connector port | 7700 |
--token <token> | Authentication token | TERMINAL_TOKEN if set |
--client-id <id> | Stable client identity for thread persistence | auto-generated |
--persona <name> | Override the channel’s default persona | channel default |
--tls | Use wss:// instead of ws:// | off |
Setup and maintenance
Section titled “Setup and maintenance”Creates a first-pass talond.yaml and data directory after checking the local environment.
npx talonctl setupnpx talonctl setup --config talond.yaml --data-dir dataUsage
talonctl setup [--config <path>] [--data-dir <path>]| Option | Description | Default |
|---|---|---|
--config <path> | Where to write talond.yaml | talond.yaml |
--data-dir <path> | Data directory path | data |
doctor
Section titled “doctor”Runs environment and configuration checks before you start the daemon or after a config change.
npx talonctl doctornpx talonctl doctor --config ./talond.yamlUsage
talonctl doctor [--config <path>]| Option | Description | Default |
|---|---|---|
--config <path> | Path to talond.yaml | talond.yaml |
migrate
Section titled “migrate”Applies pending SQLite schema migrations. No daemon is required.
npx talonctl migratenpx talonctl migrate --config ./talond.yamlUsage
talonctl migrate [--config <path>]| Option | Description | Default |
|---|---|---|
--config <path> | Path to talond.yaml | talond.yaml |
backup
Section titled “backup”Creates a backup containing the database, config, personas, and skills.
npx talonctl backupnpx talonctl backup --config ./talond.yaml --output /backups/talon-2026-04-03Usage
talonctl backup [--config <path>] [--output <path>]| Option | Description | Default |
|---|---|---|
--config <path> | Path to talond.yaml | talond.yaml |
--output <path> | Backup output directory | auto-generated |
queue-purge
Section titled “queue-purge”Purges queue rows by status through the daemon IPC layer. By default it removes pending, failed, and completed. Valid statuses are pending, failed, completed, dead_letter, claimed, and processing.
npx talonctl queue-purgenpx talonctl queue-purge --statuses dead_letter,failednpx talonctl queue-purge --allUsage
talonctl queue-purge [--ipc-dir <path>] [--timeout <ms>] [--statuses <list>] [--all]| Option | Description | Default |
|---|---|---|
--ipc-dir <path> | IPC directory used to reach the daemon | from config |
--timeout <ms> | IPC response timeout | 5000 |
--statuses <list> | Comma-separated list of statuses to purge | pending,failed,completed |
--all | Purge every status, including in-flight items | off |
Configuration inspection
Section titled “Configuration inspection”env-check
Section titled “env-check”Finds ${ENV_VAR} placeholders referenced by talond.yaml and by MCP server definitions under skills/*/mcp/*.json. It reports which ones are missing. It prints names and status only, never values.
npx talonctl env-checknpx talonctl env-check --config ./talond.yamlUsage
talonctl env-check [--config <path>] [--skills-dir <path>]| Option | Description | Default |
|---|---|---|
--config <path> | Path to talond.yaml | talond.yaml |
--skills-dir <path> | Skills directory | skills |
auth-mcp
Section titled “auth-mcp”Runs the one-time interactive OAuth flow for an HTTP MCP server. The server must already exist in a skill with auth.kind: oauth2 (see add-mcp). The command takes one positional argument in <skill>:<server> form and reads skills/<skill>/mcp/<server>.json.
The command uses Dynamic Client Registration when the server definition has no pre-registered client. It then runs the authorization-code flow with PKCE and writes the token bundle to <dataDir>/mcp-auth/<tokenStore>.json. The daemon picks the bundle up on the next agent run. No restart is needed.
# Native install on your desktop. Opens the local browser.npx talonctl auth-mcp work-search:glean
# Docker starter on the same desktop. Open the printed URL in the host browser.npx talonctl auth-mcp work-search:glean --docker
# Remote daemon over SSH. Prints the auth URL and an SSH port-forward command.npx talonctl auth-mcp work-search:glean --headlessUsage
talonctl auth-mcp <skill>:<server> [--headless] [--docker] [--port <port>] [--config <path>] [--skills-dir <path>]| Option | Description | Default |
|---|---|---|
--headless | Do not open a browser. Print the auth URL and an SSH forward command | off |
--docker | Use the callback that the Docker starter publishes on host loopback | off |
--port <port> | Localhost callback port. A custom port must match the SSH forward or Compose port mapping | 8788 |
--config <path> | Path to talond.yaml | talond.yaml |
--skills-dir <path> | Skills directory | skills |
The OAuth MCP resource URL must use HTTPS. For a pre-registered client, register http://127.0.0.1:8788/callback as an allowed redirect URI, or the matching port if you change it. Rerun auth-mcp when the MCP resource URL or the configured scopes change.
The daemon refreshes access tokens that are within 60 seconds of expiry. If both the access token and the refresh token have expired, agent runs fail with a message that tells you to rerun talonctl auth-mcp.
config-show
Section titled “config-show”Prints the effective config after env substitution. Secrets stay masked unless you explicitly opt out.
npx talonctl config-shownpx talonctl config-show --show-secretsUsage
talonctl config-show [--config <path>] [--show-secrets]| Option | Description | Default |
|---|---|---|
--config <path> | Path to talond.yaml | talond.yaml |
--show-secrets | Show resolved secret values | off |
Channels and bindings
Section titled “Channels and bindings”add-channel
Section titled “add-channel”Adds a new channel entry to talond.yaml. The command scaffolds the channel record; you still need to provide channel-specific secrets in config.
npx talonctl add-channel --name my-telegram --type telegramnpx talonctl add-channel --name slack-engineer --type slackUsage
talonctl add-channel --name <name> --type <type> [--config <path>]| Option | Description | Default |
|---|---|---|
--name <name> | Unique channel name | required |
--type <type> | Connector type such as telegram, slack, discord, whatsappBaileys, email, or terminal | required |
--config <path> | Path to talond.yaml | talond.yaml |
list-channels
Section titled “list-channels”Lists all configured channels.
npx talonctl list-channelsUsage
talonctl list-channels [--config <path>]| Option | Description | Default |
|---|---|---|
--config <path> | Path to talond.yaml | talond.yaml |
remove-channel
Section titled “remove-channel”Removes a channel from config. Existing bindings to that channel are removed with it.
npx talonctl remove-channel --name old-slackUsage
talonctl remove-channel --name <name> [--config <path>]| Option | Description | Default |
|---|---|---|
--name <name> | Channel to remove | required |
--config <path> | Path to talond.yaml | talond.yaml |
Binds a persona to a channel. The first binding created for a channel becomes that channel’s default route.
npx talonctl bind --persona assistant --channel my-telegramUsage
talonctl bind --persona <name> --channel <name> [--thread <id>] [--config <path>]| Option | Description | Default |
|---|---|---|
--persona <name> | Persona name | required |
--channel <name> | Channel name | required |
--thread <id> | Bind one conversation instead of the whole channel | none |
--config <path> | Path to talond.yaml | talond.yaml |
Add --thread <id> to bind one conversation instead of the whole channel, for example a single Telegram forum topic:
npx talonctl bind --persona groceries --channel my-telegram --thread '-1004452318413:42'A thread-scoped binding wins over the channel’s default binding and is never a default itself. A conversation can have one persona. Binding a second one is refused until the first is unbound. Send /chatid in a Telegram chat or topic to get its thread ID. Restart talond to apply. See Telegram topic workspaces.
unbind
Section titled “unbind”Removes a persona-channel binding.
npx talonctl unbind --persona assistant --channel my-telegramUsage
talonctl unbind --persona <name> --channel <name> [--thread <id>] [--config <path>]| Option | Description | Default |
|---|---|---|
--persona <name> | Persona name | required |
--channel <name> | Channel name | required |
--thread <id> | Remove only that conversation’s binding | none |
--config <path> | Path to talond.yaml | talond.yaml |
With --thread <id> only that conversation’s binding is removed. After a restart the conversation is answered by the channel default again.
npx talonctl unbind --persona groceries --channel my-telegram --thread '-1004452318413:42'whatsapp-auth
Section titled “whatsapp-auth”Authenticates a WhatsApp Baileys connector by printing a QR code and saving the resulting credentials.
npx talonctl whatsapp-auth --auth-dir ./baileys-authnpx talonctl whatsapp-auth --auth-dir ./baileys-auth --timeout 180Usage
talonctl whatsapp-auth [--auth-dir <path>] [--timeout <seconds>]| Option | Description | Default |
|---|---|---|
--auth-dir <path> | Directory used to store Baileys credentials | ./baileys-auth |
--timeout <seconds> | Seconds to wait for a QR scan | 120 |
Personas, skills, and MCP
Section titled “Personas, skills, and MCP”add-persona
Section titled “add-persona”Creates a persona directory and appends the persona to config. Optional flags let you set model, provider, skills, capabilities, and a starter prompt source in one step.
npx talonctl add-persona --name assistantnpx talonctl add-persona --name coder --model gpt-5.4 --provider codex-cli \ --skills web-search,file-editing --capabilities "channel.send:terminal,subagent.invoke"Usage
talonctl add-persona --name <name> [--config <path>] [--templates-dir <path>] [--model <model>] [--provider <provider>] [--capabilities <caps>] [--require-approval <caps>] [--skills <skills>] [--system-prompt-file <path>] [--description <text>]| Option | Description | Default |
|---|---|---|
--name <name> | Persona name | required |
--config <path> | Path to talond.yaml | talond.yaml |
--templates-dir <path> | Template directory used for starter prompts | templates |
--model <model> | Persona model name | unset |
--provider <provider> | Provider override | unset |
--capabilities <caps> | Comma-separated allow-list | unset |
--require-approval <caps> | Comma-separated approval-gated capabilities | unset |
--skills <skills> | Comma-separated skill names | unset |
--system-prompt-file <path> | Existing Markdown file to use as system prompt | unset |
--description <text> | Persona description written to frontmatter | unset |
list-personas
Section titled “list-personas”Lists all configured personas.
npx talonctl list-personasUsage
talonctl list-personas [--config <path>]| Option | Description | Default |
|---|---|---|
--config <path> | Path to talond.yaml | talond.yaml |
remove-persona
Section titled “remove-persona”Removes a persona from config and deletes its bindings.
npx talonctl remove-persona --name old-botUsage
talonctl remove-persona --name <name> [--config <path>]| Option | Description | Default |
|---|---|---|
--name <name> | Persona to remove | required |
--config <path> | Path to talond.yaml | talond.yaml |
list-capabilities
Section titled “list-capabilities”Prints the capability labels Talon recognizes for persona configuration.
npx talonctl list-capabilitiesUsage
talonctl list-capabilitiesThis command does not read talond.yaml, so it has no config flags.
set-capabilities
Section titled “set-capabilities”Shows or updates capability grants on an existing persona.
npx talonctl set-capabilities --persona assistant --shownpx talonctl set-capabilities --persona assistant --add "channel.send:my-telegram,subagent.invoke"npx talonctl set-capabilities --persona assistant --remove "db.query:own"Usage
talonctl set-capabilities --persona <name> [--allow <labels>] [--add <labels>] [--remove <labels>] [--require-approval <labels>] [--show] [--config <path>]| Option | Description | Default |
|---|---|---|
--persona <name> | Persona name | required |
--allow <labels> | Replace the allow list with a comma-separated set | unset |
--add <labels> | Add labels to the allow list | unset |
--remove <labels> | Remove labels from the allow list | unset |
--require-approval <labels> | Replace requireApproval with a comma-separated set | unset |
--show | Print current capabilities without modifying them | off |
--config <path> | Path to talond.yaml | talond.yaml |
add-skill
Section titled “add-skill”Creates a new skill and attaches it to a persona.
npx talonctl add-skill --name web-search --persona assistantnpx talonctl add-skill --name docs-writer --persona webmaster --format skillmdUsage
talonctl add-skill --name <name> --persona <persona> [--format <format>] [--config <path>]| Option | Description | Default |
|---|---|---|
--name <name> | Skill name | required |
--persona <persona> | Persona that should receive the skill | required |
--format <format> | Skill format: yaml or skillmd | yaml |
--config <path> | Path to talond.yaml | talond.yaml |
list-skills
Section titled “list-skills”Lists all configured skills or filters by persona.
npx talonctl list-skillsnpx talonctl list-skills --persona assistantUsage
talonctl list-skills [--persona <name>] [--config <path>]| Option | Description | Default |
|---|---|---|
--persona <name> | Filter by persona name | all personas |
--config <path> | Path to talond.yaml | talond.yaml |
add-mcp
Section titled “add-mcp”Adds an MCP server definition to a skill. stdio servers use --command; sse and http servers use --url. The command writes skills/<skill>/mcp/<name>.json and rejects a name that already exists.
npx talonctl add-mcp --skill web-search --name brave --transport stdio \ --command node --args dist/server.js
npx talonctl add-mcp --skill docs --name public-api --transport http \ --url https://api.example.com/mcp
# Static API token in a header. Quote it so the shell does not expand the placeholder.npx talonctl add-mcp --skill work-search --name internal-search --transport http \ --url https://search.example.com/mcp \ --headers 'Authorization=Bearer ${SEARCH_API_TOKEN}'
# OAuth-protected server with a request timeout and an output capnpx talonctl add-mcp --skill work-search --name glean --transport http \ --url https://search.example.com/mcp --auth oauth2 \ --timeout-ms 180000 --tool-output-cap 12000Usage
talonctl add-mcp --skill <name> --name <name> --transport <type> [--command <cmd>] [--args <args...>] [--url <url>] [--headers <pairs>] [--auth oauth2] [--client-id-env <name>] [--client-secret-env <name>] [--authorization-server-issuer <url>] [--scopes <scopes...>] [--token-endpoint-auth-method <method>] [--env <pairs>] [--timeout-ms <ms>] [--tool-output-cap <chars>] [--skills-dir <path>]| Option | Description | Default |
|---|---|---|
--skill <name> | Skill name | required |
--name <name> | MCP server name inside the skill | required |
--transport <type> | stdio, sse, or http | required |
--command <cmd> | Command to execute for stdio transport | unset |
--args <args...> | Command arguments for stdio transport | unset |
--url <url> | Server URL for sse or http transport | unset |
--headers <pairs> | HTTP headers as comma-separated KEY=VALUE pairs. Use ${ENV_VAR} for secrets | unset |
--auth <kind> | HTTP auth mode. The only supported value is oauth2 | unset |
--client-id-env <name> | Environment variable that holds a pre-registered OAuth client ID | unset |
--client-secret-env <name> | Environment variable that holds a pre-registered OAuth client secret | unset |
--authorization-server-issuer <url> | Pinned OAuth authorization-server issuer for a pre-registered client | unset |
--scopes <scopes...> | OAuth scopes to request during authorization | none |
--token-endpoint-auth-method <method> | client_secret_post or client_secret_basic | client_secret_basic with a secret |
--env <pairs> | Stdio environment as comma-separated KEY=VALUE pairs. Use ${ENV_VAR} for secrets | unset |
--timeout-ms <ms> | Per-request timeout in milliseconds, integer of at least 1000 | unset |
--tool-output-cap <chars> | Per-tool output cap in characters, integer of at least 0 | unset |
--skills-dir <path> | Skills directory override | skills |
The OAuth client options require --auth oauth2. They take the names of environment variables, not the values. Put the values in .env. Without --client-id-env, auth-mcp uses Dynamic Client Registration. A pre-registered client needs --authorization-server-issuer. Talon requests no OAuth scopes unless you pass --scopes. After you add the server, run auth-mcp once.
--timeout-ms and --tool-output-cap only take effect on the OpenAI-compatible provider path. Claude Code, Gemini CLI, and Codex CLI runs ignore them. See the config schema reference for the stored keys.
Providers and thread affinity
Section titled “Providers and thread affinity”list-providers
Section titled “list-providers”Lists configured providers from both agentRunner and backgroundAgent.
npx talonctl list-providersUsage
talonctl list-providers [--config <path>]| Option | Description | Default |
|---|---|---|
--config <path> | Path to talond.yaml | talond.yaml |
add-provider
Section titled “add-provider”Adds a provider to the foreground runner, background workers, or both.
npx talonctl add-provider --name gemini-cli --command gemini \ --context both --context-window 1000000 --default-model gemini-2.5-pro --enabled
npx talonctl add-provider --name codex-cli --command codex \ --context agent-runner --context-enabled true --trigger-metric cache_read_input_tokens \ --threshold-ratio 0.8 --recent-message-count 10 --summarizer session-summarizer
# A second OpenAI-compatible endpoint under its own namenpx talonctl add-provider --name ollama-mac --type openai-compatible --command node \ --context both --context-window 128000 --default-model qwen3-coder:30b \ --base-url http://mac.local:11434/v1 --provider-id ollama-mac --enabledUsage
talonctl add-provider --name <name> --command <cmd> [--type <type>] [--context <ctx>] [--context-window <tokens>] [--context-enabled <enabled>] [--trigger-metric <metric>] [--threshold-ratio <ratio>] [--recent-message-count <count>] [--summarizer <name>] [--enabled] [--default-model <model>] [--base-url <url>] [--provider-id <id>] [--tool-output-cap <chars>] [--api-mode <mode>] [--session-mode <mode>] [--config <path>]| Option | Description | Default |
|---|---|---|
--name <name> | Provider name | required |
--command <cmd> | CLI binary path | required |
--type <type> | Provider implementation type when the name is an alias, for example openai-compatible | unset |
--context <ctx> | Target context: agent-runner, background, or both | both |
--context-window <tokens> | Context window size in tokens | 200000 |
--context-enabled <enabled> | Enable context management for agent-runner providers | unset |
--trigger-metric <metric> | Rotation metric: input_tokens, cache_read_input_tokens, cache_creation_input_tokens, or cache_total_input_tokens | unset |
--threshold-ratio <ratio> | Rotation threshold | 0.5 |
--recent-message-count <count> | Verbatim messages kept after rotation | 10 |
--summarizer <name> | Sub-agent used for session summaries | session-summarizer |
--enabled | Enable the provider immediately | off |
--default-model <model> | Set options.defaultModel | unset |
--base-url <url> | Set options.baseUrl for OpenAI-compatible providers | unset |
--provider-id <id> | Set options.providerId for OpenAI-compatible credential lookup | unset |
--tool-output-cap <chars> | Set options.toolOutputCap for OpenAI-compatible providers | unset |
--api-mode <mode> | OpenAI-compatible API mode: chat-completions or responses | unset |
--session-mode <mode> | OpenAI-compatible session mode: none or previous_response_id | unset |
--omlx-responses | Deprecated alias for --api-mode responses --session-mode previous_response_id | off |
--config <path> | Path to talond.yaml | talond.yaml |
set-default-provider
Section titled “set-default-provider”Switches the default provider for either foreground runs or background workers.
npx talonctl set-default-provider --name codex-cli --context agent-runnernpx talonctl set-default-provider --name claude-code --context backgroundUsage
talonctl set-default-provider --name <name> --context <ctx> [--config <path>]| Option | Description | Default |
|---|---|---|
--name <name> | Provider name to promote | required |
--context <ctx> | agent-runner or background | required |
--config <path> | Path to talond.yaml | talond.yaml |
test-provider
Section titled “test-provider”Runs a minimal provider smoke test to confirm the binary is installed, authenticated, and usable.
npx talonctl test-provider --name claude-codenpx talonctl test-provider --name codex-cli --context backgroundUsage
talonctl test-provider --name <name> [--context <ctx>] [--config <path>]| Option | Description | Default |
|---|---|---|
--name <name> | Provider name to test | required |
--context <ctx> | agent-runner or background | agent-runner |
--config <path> | Path to talond.yaml | talond.yaml |
list-threads
Section titled “list-threads”Lists persisted threads for a channel, including connector-specific external IDs, latest provider, and latest activity.
npx talonctl list-threads --channel my-telegramUsage
talonctl list-threads --channel <name> [--config <path>]| Option | Description | Default |
|---|---|---|
--channel <name> | Channel name | required |
--config <path> | Path to talond.yaml | talond.yaml |
move-context
Section titled “move-context”Moves or copies what makes a conversation remember to another conversation: its memory items (facts, notes, summaries, observations), its message history, and the notebook files in its memory/ directory.
npx talonctl move-context --channel my-telegram --from 123456789 --to '-1004452318413:42'| Option | Description |
|---|---|
--channel <name> | Channel of the source conversation. Required |
--from <id> | Source thread external ID. Required. list-threads shows the values |
--to <id> | Target thread external ID. Required. For a Telegram topic, <chat_id>:<topic_id> from /chatid |
--to-channel <name> | Channel of the target, when it differs from --channel |
--copy | Leave the source unchanged instead of emptying it |
--memory-only | Carry memory items and notebook files only, not the message history |
--dry-run | Show what would be moved, change nothing |
--yes | Skip the confirmation prompt |
Behavior:
- Without
--copythe source is emptied and starts fresh. With--copythe source is unchanged, and repeating the copy adds nothing. - The target is created when it has no history yet. An existing target is merged by time, and the preview warns about it.
- Both affected conversations get a session reset, so the next message starts a fresh session that reads the migrated context. The daemon does not need a restart.
- The command refuses while either conversation has queued or running work.
- A memory item whose ID the target already has with different content is left where it is. One the target already holds identically (from an earlier
--copy) is removed from the source on a move, and a move after a copy leaves no duplicate messages. - Images and Findings are not carried over. In move mode a message that owns images stays in the source. In copy mode its text is copied without the images.
- The reply/reaction message ledger, runs, schedules and bindings are not touched.
reset-provider-affinity
Section titled “reset-provider-affinity”Clears sticky provider affinity so the next message goes through normal provider selection again. You can target one thread with --external-id or wipe an entire channel with --all.
npx talonctl reset-provider-affinity --channel my-telegram --external-id 123456789npx talonctl reset-provider-affinity --channel slack-engineer --all --yesUsage
talonctl reset-provider-affinity --channel <name> (--external-id <id> | --all) [--yes] [--config <path>]| Option | Description | Default |
|---|---|---|
--channel <name> | Channel name | required |
--external-id <id> | One thread’s connector-specific external ID | unset |
--all | Reset every thread on the channel | off |
--yes | Skip confirmation | off |
--config <path> | Path to talond.yaml | talond.yaml |
Connector-specific external IDs:
| Connector | External ID format |
|---|---|
| Telegram | chat_id |
| Slack | <channelId>:<thread_ts> or <channelId> |
| Terminal | clientId |
sender wa_id | |
<address>:<messageId> |
Scheduling
Section titled “Scheduling”add-schedule
Section titled “add-schedule”Creates a durable cron-based scheduled task for a persona.
npx talonctl add-schedule --persona assistant --channel my-telegram \ --cron "0 8 * * 1-5" --label "Morning briefing" \ --prompt "Review my tasks and send a short morning briefing."Usage
talonctl add-schedule --persona <name> --channel <name> --cron <expr> --label <label> (--prompt <prompt> | --prompt-file <name>) [--config <path>]| Option | Description | Default |
|---|---|---|
--persona <name> | Persona that owns the schedule | required |
--channel <name> | Channel used for the scheduled thread | required |
--cron <expr> | Five-field cron expression | required |
--label <label> | Human-readable label | required |
--prompt <prompt> | Inline prompt text sent on each run | unset |
--prompt-file <name> | Prompt file basename without .md under personas/<persona>/prompts/. The scheduler resolves it at fire time | unset |
--config <path> | Path to talond.yaml | talond.yaml |
Pass exactly one of --prompt or --prompt-file. For example, --prompt-file braintoss resolves to personas/<persona>/prompts/braintoss.md.
list-schedules
Section titled “list-schedules”Lists all schedules or filters by persona.
npx talonctl list-schedulesnpx talonctl list-schedules --persona assistantUsage
talonctl list-schedules [--persona <name>] [--config <path>]| Option | Description | Default |
|---|---|---|
--persona <name> | Filter by persona name | all personas |
--config <path> | Path to talond.yaml | talond.yaml |
remove-schedule
Section titled “remove-schedule”Deletes a scheduled task permanently. This command takes the schedule ID as a positional argument.
npx talonctl remove-schedule abc123Usage
talonctl remove-schedule <schedule-id> [--config <path>]| Option | Description | Default |
|---|---|---|
--config <path> | Path to talond.yaml | talond.yaml |
Sub-agent testing
Section titled “Sub-agent testing”run-subagent
Section titled “run-subagent”Runs a sub-agent directly without a daemon. This is useful for testing prompt design and JSON contracts in isolation.
npx talonctl run-subagent --name session-summarizer \ --input '{"transcript":"User: Hi\nAssistant: Hello!"}'
npx talonctl run-subagent --name memory-retriever \ --input '{"query":"deployment steps"}'Usage
talonctl run-subagent --name <name> --input <json> [--config <path>] [--subagents-dir <path>]| Option | Description | Default |
|---|---|---|
--name <name> | Sub-agent name | required |
--input <json> | JSON payload passed to the sub-agent | required |
--config <path> | Path to talond.yaml | talond.yaml |
--subagents-dir <path> | Override the sub-agents directory | unset |
A2A task tooling
Section titled “A2A task tooling”a2a list
Section titled “a2a list”Lists A2A tasks with optional filters.
npx talonctl a2a listnpx talonctl a2a list --status working --target software-engineer --limit 50Usage
talonctl a2a list [--status <state>] [--target <persona>] [--limit <n>] [--config <path>]| Option | Description | Default |
|---|---|---|
--status <state> | Filter by submitted, working, completed, failed, or canceled | all states |
--target <persona> | Filter by target persona | all personas |
--limit <n> | Maximum number of rows to show | 20 |
--config <path> | Path to talond.yaml | talond.yaml |
a2a send
Section titled “a2a send”Submits a manual A2A task to another persona for testing or ops work.
npx talonctl a2a send software-engineer "Review the latest PR"npx talonctl a2a send software-engineer "Run the smoke tests" --source jamesUsage
talonctl a2a send <target-persona> <message> [--source <persona>] [--config <path>]| Option | Description | Default |
|---|---|---|
--source <persona> | Source persona name recorded on the task | cli |
--config <path> | Path to talond.yaml | talond.yaml |
a2a cancel
Section titled “a2a cancel”Cancels an A2A task. When talond is running, the command asks the daemon over IPC, which also stops an in-flight run. If the daemon does not answer within the timeout, the command falls back to the database.
npx talonctl a2a cancel <task-id>npx talonctl a2a cancel <task-id> --reason "Superseded by a newer request"Usage
talonctl a2a cancel <task-id> [--reason <text>] [--ipc-dir <path>] [--timeout <ms>] [--config <path>]| Option | Description | Default |
|---|---|---|
--reason <text> | Reason recorded on the canceled task | unset |
--ipc-dir <path> | IPC directory used to reach the daemon | from config |
--timeout <ms> | Milliseconds to wait for the daemon before falling back to the database | 5000 |
--config <path> | Path to talond.yaml | talond.yaml |