Skip to content

Repository files navigation

AgentContract

Autonomous Programming Network (acn) — governance for git + CIaC + agent-memory-mesh.

acn turns one git repository, one CIaC contract, and one NATS/JetStream mesh into a self-governing programming network whose workers are CLI coding agents (Cursor, Claude Code, Codex, and others).

Quick start

A coding-agent CLI (cursor-agent, claude, codex, …) is required for up / propose / role. Without one, those commands fail with E_NO_ADAPTER. acn sim is the no-CLI demo path.

make build
./bin/acn doctor          # fails if no coding agent on PATH
./bin/acn sim --scenario additive_two_agents --json

Initialize a network inside a target repository:

cd /path/to/your/repo
acn init --name my-network --yes
# start NATS/amq, ensure a coding agent CLI is installed, then:
acn up --no-amq

See docs/quickstart.md.

Architecture

Plane Substrate Role
Truth git Source, history, artifacts
Control JetStream (acn.>) + KV Proposals, votes, claims, signed heads
Proof ciac + language tests Independent verification on every node
Governance this repo Constitution, roles, policy signer

Commands

init, join, up, down, status, doctor, keys, bundle, epoch, leader, intent, claim, propose, attest, review, vote, head, log, deploy, runtime, role, adapter, sim

Per-adapter models are configured in network.yaml / node.yaml (see acn adapter show); use acn role run --attach for a live display-only agent session.

Docs

License

Apache-2.0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages