Skip to content

CLI reference ​

The npm package is agentix-cli; the executable is agentx. Run agentx <command> --help for flags and examples. The commands below are registered in the current CLI. For every command and flag, with defaults, see the CLI command reference.

JobCommand
Open the web wizardagentx setup
Start or inspect the daemonagentx daemon start, agentx daemon status, agentx daemon logs
Check installationagentx doctor
Manage agentsagentx agent list, agentx agent add
Manage channelsagentx channel list, agentx channel add
Pair a channelagentx connect telegram, agentx connect whatsapp
Pair machinesagentx connect mesh invite, agentx connect mesh join <link>
Schedule workagentx schedule "daily at 9am" --agent <id> --do "<task>"
Add a ready-made teamagentx team add <name> (ready-made teams)
Leads, opt-outs and competitor watch for the sales teamagentx sales leads, agentx sales opt-out <name>, agentx sales watch (sales)
Attach an editor sessionagentx attach <agent>
Open terminal UIagentx tui
Inspect usageagentx usage today, agentx usage plan, agentx usage report, agentx usage surfaces (understand costs)
Validate configurationagentx config check
Create a starter agentx.json without the browseragentx init
Issue API tokens for peers and integrationsagentx token create, agentx token list, agentx token revoke
Check a risky command against the guardrailsagentx guard test, agentx guard log
Ask a typed question and get a calibrated answeragentx decide
Let agents ring you for a voice callagentx call allow <agent>, agentx call list
Pick each agent's voiceagentx voice list, agentx voice set
Check what a live lesson didagentx voice lessons
Shell tab-completionagentx completion
Expose MCP over stdioagentx serve --stdio
Run a scripted touragentx demo

Advanced commands ​

These are callable but hidden from agentx --help (its footer names them all). Use each command's --help rather than assuming its flags.

CommandWhat it manages
workflowWorkflow definitions: list, show, validate, run, and manage runs
cronSchedules in their raw form (schedule is the friendlier front door)
webhookIncoming webhook entries (GitLab, GitHub, Sentry, Stripe, Vercel, custom)
meshMesh peers: add, list, remove, health-check timing
a2aA standalone agent-to-agent protocol server (A2A)
notificationsWhere AgentX pings you, and the Mac banner and phone push
boardKanban boards over configured sources, and the dashboard server (board serve)
wikiThe agents' knowledge base
memoryEach agent's memory notes and extracted facts
procedureProcedures learned from recurring activity: extract, review, match
graphThe intent graph: review and label classifications
watchStream live daemon events: workflow runs, tasks, mesh health
tracePer-task execution traces: list, show, replay, and lessons (did a lesson make a repeated task better)
ledgerThe intent ledger: events, decisions, divergences
decisionsThe typed-decision store: calls, labels, calibration
processWarm agent processes: list, kill
dbRead-only views of the operational database
skill, hook, plugin, actions, references, ragExtensions: skills, hooks, plugins, reusable actions, the references registry, search indexes
business, backlog, planThe business layer: org chart and projects, a local backlog, day/week/month plans
whatsappWhatsApp chats and contacts, ingesting them into the wiki, and triage of watched chats
retentionPrune old workspace state
migrateImport configuration from another tool
execRun one task through an agent and exit, for scripts
chatDeprecated; use attach

agentx monitor is hook plumbing for external CLI-session reviews; it does not open the Monitor dashboard tab. agentx chat is deprecated in favor of attach.

On your Mac: experimental helpers ​

point, look, and paste require macOS, the native helper installed by agentx desktop install, and a terminal. point shows you what it would click; it never clicks. The native helper and teach lessons can click and type; inspect a lesson before running it. --no-speak only turns off narration.

Before copying commands ​

Run commands from the directory containing your agentx.json, unless a command provides a configuration flag. From a source checkout, use node dist/cli.js instead of agentx. Arguments in angle brackets are placeholders; replace them without the brackets. Commands that dispatch work can incur model usage.

AgentX Voice ​

sh
agentx desktop install --agent helper
agentx desktop status
agentx desktop stop
agentx desktop start

