How iqbal2790/agent-colab works
Agent Colab is a private-first context and collaboration hub for AI agents, exposed through a web dashboard, CLI, and MCP. The principal workflow is an agent connecting to MCP, accessing shared context and collaboration records, and optionally operating in a permissioned project workspace; operators also manage the vault and integrations through the dashboard or CLI. The graph follows documented capabilities and sampled call sites. Some domain behavior is documented but its implementation was not sampled, so those links are omitted rather than inferred.
Main entry points: vault.ts Context Vault · index.ts CLI · app.ts REST API · mcp.ts MCP Tools
Components 18
Entry Points
- Web Dashboard
apps/web/src/App.tsx - Dashboard API Client
apps/web/src/api.ts - HTTP Server
packages/server/src/server.ts - REST API
packages/server/src/app.ts - CLI
packages/cli/src/index.ts
Shared Context
- Context Vault
packages/core/src/vault.ts - Search and Audit Index
packages/core/src/index-db.ts - Context Pack Export
packages/core/src/context-pack.ts - Skills Sync
packages/core/src/skill-sync.ts - Credential Vault
packages/core/src/credentials.ts
Workspace Security
- Secret Redaction
packages/core/src/redact.ts - Workspace Coding
packages/core/src/workspace.ts
Agent Integrations
- MCP Tools
packages/server/src/mcp.ts - MCP Stdio
packages/server/src/mcp-stdio.ts - Tunnel Manager
packages/tunnel/src/manager.ts
Other components
- Operator
- AI Agents
- Cloudflare Tunnel
Connections 24
- Operator → Web Dashboard: uses
README.md - Web Dashboard → Dashboard API Client: requests
apps/web/src/App.tsx - Operator → CLI: runs commands
README.md - CLI → Context Vault: manages vault
packages/cli/src/index.ts - CLI → Context Pack Export: exports pack
packages/cli/src/index.ts - CLI → Skills Sync: syncs skills
packages/cli/src/index.ts - CLI → MCP Stdio: starts
packages/cli/src/index.ts - HTTP Server → Context Vault: initializes
packages/server/src/server.ts - HTTP Server → Tunnel Manager: creates
packages/server/src/server.ts - HTTP Server → REST API: configures
packages/server/src/server.ts - Dashboard API Client → REST API: calls REST
- REST API → Context Vault: serves vault data
packages/server/src/app.ts - REST API → MCP Tools: routes MCP
packages/server/src/app.ts - AI Agents → MCP Tools: connects
README.md - AI Agents → MCP Stdio: connects
README.md - MCP Tools → Context Vault: reads and writes
packages/server/src/mcp.ts - MCP Tools → Workspace Coding: invokes workspace tools
packages/server/src/mcp.ts - Context Vault → Search and Audit Index: indexes records
packages/core/src/vault.ts - Context Vault → Secret Redaction: redacts records
packages/core/src/vault.ts - Context Vault → Credential Vault: delegates credentials
packages/core/src/vault.ts - Context Pack Export → Context Vault: reads context
packages/core/src/context-pack.ts - Skills Sync → Context Vault: imports and exports
packages/core/src/skill-sync.ts - REST API → Tunnel Manager: controls tunnel
- Tunnel Manager → Cloudflare Tunnel: spawns
packages/tunnel/src/manager.ts