Getting started
Vivary turns a folder into an agent-native workspace: a typed knowledge graph, an agent operating loop with visible state and memory, graph-aware review, and human gates. This page takes you from nothing to a working workspace an agent can operate.
1. Install
Section titled “1. Install”You need Python 3.11+. Pick one:
# A) install the CLIspip install vivary-tropo vivary-ozone vivary-exo create-vivary
# B) run on demand with uv (no install)uvx vivary-tropo --version
# C) scaffold via npm (the create-t3-app experience)npm create @vivary my-workspace # or: npx @vivary/create my-workspaceNo editor is required. Vivary is plain Markdown + YAML; it works in Claude Code, Codex, vim, or nothing at all. (Like Obsidian? See OBSIDIAN.md.)
2. Create a workspace
Section titled “2. Create a workspace”create-vivary init my-workspace --preset codingcd my-workspacePresets: coding (a software project), second-brain (a knowledge base),
writing (a manuscript/copy system). They share the same shell and differ only by
starter graph. Add --obsidian for an optional Obsidian vault config.
You now have:
AGENTS.md the per-session contract (the loop, gates, the graph)SOUL.md the agent's personality/principlesSTATE.md the one visible state surface (Focus/Status/Next/...)USER.md MEMORY.md private identity + durable memory (gitignored)STRATO.md the agent-OS modeltropo.toml the typed-graph schemamodules/ changes/ decisions/ verification/ gates/ the starter typed graph.claude/skills/ .agents/skills/ runtime skills (strato, loops) for Claude Code + Codex3. Verify it’s healthy
Section titled “3. Verify it’s healthy”create-vivary doctor my-workspace# doctor: ok (8 node(s), 24 edge(s), 0 broken)
tropo check # strict: validates every doc + the graph (warnings fail)ozone review # relationship-level review of the graphexo board # work items by status4. See the graph
Section titled “4. See the graph”tropo graph --json # the machine viewtropo view --out graph.html # a self-contained visual graph — open in any browsertropo blast human-gates # what depends on the "human-gates" node5. Operate the loop
Section titled “5. Operate the loop”Open the workspace in your agent (Claude Code reads .claude/skills/; Codex reads
AGENTS.md + .agents/). The contract (AGENTS.md) drives every turn:
Ask → retrieve → act → verify → learn → gate.
- retrieve with
tropo graph/tropo blast <id>— the graph is the first source of truth, notes second.- verify with
tropo check+ozone reviewbefore a gate.- gate — name the blast radius (
ozone impact <id>) for a risky change, and stop at the human gates (memory writes, publishing, installs, git push/PR, destructive ops).
First time in a fresh workspace, ask the agent to bootstrap (the strato skill interviews you and fills SOUL/USER/STATE) — see SKILLS.md.
6. Add your own work
Section titled “6. Add your own work”The graph is just typed folders. Add a module, a change, a decision:
mkdir -p modulescat > modules/billing.md <<'EOF'---project: my-workspacestatus: activemodule_area: paymentsrelated_changes: [add-stripe]EOFtropo check # tells you exactly what's missing or mistypedtropo check is your guardrail — it’s opinionated, so it’ll tell you when the graph is
wrong. Run tropo fix to clear redundant frontmatter.
- COMMANDS.md — full CLI reference
- HOWTO.md — task recipes (review a change, multi-agent, CI, …)
- SKILLS.md — the agent skills (bootstrap, heartbeat, self-improve, loops)
- ARCHITECTURE.md — the layer model and the why
- FAQ.md