install builds and installs both native apps and sets up login startup. --dry-run shows its plan without changes. Apple Silicon, macOS 14+, and Apple's command-line tools are required. Desktop setup covers speech and permissions.

Daemon and configuration ​

CommandResult / useful flags
agentx daemon startForeground daemon; --detach for background, --config <path> for another config
agentx daemon statusWhich version is running, since when, what restarted it last, then agents, schedules and connected machines; --json for the same as data. See what the daemon is running
agentx daemon logsRead logs; -f to follow, -n <lines> for more
agentx daemon stopStop the daemon after its running tasks finish (restart without losing work)
agentx daemon restartRestart through launchd, systemd, or stop + start, and wait until it answers again; --when-idle waits for running tasks first (--timeout, --abort-on-timeout, --reload-service, --dry-run). See restart without losing work
agentx config checkValidate the configuration
agentx config get <path>Read one configuration field
agentx config set <path> <value>Change a field; inspect the reload/restart result
agentx doctorCheck local installation and prerequisites
agentx notify "<message>"Notify the phone app and show a Mac banner, held during Focus; --proof captures the banner; see Get notified
agentx call request --reason "…"From inside an agent's run: ring the owner for a live voice call (--urgent); see Calls from your agents
agentx call cancelFrom inside an agent's run: withdraw its call that is still waiting or ringing
agentx call listRecent calls (--status missed, --limit, --json)
agentx call answer <id>, agentx call decline <id>, agentx call hangup <id>, agentx call later <id> [minutes]Act on a call from the terminal
agentx call allow <agent>, agentx call disallow <agent>Who may call you (calls.allow; "*" for every agent). The same list lets an agent ask to see through your phone camera
agentx camera ask --reason "…"From inside an agent's run: ask you to show the phone camera (--urgent); see Share your phone camera
agentx camera lookFrom inside an agent's run, while you share: the newest picture, saved as a PNG the agent opens
agentx camera list, agentx camera watchingRecent camera asks (--status, --limit, --json); agents watching a camera right now
agentx camera decline <id>, agentx camera stop <id>Turn down an ask; end a live watch from the terminal
agentx notifications showNotification routing, the local banner and sound, phone app and ntfy status, and on a Mac whether AgentX Helper may post banners
agentx notifications local--banner, --sound, --sound-name, --volume, --icon for the Mac banner and sound
agentx notifications push--subject, --relay-to, --enable/--disable for notifications on the phone app
agentx notifications channel <name>Where agentx notify sends by default (push)
agentx notifications ntfy--server, --topic, --token, --enable/--disable for push through ntfy

Do not share config show output without checking it for credentials. Starting a daemon does not start the separate browser dashboard.

See what the daemon is running ​

agentx daemon status opens with a short block about the daemon (the AgentX background service) itself, before the list of agents:

text
AgentX 1.4.0 (abc1234)   node demo-laptop
Running since   2026-03-10 12:21 (Europe/Paris), 2h 05m ago, pid 1827
Last restart    2026-03-10 12:21 by agentx daemon restart (SIGTERM), previous boot 2026-03-10 06:41
Restarts        3 today, 9 in the last 7 days
Build on disk   dist newer than process: no
Service         launchd com.example.agentx (KeepAlive)
LineWhat it tells you
First lineThe version and the commit (the exact state of the source code it was built from) that the daemon loaded when it started, and the name of this machine in agentx.json
Running sinceWhen the daemon started, in your time zone, and its process number (pid)
Last restartWhen it last started, what stopped the daemon before it, and when that one had started. by agentx daemon restart or by agentx daemon stop is a command; by restart-when-idle from … is the dashboard's Restart when idle button or the same request from a terminal; by launchd (…) or by systemd means the stop came with no request on record, on a daemon that service manager runs: the service manager itself, a plain kill or a deploy script. It names what manages the daemon, not who asked. no clean stop on record before it means the daemon before crashed, was killed or lost power
RestartsHow many times the daemon started today and in the last seven days. Every start counts, so the first start of the day reads 1 today. on record since appears while the record is younger than a week
Build on diskyes when the AgentX files on disk were rebuilt or upgraded after the daemon started. The daemon keeps running the old code until it restarts. It looks at the folder the daemon was started from: a release installed into a new folder does not show here until the service points at it and restarts
ServiceWhat starts the daemon again after it stops: a launchd job (macOS), a systemd unit (Linux), or nothing when it was started from a terminal

