Loading...
Loading...
AE Agent platform CLI for Agent, archived conversation, automation, model, MCP, Skill, attachment, and user-memory work. Use when managing these resources, browsing Agent markets, restoring archived conversations, creating scheduled automations, persisting user memory, or answering from user preferences, background, stable workflows, or historical conventions.
npx skill4agent add thinkingaiagenticengine/ae-cli ae-agentCRITICAL — Before running anycommand, you MUST first read the correspondingae-cli agent +<command>. The reference filename equals the command name without the leadingreferences/<command>.md, for example+->+add-mcp. CRITICAL — Never guess record IDs (Agent / automation / model / MCP / Skill / submission / share / attachment). Always use the appropriatereferences/add-mcp.mdcommand to discover real IDs first. CRITICAL — Agent platform resources are served under+list-*, but/api/sandbox/agent/*is now served underae-cli memoryand uses the CLI token main chain. Do not reference legacy memory paths./api/cli/memory/v1/*
ae-cliae-cli agent +<command> [options]agentae-cli agent --help
ae-cli agent +list-agents --help
ae-cli agent +create-automation --helpmemoryae-cli memory +<command> [options]+list-*risk: writerisk: high-risk-write--yes--dry-runmemory +mark-used+list-*| Parameter | Description |
|---|---|
| Output format. Default is JSON. |
| Override the active AE host. Available on every command and may be placed after the subcommand, e.g. |
| Skip confirmation for |
| Show request details (method + URL + body) without executing. |
--format table_notice.host_compat{ "ok": false, "error": { "type": "...", "message": "...", "hint": "..." } }ae-cli_notice.host_compatnpm i -gnpx skills addok: trueae-agentmemoryae-analysisae-engageae-dataopsae-teamae-kb+list-agents+create-agent+update-agent+del-agent+get-agent+find-archived-conversations--time-zone+restore-conversationconversation_id+list-automations+create-automation+update-automation+list-models+add-model+update-model+del-model+toggle-model+test-model+list-mcps+add-mcp+update-mcp+del-mcp+toggle-mcp+mcp-tools+mcp-auth-start+mcp-auth-status+mcp-auth-disconnect+list-mcp-credentials+set-mcp-credential+auto-provision-mcp-credentials+mcp-token+mcp-stats--days+list-skills+add-skill+del-skill+toggle-skill+edit-skill+get-skill-content+list-skill-assets+upload-skill-assetisDangerousFile+read-skill-asset--output+del-skill-asset+list-skill-references+upload-skill-reference+read-skill-reference--output+del-skill-reference+list-skill-scripts+upload-skill-scriptisDangerousFile+read-skill-script--output+del-skill-script+upload-skill+rescan-skills+list-mcp-market+list-skill-market+set-mcp-meta+set-skill-meta+copy-skill+submit-skill+list-skill-submissions+cancel-skill-submission+approve-skill+reject-skill+share-skill+list-skill-shares--direction sent+accept-skill-share+reject-skill-share+list-attachments+add-attachment+del-attachment+attachment-stats+list-sandbox-toolsmemoryagent/api/cli/memory/v1/memories*/api/memories*/api/agent-session-defaults*/api/sandbox/agent/memories*CRITICAL — Memory commands markedin the table below run withoutwrite; only--yesdelete operations usehigh-risk-writeafter explicit user confirmation. For local Agents,--yesis silent internal accounting and also runs without+mark-used. Web Agents never call it.--yes
| Command | Risk | Purpose |
|---|---|---|
| read | List user memories. |
| read | Get one memory by ID. |
| write | Create a memory. Use |
| write | Update a memory, including |
| write | Delete a memory. |
| write | Extract memories from text, stdin, or a Web session. |
| write | Submit candidates extracted locally from a local-agent conversation or memory file. |
| read | List pending memories. |
| write | Approve a pending memory. |
| write | Reject a pending memory. |
| write | Create pending memory suggestions from source text. |
| read | Get the current Agent's new-session defaults. |
| write | Save the current session model/MCP/Skill/knowledge-base/scope selection as the Agent default. |
| write | Clear the current Agent's new-session defaults. |
| read | Preview Top-K memory context for one Agent without updating usage. |
| write | Submit one deduplicated batch of memories actually used by a local Agent for usage accounting. |
| write | Write Top-K memory candidates to one local Agent instruction file. |
+write-context+write-context+write-context--file+context./.claude/user-memories.md<!-- ae-cli:user-memory:start --><!-- ae-cli:user-memory:end -->+write-context --file+write-context--agent-idTE_AGENT_CURRENT_AGENT_IDsystem-default-agent+mark-used+mark-used--agent-id system-default-agent+write-contextfindae-cli memory +mark-used+mark-used+mark-used+write-context --file+write-contextae-cli memory +mark-used --ids '["id-1","id-2"]'+mark-usedrequestedCount+list-automations+add-mcp--instructions @-+add-skill--version+edit-skill+upload-skill --replace-skill-idmajor.minorae_preset | dev_tool | search_tool | data_query | content_gen | enterprise | life | automation | othernewest | calls | likescallsall | system | company | customcustom+add-mcp+add-skill+copy-skill--category / --icon-emoji / --icon-color+copy-skill+toggle-mcp+approve-skill+reject-skill--id+submit-skill+share-skill+copy-skill+cancel-skill-submission+approve-skill+reject-skill+accept-skill-share+reject-skill-share# Inside an Agent sandbox, defaults to the current Agent
ae-cli agent +find-archived-conversations --q "quarterly review" --time-zone Asia/Shanghai
# Show archived_at_local and updated_at_local to users; keep the UTC fields for machine processing.
# Restore a selected result
ae-cli agent +restore-conversation --conversation-id <conversation-id># 1. Discover available Agents
ae-cli agent +list-agents
# 2. Create an enabled daily automation
ae-cli agent +create-automation \
--name "Daily AI Brief" \
--schedule-kind daily \
--time 09:00 \
--message "Summarize yesterday's AI news" \
--agent-id <agent-id>
# 3. (Optional) Pause or edit later
ae-cli agent +list-automations --status active
ae-cli agent +update-automation --id <automation-id> --enabled falseae-cli agent +add-mcp \
--name my-mcp \
--url "https://mcp.example.com/mcp" \
--transport http \
--headers '{"Authorization":"Bearer token"}' \
--category dev_tool \
--icon-emoji robot# 1. Create a Skill
ae-cli agent +add-skill --name code-reviewer --description "Reviews code" --instructions "You are a code reviewer..."
# 2. Submit for company review
ae-cli agent +submit-skill --id <skill-cuid> --description "Code reviewer for the team"
# 3. Root reviews and approves
ae-cli agent +list-skill-submissions --status pending
ae-cli agent +approve-skill --id <submission-cuid>ae-cli agent +share-skill --id <skill-cuid> --to-user-id <user-id>
# Recipient accepts:
ae-cli agent +list-skill-shares --direction received --status pending
ae-cli agent +accept-skill-share --id <share-cuid>ae-cli agent +add-attachment --files '["./report.png", "./data.csv", "./chart.pdf"]'ae-cli agent +toggle-model --id <model-cuid> --enabled true
ae-cli agent +toggle-model --id <model-cuid> --enabled falseae-cli memory +create --content "Prefer concise answers"
ae-cli memory +contextae-cli memory +default-save
ae-cli memory +default-getae-cli memory +extract --session-id "$TE_AGENT_CONVERSATION_ID"ae-cli memory +submit-candidates --candidates-json '{"candidates":[{"content":"Prefer conclusions before details","type":"preference"}]}' --source-type local_conversation --source-agent codex --scope globalae-cli memory +organize
ae-cli memory +organize --scope globalae-cli memory +write-context --file ./AGENTS.mdae-cli memory +create --content "..."--agent-idTE_AGENT_CURRENT_AGENT_IDae-cli memory +default-saveae-cli memory +extract --session-id "$TE_AGENT_CONVERSATION_ID"memory +submit-candidatesCLAUDE.mdCLAUDE.local.mdMEMORY.mdAGENTS.mdAGENTS.override.md--auto-approve--scope global--scope agent --agent-id <id>ae-cli memory +organize--expires-atae-cli memory +create --type temporary --expires-at "<ISO datetime>" --content "..."memory +updatememory +contextae-cli agent --help
ae-cli memory +context --help
ae-cli memory +write-context --help