MCPcopy Index your code
hub / github.com/compozy/agh

github.com/compozy/agh @v0.0.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.9 ↗ · + Follow
41,331 symbols 172,601 edges 3,464 files 6,548 documented · 16% updated todayv0.0.9 · 2026-07-04★ 1761 open issues

Browse by type

Functions 34,270 Types & classes 7,061
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AGH

AGH

An open workplace for AI agents.

<a href="https://github.com/compozy/agh/actions/workflows/ci.yml">
  <img src="https://github.com/compozy/agh/actions/workflows/ci.yml/badge.svg" alt="CI">
</a>
<a href="https://github.com/compozy/agh/releases">
  <img src="https://img.shields.io/github/v/release/compozy/agh?include_prereleases" alt="Release">
</a>
<a href="https://goreportcard.com/report/github.com/compozy/agh">
  <img src="https://goreportcard.com/badge/github.com/compozy/agh" alt="Go Report Card">
</a>
<a href="https://github.com/compozy/agh/raw/v0.0.9/LICENSE">
  <img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT">
</a>

AGH is a local-first agent operating system. It runs the agent CLIs you already use — Claude Code, OpenClaw, Hermes, and others — as durable, inspectable sessions managed by a single background daemon, and connects them on the open agh-network/v0 so sessions can discover peers, share capabilities, and close work with receipts.

The complete documentation lives at agh.network.

AGH

Highlights

  • AGH Network. Active sessions become peers — they discover each other, exchange typed envelopes on agh-network/v0 channels, and close work with receipts.
  • Local-first durable runtime. One Go binary and a background daemon keep sessions, events, and state in local SQLite — durable, resumable, and inspectable long after the terminal closes.
  • Agent-manageable surfaces. The same runtime state is exposed through CLI, HTTP/SSE, UDS, and a web UI, so agents operate AGH through structured controls instead of UI-only paths.
  • Autonomy kernel. Task runs, claim tokens, leases, and safe spawn keep multi-agent work observable and bounded.
  • Extensible runtime. Native Go tools, MCP, extensions, hooks, skills, and bridges plug into one daemon-owned tool registry.

Install

curl -fsSL https://agh.network/install.sh | sh

Homebrew:

brew install compozy/compozy/agh

npm:

npm install -g @compozy/agh

Go:

go install github.com/compozy/agh@latest

The full Installation guide covers the verified binary installer, Linux packages, and source builds.

Quick start

agh install
agh daemon start
agh workspace add "$PWD" --name current
agh session new --workspace current --agent general

See the Quick Start for the full walkthrough.

Documentation

Development

AGH is a Go and Bun monorepo. Install the toolchains declared by the repo and run the full verification gate before sending changes:

make verify

Contributing

Contributions are welcome. Open an issue or pull request, and run make verify before sending changes.

Contributors

Thanks to everyone who has contributed to AGH.

Contributors

License

AGH is released under the MIT License.

Star history

Star History Chart

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 21,984
Method 12,286
Struct 4,243
Interface 2,184
TypeAlias 286
FuncType 208
Class 140

Languages

Go84%
TypeScript16%

Modules by API surface

internal/cli/client.go632 symbols
internal/daemon/daemon_test.go481 symbols
sdk/typescript/src/generated/contracts.ts434 symbols
internal/daemon/native_tools.go299 symbols
internal/cli/helpers_test.go270 symbols
internal/daemon/hooks_bridge.go215 symbols
internal/task/manager_test.go213 symbols
internal/task/manager.go212 symbols
internal/api/core/interfaces.go198 symbols
internal/api/core/conversions.go196 symbols
internal/extension/host_api.go193 symbols
internal/daemon/native_tools_test.go192 symbols

For agents

$ claude mcp add agh \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page