agentx daemon status --json prints the same facts as data: version, commit, startedAt, pid, lastRestart (at, by, reason, previousBootAt), restarts (today, last7d, since), build (newer, changedAt, version) and service. The daemon's /health address answers with the same fields except service, so one call per machine is enough to compare a fleet.

When the daemon is stopped, the command says so and prints the last start on record:

text
AgentX is stopped   node demo-laptop
Last boot       2026-03-10 12:21 (Europe/Paris), 2h 05m ago

Run it from the folder that holds agentx.json: the record of starts is kept there, in .agentx/boot-log.json. It keeps the last 500 starts.

People ​

The humans who talk to your agents, one person per human whatever channel they use: Tell agents who is who.

CommandWhat it does
agentx people list [--json]Everyone, with their channel identities
agentx people add <id> --name … [--role] [--identity channel:id]Add a person; --identity can be given several times
agentx people link <id> <channel:id>Add a login, Telegram id or WhatsApp number to a person
agentx people unlink <id> <channel:id>Take one away
agentx people remove <id>Remove a person; their past tasks keep the id
agentx people show <id> [--limit] [--json]One person and what they asked for, on every channel

Talk to an agent ​

sh
agentx daemon send helper "Explain this project's purpose"
agentx tui --agent helper
agentx tui --legacy
agentx attach as helper

daemon send runs a task. tui opens the interactive terminal interface. attach as binds an external editor/CLI session to an AgentX identity; it does not open a chat. Use agentx attach list to inspect bindings and agentx attach detach to release them. Bindings are saved in ~/.agentx/attach-bindings.json and survive daemon restarts; they end on detach or when the session closes. agentx attach watch connects a session without an identity: it gets a short event digest on each prompt and no messages (Work from your Claude Code session).

Workflows and schedules ​

CommandResult
agentx workflow listList saved workflows
agentx workflow show <id>Inspect a workflow
agentx workflow validate <file>Validate before importing or running
agentx workflow add <file>Import a definition
agentx workflow run <id-or-file>Execute the named workflow; may perform external actions. Fails if the workflow is not active
agentx workflow runs [id]Inspect runs
agentx workflow pilot-report <live> <pilot>Compare a pilot workflow with the live one it ran beside: cost per run, hand-backs, failures
agentx workflow trace <id>Inspect execution details
agentx workflow cancel <runId>Stop a run; a followed run's reminders stop and you get its summary
agentx workflow run <id> --follow --title "…" --tag client:example-coStart a run AgentX follows to the end (follow a request)
agentx workflow progress [--tag <kind:name>]Followed runs still going, grouped by tag
agentx workflow follow-upShow or change the follow-up settings: nudges, approvals, which agents
agentx workflow requiredShow or change whether every task runs through a workflow (every task a workflow)
agentx workflow recordsOne JSON line per run: steps, times, where it failed
agentx cron listList schedules
agentx cron disable <id>Disable a schedule
agentx cron enable <id>Enable a schedule
agentx schedule listList schedules, including agent requests awaiting approval
agentx schedule approve <id>Approve an agent's pending create or delete (schedules from chat)
agentx schedule reject <id>Reject an agent's pending create or delete

Start with the visual workflow guide before enabling a live automation.

Request status ​

One comment per request in a GitLab or GitHub thread, kept up to date by AgentX: requestStatus.

CommandWhat it does
agentx request-statusWhich channels show request status
agentx request-status <gitlab|github> <on|off>Turn it on or off for one channel

Approvals ​

One list of every decision waiting for you: Approvals.

