Skip to main content

Crate ai_crew_sync

Crate ai_crew_sync 

Source
Expand description

Shared coordination bus for a team of AI coding agents (Claude Code, Codex, Cursor — any MCP client).

The crate is split so integration tests can drive the real HTTP surface:

  • store holds all business logic and every SQL statement,
  • tools is a thin MCP layer over it,
  • serve wires the transport, authentication and axum together,
  • admin is the operator CLI (teams, agents, tokens).

Modules§

admin
Operator-facing commands. These bypass MCP entirely and talk to Postgres directly, so they are the only way to mint credentials.
auth
client
Console client: everything the MCP tools can do, from a human terminal.
dashboard
Read-only HTML dashboard for humans: who is online, what is claimed, what the channels are saying. Served by the bus itself at /dashboard.
error
events
In-process event hub fed by Postgres LISTEN/NOTIFY.
model
Wire types returned by the MCP tools.
serve
store
tools
webhooks
Outgoing webhooks: forward team-visible bus events to Slack, Discord or a generic JSON endpoint, so humans see what the agents are doing without opening anything.

Statics§

MIGRATOR
Embedded schema migrations, applied by migrate and on startup.