一键导入
animus-getting-started
Install Animus, initialize a project, create first task subject, run first workflow — core concepts and project structure
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Install Animus, initialize a project, create first task subject, run first workflow — core concepts and project structure
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Authoring policy for producing Office documents (xlsx/pptx/docx) as `document` subjects. Used by the author-document workflow's generate phase — draft a spec, render+store via the animus-document-engine store_document tool, then record it with create_subject.
Operate Animus v0.7 execution environments — environment plugins and coder nodes, the cross-phase environment broker, workflow/phase `environment:` pinning, `environment_routing:` rules, `workspaces:` multi-repo checkout sets, lease records and the startup reaper, and animus-environment-railway. Use when pinning workflows to remote execution, debugging node acquisition or teardown, or authoring multi-repo runs.
Operate the Animus portal (animus-launchapp) — the flat-named portal MCP surface and admin-only tool visibility, Claude/Codex subscription Connections, the external MCP-server catalog with Connect handshake and ext.* subject projection, the durable script registry and phase_context_schema authoring loop, team_* workflow authoring over MCP, and trigger-event observability. Use when driving a portal deployment rather than a local CLI install.
Product lifecycle agents — product owner, architect, auditor, docs-writer, devops, researcher personas
Guide a project from idea to autonomous engineering setup — interview the user, write VISION.md, AGENT_PRINCIPLES.md, registry, agents/workflows/phases/schedules YAML, scripts, and a first runnable task. Use when standing up Animus in a new project beyond the minimal /animus-setup scaffold.
Set up .mcp.json, Claude Code permissions, and connect AI tools to Animus's MCP server
| name | animus-getting-started |
| description | Install Animus, initialize a project, create first task subject, run first workflow — core concepts and project structure |
| user_invocable | true |
| auto_invoke | true |
| animus_version | 0.7.0-rc.18 |
Animus is a Rust-based agent orchestrator. A daemon dispatches workflows, spawns provider plugins for tools such as Claude, Codex, Gemini, OpenCode, or OAI, manages worktrees, records output, and coordinates queue-driven work.
animus plugin install-defaults)curl -fsSL https://raw.githubusercontent.com/launchapp-dev/animus-cli/main/scripts/install.sh | bash
Working across multiple projects, or want side-by-side kernel versions?
Prefer avm, the Animus Version Manager
(github.com/launchapp-dev/avm) — it installs kernels under
~/.avm/versions/ and dispatches through an animus shim:
avm install <version> && avm use <version>
(animus update self-updates plain installs; on an avm-managed binary it
defers and prints the avm commands instead.)
# From a local source checkout
cd /path/to/animus-cli
cargo install --path crates/orchestrator-cli --bin animus --locked
Verify:
which animus
animus --version
If the repo already has a committed animus.toml, setup is two commands —
skip the plugin sections below:
git clone <repo> && cd <repo>
animus install # resolves animus.toml → .animus/plugins.lock, installs plugins + packs
animus install --locked (CI/Docker) reproduces the committed lock exactly.
It also syncs .env into the encrypted secret store and warns about keys
declared in .env.example but unset.
The daemon's preflight requires a provider, task + requirement subject backends, a config_source, a workflow runner, and a queue plugin. One command installs the default flavor's full required set (provider-claude, subject-default, subject-requirements, config-yaml, transport-http, workflow-runner-default, queue-default):
animus plugin install-defaults
animus daemon preflight
Add --include-recommended for the recommended extras (more providers, the
web UI, GraphQL transport — needed for animus web serve / animus web open).
--flavor <name> installs a different flavor manifest. API keys belong in the
OS keychain: animus secret set <KEY> (preferred over env vars; ${VAR}
interpolation in workflow YAML also checks the keychain).
For team repos, declare the plugin/pack set in a committed animus.toml
(scaffolded by animus init; edited via animus add / animus remove) and
commit .animus/plugins.lock — teammates then just run animus install.
The lock is the source of truth; .animus/plugins.yaml is a derived
projection (never hand-edit or rely on it). Binaries stay gitignored under
<project>/.animus/plugins/.
cd /path/to/your/project
animus init --walkthrough
animus init now reaches a runnable state: the walkthrough detects installed
CLIs, installs default plugins, offers to install the recommended workflow
packs (animus.core-skills, animus.task, animus.requirement,
animus.review; default yes), suggests migrating API keys found in env vars
to the keychain (animus secret set <KEY>; never stored silently), and prints
the first runnable workflow command. When more than the bundled default
flavor is discoverable, the walkthrough offers an interactive flavor picker
(TTY-only; non-interactive runs keep default).
For non-interactive automation:
animus init --walkthrough --non-interactive --no-install --install-packs
Use --no-packs to skip the pack install entirely (takes precedence over
--install-packs).
This creates or updates the project manifest and .animus/ files:
animus.toml — the committed project manifest ([project] kernel version,
[plugins], [packs]); resolved by animus install.env.example and a merge-safe project .gitignore.animus/config.json — self-update config only (daemon runtime settings
live in the scoped daemon/pm-config.json, managed via animus daemon config).animus/workflows.yaml or .animus/workflows/*.yaml — authored workflow sources.animus/skills/<name>/SKILL.md — optional project-scoped skills.animus/plugins/<pack-id>/ — optional project pack overridesDaemon settings and mutable runtime state are stored outside the repo under
~/.animus/<repo-scope>/.
Subjects are units of work. Tasks and requirements are subject kinds backed by
plugins. Use kind=task for local task work:
animus subject create --kind task --title "Add user authentication" --priority p1 --status ready
animus subject list --kind task --status ready
animus subject next --kind task
animus subject status --kind task --id TASK-001 --status in-progress
# --id also accepts the backend-qualified <kind>:<native> form:
animus subject status --kind task --id task:TASK-001 --status in-progress
The removed animus task ... and animus requirements ... command trees are
replaced by animus subject ....
Workflows are multi-phase pipelines. A typical delivery workflow:
The daemon dispatches queued subjects and supervises workflow runs. Dispatch is event-driven: subject and queue writes wake the daemon immediately, so there is no tick interval to wait for.
animus daemon start --pool-size 3
animus daemon health
animus daemon stream --pretty
animus daemon restart
animus daemon stop
animus daemon start always detaches: it backgrounds the daemon, prints the
pid and log path, and is idempotent if a daemon is already running. Use
animus daemon run for a foreground dev/debug daemon (Ctrl-C to stop). The
old --autonomous flag was removed — daemon start now errors on it; the
daemon always starts detached.
Startup runs plugin preflight by default. Use --auto-install for one-shot dev
setup or --skip-preflight only for intentional local debugging.
Agents can ask questions or request approvals mid-run (human-in-the-loop);
pending items land in the animus agent interactions inbox
(list / show / answer).
Queue entries tell the daemon what subject to dispatch next. An enqueue
nudges the daemon, so dispatch is effectively immediate. The daemon is
queue-only: explicit animus queue enqueue entries and cron schedules:
are the only dispatch triggers — it never scans the backend for Ready
subjects. A ready status makes a subject eligible to enqueue, not
something the daemon auto-runs on its own.
animus queue enqueue --subject-id task:TASK-001
animus queue list
animus queue stats
(--subject-id is the universal dispatch selector — qualified kind:ID for
any subject kind, or a bare id resolved by the router. The old --task-id /
--requirement-id flags were removed in v0.7.)
# Create a ready task subject (note the id it returns)
animus subject create --kind task --title "Add health check endpoint" --priority p1 --status ready
# Enqueue it (use the id returned by subject create)
animus queue enqueue --subject-id task:<id>
# Start the daemon (detaches; prints pid + log path)
animus daemon start --pool-size 2
# Watch it work
animus daemon health
animus queue list
animus daemon stream --pretty
Animus exposes operations as MCP tools:
animus.subject.create create task/requirement/external subjects
animus.subject.list list subjects by kind/status
animus.queue.enqueue add work to the dispatch queue
animus.daemon.health check daemon status
animus.workflow.run trigger a workflow
animus.output.tail read recent agent output
animus.logs.tail read active log backend entries
For live CLI-side observability outside MCP:
animus daemon stream --pretty
animus logs tail --level info --since 1h
animus output monitor --run-id <run-id>
your-project/
├── animus.toml # committed project manifest (plugins + packs)
├── .env.example
├── .animus/
│ ├── config.json
│ ├── workflows.yaml
│ ├── workflows/
│ │ └── custom.yaml
│ ├── skills/
│ │ └── <skill-name>/SKILL.md
│ ├── plugins/ # pack overrides + project-scoped plugin binaries (gitignored)
│ ├── plugins.lock # committed lockfile — SOURCE OF TRUTH for the plugin set (schema 2.0, per-platform integrity)
│ ├── plugins.yaml # derived projection of the lock (regenerated; never hand-edit)
│ └── plugin-scope.yaml # optional plugin scope + active_flavor
└── ~/.animus/<repo-scope>/
├── core-state.json
├── resume-config.json
├── cost-state.v1.json
├── workflow.db
├── artifacts/
├── cache/
├── config/
│ ├── state-machines.v1.json
│ └── agent-runtime-config.v2.json
├── daemon/
│ └── pm-config.json
├── docs/
├── interactions/
├── logs/
├── mcp-oauth-cache/
├── runs/
├── state/
└── worktrees/
Compiled workflow config is in-memory only — the only on-disk compile artifact
is the hash-keyed cache under cache/. A config/workflow-config.v2.json
file is a hard load error directing you back to workflow YAML.