Typed memory and gates for AI-agent projects. A standard plus a scaffolder that
wires up a normalized, agent-native workspace from standalone modules — typed project
memory, visible state, reusable skills, private boundaries, and verification gates —
whether the workspace is a second brain, a coding project, knowledge-work bench, or a writing project. Think
create-t3-app, but for an AI agent's workspace instead of a web app.
A vivary is an archaic word for a vivarium: a self-contained world where living things are kept, in stacked layers. That's the metaphor — your project lives inside a small, well-formed world with a substrate, an atmosphere, and gates.
Release status: package versions are independent; there is no single "Vivary 0.3.0" release. Use 0.2.8 for the scaffolder (
create-vivary/@vivary/create), 0.3.0 forvivary-tropo, 0.2.2 forvivary-exo, 0.2.0 forvivary-ozone, and 0.1.0 for the optionalvivary-memory-cogneeadapter. This line adds typed context packets (tropo find), graph-aware filteredtropo query, the Ozonecontext-budgetreview pack, clearer CocoIndex-code active-context guidance, and gated Cognee recall.
| Surface | Current | Link |
|---|---|---|
create-vivary (PyPI) |
0.2.8 | PyPI |
@vivary/create (npm) |
0.2.8 | npm |
vivary-tropo |
0.3.0 | PyPI |
vivary-ozone |
0.2.0 | PyPI |
vivary-exo |
0.2.2 | PyPI |
vivary-memory-cognee |
0.1.0 | PyPI |
| Docs site | live | vivary.vercel.app |
| CI | ci workflow |
GitHub Actions |
Versions are intentionally independent across the layers and optional adapters: tropo
moved to 0.3.0 for context-packet retrieval and graph-aware query filters, ozone
moved to 0.2.0 for the context-budget pack, create-vivary / @vivary/create move to
0.2.8 for scaffolded Cognee adapter metadata and docs, vivary-memory-cognee starts at
0.1.0, and exo stays on the June security line.
Vivary tracks public npm, PyPI, and GitHub signals through reviewed daily PR
snapshots. The chart is generated from stats/latest.json and
stats/history.csv; see docs/SIGNALS.md for
sources and caveats.
tropo (typed knowledge graph + search + storage), strato (agent OS), ozone
(graph-aware review), and exo (coordination) are composed by create-vivary. See
docs/ARCHITECTURE.md for the full model and
docs/PORTFOLIO.md for proof and case-study material. The
high-leverage backlog lives in docs/PRODUCT-ROADMAP.md.
Current command surface:
create-vivary init/doctor/wizard/capabilitiestropo check/graph/find/query/migrate/init --packsozone review/impactexo board/conflicts/claim/rolesvivary-cognee doctor/index/recall/forgetfrom the optionalvivary-memory-cogneepackage
Scaffold a workspace in one npm command. No Python package install first; the launcher
needs Python 3.11+ and uv or pipx available:
npm create @vivary@latest my-workspace # pick: second brain · coding · knowledge work · writingOr install the CLIs from PyPI (run on demand with uvx, no install needed):
pip install vivary-tropo vivary-ozone vivary-exo create-vivary==0.2.8
create-vivary init my-workspace --preset coding # interactive wizard on a TTY
create-vivary init my-workbench --preset knowledge-work --memory local
create-vivary init my-codebase --preset coding --active-context cocoindex-code
create-vivary capabilities --preset second-brain --json
create-vivary doctor my-workspace
uvx vivary-tropo check --root my-workspace
uvx vivary-tropo find "where is release truth owned" --root my-workspace --json
# Agent-mode — fully non-interactive, outputs JSON:
create-vivary init . --preset coding --auto --size large --yes --jsonThe scaffolder writes a full workspace shell: AGENTS.md, STATE.md, SOUL.md,
private USER.md/MEMORY.md boundaries, private heartbeat report storage, strato
runtime skills for Claude/Codex-style agents, a tropo.toml, a starter typed graph,
and optional .vivary/storage.toml / .vivary/memory.toml capability config. Generated
modules are directories with index.md routers (modules/<id>/index.md) so agents
load the smallest useful context first. doctor validates the shell, active privacy
ignore rules, graph health, storage backend, semantic-memory status, and module index
coverage after creation.
tropo find returns small typed context packets for agents and humans to read first;
tropo query provides filtered graph search, and tropo migrate handles backend
switching.
For workspaces that explicitly choose Cognee semantic memory, the optional
vivary-memory-cognee package adds vivary-cognee doctor, index, recall, and
forget. It indexes privacy-filtered typed Tropo node packets and only accepts recall
hits that map back to known Vivary node ids. It is not part of the default install and
provider writes require explicit approval.
For coding workspaces that need richer source retrieval, --active-context cocoindex-code adds optional CocoIndex-code guidance and graph nodes. It does not
auto-install, index, enable MCP, or send source text anywhere; the generated skill asks
before those gates, then gives the approved ccc init / ccc index / ccc search
path. See docs/ACTIVE-CONTEXT.md and the copyable
LLM active-context guide.
Run from source (no install)
python packages/create-vivary/create_vivary.py init sandboxes/coding-demo --preset coding
python packages/create-vivary/create_vivary.py doctor sandboxes/coding-demo
python packages/tropo/tropo.py check --root sandboxes/coding-demo
python packages/tropo/tropo.py find "local ci baseline" --root sandboxes/coding-demo --json
python packages/tropo/tropo.py graph --root sandboxes/coding-demo --jsonEvery agent workspace, regardless of stack or task, needs the same small core:
A self-improving loop running over a typed, navigable knowledge graph, with one visible state surface and human gates.
Everything Vivary ships is a facet of that one sentence. The design law (inherited from throughline): the framework must cost almost nothing to load, or it steals the context the work needs.
That means Vivary is deliberately DRY: one fact gets one owner, while AGENTS.md,
STATE.md, and module index.md files route to deeper context instead of duplicating
it. Full context management is valuable only when it keeps the active context small.
No lock-in. A workspace is plain Markdown + YAML and a few CLIs — it works in any
editor, or none, and on any agent runtime (Claude Code reads .claude/skills/, Codex
reads AGENTS.md + .agents/). Obsidian, an IDE, a particular agent — all optional.
The visual knowledge graph renders editor-free with tropo view; Obsidian fans get an
opt-in setup (create-vivary init … --obsidian) — see docs/OBSIDIAN.md.
Standalone Python packages (vivary-* on PyPI), plus the npm scaffolder
@vivary/create, composed by create-vivary:
| Package | Layer | Job | Source |
|---|---|---|---|
| tropo | troposphere — the living foundation | typed knowledge graph: what the workspace knows | loam ✓ |
| strato | stratosphere — the stable layer | agent OS: state surface, memory, the loop, gates, self-improvement | throughline + flywheel |
| ozone | the protective filter | review — graph-aware, code and editorial | new ✓ |
| exo | the outermost layer | coordination — conflict detection, work claiming, role contracts | new ✓ |
create vivary → pick a preset (coding · second brain · knowledge work · writing) → it lays
down tropo + strato and whichever optional layers fit. See
Quickstart above to install.
Website: vivary.vercel.app — or browse the source in docs/:
- Getting started — install → workspace → loop
- Command reference — every CLI, flag, and exit code
- How-to recipes · Agent skills · FAQ
- Active context · LLM active-context guide
- Architecture · Semantic memory · Obsidian (optional)
- Release workflow — end-of-update release truth, docs/site sync, and publish checks
- Portfolio proof — shipped surfaces, screenshots, and case-study notes
- The substrate is a typed, validated knowledge graph, not flat memory.
- Every change shows its blast radius — before and after — beyond a text diff.
- It's medium-agnostic: the same graph + review serves code and prose.
- It standardizes the agent workspace — which nobody has done.
- Agents can self-configure from scratch —
--auto --yes --jsongives a zero-prompt, machine-readable setup path for storage, installs, and scaffolding.
MIT — see LICENSE.