CommandWhat it does
agentx approvals list [--all] [--json]What is waiting, most urgent first; --all includes items put off
agentx approvals approve <key> [--note] [--force] [--choice] [--text]Say yes; --force approves a wiki lesson whose article changed since; --choice and --text answer a card that offers choices; without --choice, the suggested choice is taken
agentx approvals reject <key> [--note]Say no
agentx approvals later <key> [--hours]Put an item off (default 24 hours)
agentx approvals request --agent … --title … --ask … --recommend … --if-silent … [--choice …] [--draft] [--say] [--context]Raise a decision card yourself, for example to test
agentx approvals popup <key>Show one card on the Mac now and record your answer (macOS)
agentx approvals popup --sample [--theme] [--capture file.png]Show a sample card; nothing is recorded
agentx approvals checkin [--daily]Run a check-in now: waiting cards come back, open reminders get cards (daemon, macOS)
agentx approvals mirror-report [--start] [--days] [--json]Count, per day, cards raised, Reminders created and cards the Reminders mirror missed
agentx approvals settings [options]Show or change expiry, "later", the daily digest, the Mac card and check-ins

Open requests ​

What you asked agents for that is not finished: Keep track of what you asked for.

CommandWhat it does
agentx requests list [--json] [--stalled]Open requests, oldest first; --stalled for the stalled ones, grouped by what they wait on
agentx requests show <id>One request and the runs, delegations and cards linked to it; its plan, step by step, and the plan's log
agentx requests step <id> <step> --retry|--skip|--done [--note]Move a step of a request's plan on: hand it over again, skip it, or mark it done
agentx requests done <id> --evidence <link>|--reason <text>Close a request as finished, with a link to the proof, or by hand with the reason
agentx requests drop <id> [--reason]Drop a request you no longer want
agentx requests flow [--days 7] [--json]The daily flow rate: requests closed (done or dropped) out of those asked, today first, then per day
agentx requests contract [--since 7d] [--dry-run] [--json]Measure what agents tell you when they deliver or go quiet: five numbers per agent and for this computer. Read only
agentx requests settings [options]Show or change who counts as you, the channels, the quiet time, how long closed requests are kept, the headlines (--headlines), the plan settings (--plans, --stall-minutes, --max-nudges, --approve-kinds, --plans-off-for, --plan-for, --plan-over) the checks (--checks, --check-every), resend once (--auto-resend, --resend-after, --resend-hold-hours) and the flow rate's time zone (--flow-zone)

Agent memory ​

How to use these, step by step: Review what your agents learn.

CommandWhat it does
agentx memory facts summaryCount each agent's facts by source trust and review state
agentx memory facts heldList facts waiting for approval
agentx memory facts approve <id> --agent <id>Let a held fact be used
agentx memory facts reject <id> --agent <id>Keep a held fact out for good
agentx memory facts scrub [--apply]Count stored facts that contain credentials; --apply deletes them
agentx memory facts flag-unsourced [--apply]One time: mark facts about bills, accounts, outages or deploys that name no source as unverified; --apply writes, with a backup (stop the daemon first)
agentx trace lessons [--since 30d] [--agent <id>] [--min 2] [--json]Compare repeated tasks before and after each fact, procedure or wiki was first used
agentx wiki promote [--commit]Preview (or, with --commit, judge and propose) lessons for the shared wiki
agentx wiki promote --failures [--min-sessions <n>]Also propose lessons from failures that happened in at least n separate sessions (default 3)
agentx wiki proposals listProposed lessons waiting for review
agentx wiki proposals show <id>The proposed article and its evidence
agentx wiki proposals approve <id>Write it into the shared wiki; refuses if the article changed since, unless --force
agentx wiki proposals reject <id> [--reason]Decline it; its sources aren't judged again until they change
agentx wiki contribute enable <agent>Let an agent add sourced facts to the wiki once a day (how)
agentx wiki contribute --agent <id> [--dry-run]Run one agent's contribution now
agentx wiki contributions [merge | held | approve <id> | reject <id>]See, apply or decide on the queued contributions
agentx wiki summarize [--agent <id> | --all] [--dry-run]Write the one-line page summaries wiki questions pick pages from; only new or changed pages (how)
agentx wiki score --agent <id> --questions <file> [--out <file>]Score the wiki against questions you know the answers to; --compare a.json b.json shows the change
agentx wiki facts list [--stale]Checked facts, with where, when and by whom they were checked
agentx wiki facts show <id>One fact and its earlier values
agentx wiki facts set --subject --attribute --value --source --checked-at nowRecord a fact you checked; a different value needs a newer check or --confirm
agentx wiki facts proposals listClaims from conversation summaries, waiting for a check
agentx wiki facts proposals approve <id>Confirm a claim and record it as a fact
agentx wiki facts proposals reject <id> [--reason]Drop a claim

