Governance and knowledge system for AI agent fleets.
Agentic DNA provides a structured governance layer for multi-agent systems β defining agent identity, enforcing policies, managing shared knowledge, and ensuring consistency across an entire fleet of AI agents.
- Agent Identity (dna.yaml) β Goal, boundary, tools, and deprecation specs per agent
- Philosophy DB β Universal principles shared across all agents
- Convention DB β Actionable rules (global or workspace-scoped)
- Toolbox β Shared CLI/tool documentation
- Architecture Paradigms β Git/CI/deploy level management
- Adaptive Cron β Dynamic frequency adjustment
- Policy Injection β Automatic cron and interactive session policies
- Directive Expansion β
{{dna ...}}directives in bootstrap files
- Node.js >= 18
npm install -g agentic-dna
dna init # Initialize data directory
dna helpopenclaw plugins install openclaw-dna
openclaw gateway restartgit clone https://github.com/exisz/agentic-dna.git
cd agentic-dna
pnpm install
npm link # Makes 'dna' command available globally
dna initdna init # Initialize data directory
dna spec <agent> # View agent spec (goal/boundary/tools)
dna philosophy <slug> # View a philosophy entry
dna philosophy --list # List all philosophies
dna convention <slug> # View a convention
dna convention --list # List all conventions
dna tool ls # List tools in the toolbox
dna tool <name> # View tool GBTD
dna hydrate --all # Expand all {{dna}} directives
dna cron up <id> # Increase cron frequency
dna cron down <id> # Decrease cron frequency
dna protocol --list # List protocol paradigms
dna skill ls # List manual skillsAny unrecognized subcommand automatically falls through to dna tool <name>, so registered toolbox entries work as top-level commands (e.g. dna agentbase β dna tool agentbase).
# One-shot: build β install β restart gateway
make dev
# Just build (no install)
make build
# Build + install (no restart)
make install
# Clean build artifacts
make cleanThis is a monorepo that publishes two npm packages from a single repository:
| Package | Description |
|---|---|
agentic-dna |
The standalone dna CLI tool |
openclaw-dna |
The OpenClaw plugin (source: openclaw/index.ts) |
agentic-dna/
βββ bin/
β βββ dna # CLI entry β routes all `dna` subcommands
βββ lib/ # Shared CLI implementation modules
β βββ expand.ts # {{dna}} directive expansion
βββ openclaw/ # OpenClaw plugin β published as `openclaw-dna` npm package
β βββ index.ts # Plugin entry: policy injection + directive expansion
β βββ dist/ # Build output (run `cd openclaw && pnpm build`)
β βββ skills/ # Bundled AgentSkills
β βββ package.json # openclaw-dna package manifest
β βββ openclaw.plugin.json # OpenClaw plugin descriptor
βββ scripts/ # Utility/build scripts
βββ test/ # Tests
Note for OpenClaw users: The
openclaw-dnaplugin source lives here atopenclaw/index.ts. There is no separateopenclaw-dnarepository β both packages are developed and released from this repo.
agentic-dna/
βββ bin/ # CLI entrypoint
β βββ dna # Router script
βββ scripts/ # CLI tools (TypeScript)
βββ lib/ # Shared modules
β βββ expand.ts # {{dna}} directive expansion
βββ openclaw/ # OpenClaw plugin (npm: openclaw-dna)
βββ package.json
βββ openclaw.plugin.json
βββ index.ts # Plugin entry β policy injection + directive expansion
βββ skills/ # Bundled AgentSkills