Skip to main content

CLI Reference

Full command reference for the aide binary.

Memory

aide memory add --category=learning --tags=testing "Prefers vitest"
aide memory search "authentication"
aide memory list --category=learning
aide memory delete <id>
aide memory reindex # Rebuild search index
aide memory export --format=markdown # Export to markdown
CommandDescription
memory addStore a new memory with category and tags
memory searchFull-text search across memories
memory listList memories, optionally by category
memory deleteDelete a memory by ID
memory reindexRebuild the Bleve search index
memory exportExport memories to markdown

Decisions

aide decision set auth-strategy "JWT with refresh tokens" --rationale="Stateless"
aide decision get auth-strategy
aide decision list
aide decision history auth-strategy
aide decision delete auth-strategy
CommandDescription
decision setRecord a decision for a topic (appends to history)
decision getGet the current (latest) decision
decision listList all decision topics
decision historyShow full history for a topic
decision deleteDelete a decision topic

Tasks

aide task create "Implement user model" --description="Create User struct"
aide task claim <id> --agent=executor-1
aide task complete <id> --result="Done"
aide task list --status=pending
aide task delete <id>
CommandDescription
task createCreate a new task (starts as pending)
task claimAtomically claim a task for an agent
task completeMark a task as done with a result
task listList tasks, optionally by status
task deleteDelete a task

Messages

aide message send "User model ready" --from=executor-1
aide message send "Can you review?" --from=executor-2 --to=executor-1
aide message list --agent=executor-1
aide message ack <id> --agent=executor-1
CommandDescription
message sendSend a message (broadcast or directed)
message listList messages for an agent
message ackAcknowledge a message as read

State

aide state set mode ralph
aide state set mode eco --agent=worker-1
aide state get mode --agent=worker-1
aide state list
aide state clear --agent=worker-1
CommandDescription
state setSet a state value (global or per-agent)
state getGet a state value
state listList all state entries
state clearClear state for an agent

Code

aide code index                          # Index codebase (incremental)
aide code search "getUser" # Search symbols
aide code symbols src/auth.ts # List file symbols
aide code references getUserById # Find call sites
aide code stats # Index statistics
aide code clear # Clear index
CommandDescription
code indexIndex the codebase using tree-sitter (incremental)
code searchSearch symbol definitions
code symbolsList all symbols in a specific file
code referencesFind all call sites of a symbol
code statsShow index statistics
code clearClear the code index

Findings

aide findings run                         # Run all analysers
aide findings run --analyser=complexity # Run specific analyser
aide findings search "high complexity" # Search findings
aide findings list --severity=critical # List by severity
aide findings list --file=src/auth # List by file
aide findings stats # Health overview
aide findings accept <id1> <id2> # Accept specific findings
aide findings accept --analyzer=clones # Accept all clone findings
aide findings accept --all # Accept all findings
aide findings clear # Clear all findings
CommandDescription
findings runRun analysers (all or specific)
findings searchFull-text search across findings
findings listList findings by severity, file, or analyser
findings statsCodebase health overview
findings acceptAccept (dismiss) findings by ID or filter
findings clearClear all findings
note

Both --analyser= and --analyzer= spellings are accepted on all findings commands.

Share

aide share export                        # Export decisions + memories to .aide/shared/
aide share export --decisions # Decisions only
aide share import # Import from .aide/shared/
aide share import --dry-run # Preview import
CommandDescription
share exportExport decisions and memories to .aide/shared/
share importImport from .aide/shared/

Status

aide status                              # Full dashboard
aide status --json # JSON output

Shows version, server status, file watcher, code index, findings analysers, MCP tools, stores, and environment variables.

Other Commands

aide session init                        # Initialize session
aide upgrade # Self-upgrade binary
aide daemon --socket=/path/to/aide.sock # Start gRPC daemon
aide mcp # Start MCP server
aide version # Show version
CommandDescription
session initInitialize a new session
upgradeSelf-upgrade the aide binary
daemonStart the gRPC daemon
mcpStart the MCP server (stdio)
versionShow the installed version