Computer use and teaching ​

Install AgentX Voice, the voice assistant for your Mac, first. These tools interact with the current macOS desktop, not the browser tab displaying this documentation.

CommandWhat it does
agentx point "the search field"Locate and highlight; does not click. With the character on screen, the character goes there and marks it
agentx point "the search field" --mark circle --hold 20How the character marks it (box, circle, underline, none) and for how many seconds
agentx point "the search field" --text "Search starts here"What the character's bubble says while it stands there. Without it there is no bubble at the stop
agentx point "the search field" --expression speakingThe state the character shows while it stands there
agentx point "the search field" --jsonPrint the selection without pointing
agentx express listening --hold 5The character shows a state where it rests for that many seconds: idle, notices, listening, working, speaking, understood, dozing, calling or asking
agentx look "What is visible?"Capture the focused window and request a vision observation
agentx look "The command palette is open" --verify --jsonCheck a claim and return structured evidence
agentx look "What is visible?" --screenCapture the full screen instead
agentx look "The page has loaded" --verify --settleWait for the window to stop moving before looking
agentx screen capture --region notifications -- <command>Run a command and capture what it changed; see Capture the screen at the right moment
agentx screen capture --until-changed / --until-stableCapture once a region changes, or once it stops moving
agentx screen recent --seconds 5Frames from the in-memory buffer (screen.buffer)
agentx screen configShow or change the screen settings: size budget, waits, named regions, buffer
agentx teachList bundled lessons
agentx teach <lesson>Run a lesson; can narrate, point, click, type, and verify
agentx teach <lesson> --record --record-dir <directory>Record with macOS screencapture
agentx paste --helpInspect smart-paste options before using it

For look --verify, exit codes are 0 confirmed, 3 refuted, 4 unknown, and 1 operational error. A vision call sends pixels to the configured provider. point uses a typed decision seat; Jev explains its configuration.

Mesh and decisions ​

sh
agentx mesh list
agentx mesh health --show
agentx daemon send helper "Reply with a short hello" --peer work-machine
agentx decisions backends
agentx decisions stats --since 1d

See Tailscale pairing, A2A communication, and decision seats for setup and interpretation.

Find every command and flag ​

The CLI command reference lists every command, argument and flag, with defaults. agentx --help lists the primary commands and names the advanced groups. Hidden groups remain callable. Use agentx <group> --help, then agentx <group> <command> --help for exact arguments, options, and defaults from your installed version. This matters when your installation differs from the documentation checkout.

Check it worked ​

  1. Terminal: run agentx --version. It prints the installed version.
  2. Terminal: run agentx doctor. It checks Node, the configuration, credentials and the daemon.
  3. Terminal: run agentx daemon status. The first line names the same version as step 1, and Build on disk says no.

If something is wrong ​

  • command not found: agentx: the npm package isn't installed globally, or you're in a source checkout. Use node dist/cli.js there.
  • unknown command: check the spelling against agentx --help and its advanced list; your installed version may be older than these docs.
  • A command can't find your agents: run it from the folder that holds agentx.json.
  • agentx daemon status shows an older version than agentx --version, or Build on disk says yes: the daemon is still running the code it started with. Restart it: agentx daemon restart --when-idle. See restart without losing work.
  • Last restart says "no clean stop on record before it": the daemon before this one did not shut down in the normal way. Read the end of its log with agentx daemon logs -n 200. The first start after upgrading to this version also shows it once.
  • The block has only two lines: the daemon that answers is older than this page. Restart it to load the installed version.
  • Service says "none": nothing starts the daemon again after a crash or a reboot. Set it up as a service: restart without losing work.

Released under the MIT License.