How atlanai/ai-registry works
ai-registry is an open-format agent registry specification and aireg is its CLI client. The main user workflow is to add a registry, install selected artifacts, record exact versions, and link them into coding-agent directories; users can also publish and synchronize artifacts. The CLI includes terminal and browser interfaces, plus a daemon for job and run management. The README establishes the product workflow, while sampled excerpts show parts of the installer and browser UI wiring; unsampled implementation links are omitted or marked unverified.
Main entry points: main.ts aireg CLI · pipeline.ts Install planning · server.ts Browser UI server · rpc.ts Browser RPC client
Components 22
CLI experience
- aireg CLI
cli/src/main.ts - Command workflows
cli/src/cli/commands - Terminal console
cli/src/cli/console/ui/app.ts
Registry access
- Registry adapters
cli/src/adapters - Registry format
cli/src/core/manifest/parse.ts
Artifact lifecycle
- Install planning
cli/src/engine/install/pipeline.ts - Agent targets
cli/src/targets - Lock manifest
cli/src/core/manifest/repository.ts - Publish workflow
cli/src/engine/publish - Sync workflow
cli/src/engine/sync
Background runtime
- Daemon runtime
cli/src/daemon/runtime.ts - Daemon RPC
cli/src/daemon/rpc/server.ts - Job scheduler
cli/src/daemon/runs/scheduler.ts
Browser interface
- Browser UI server
cli/src/cli/ui/server.ts - UI operations
cli/src/cli/ui/operations.ts - UI RPC contract
cli/src/cli/ui/protocol.ts - Browser app
cli/ui/src/app.tsx - Browser RPC client
cli/ui/src/lib/rpc.ts - Browser state
cli/ui/src/lib/state.ts
Other components
- CLI user
- Registry files
- Agent directories
Connections 16
- CLI user → aireg CLI: runs commands
README.md - aireg CLI → Registry adapters: reads registries
README.md - Registry files → Registry adapters: serves files
README.md - aireg CLI → Install planning: installs artifacts
README.md - Install planning → Lock manifest: records versions
README.md - Install planning → Agent directories: links artifacts
README.md - aireg CLI → Publish workflow: publishes artifacts
README.md - aireg CLI → Sync workflow: syncs agents
README.md - aireg CLI → Terminal console: opens console
- Browser UI server → UI operations: dispatches actions
cli/src/cli/ui/server.ts - Browser app → Browser RPC client: requests operations
cli/ui/src/app.tsx - Browser state → Browser RPC client: fetches state
cli/ui/src/lib/state.ts - Browser RPC client → Browser UI server: posts RPC
cli/ui/src/lib/rpc.ts - Browser UI server → UI RPC contract: implements contract
cli/src/cli/ui/protocol.ts - Daemon runtime → Daemon RPC: serves RPC
- Daemon runtime → Job scheduler: schedules jobs