How argos-ci/argos works
Argos is a visual testing platform for teams and AI agents. A typical user-facing journey begins in the web client, reaches backend APIs, and works with projects, builds, media comparisons, and review/comment workflows; stored results can then support notifications and integrations. The backend also exposes GraphQL, OAuth, and MCP capabilities. The tree and README establish these product areas, while the excerpts and source index substantiate only selected wiring; dashed edges mark the main workflow where invocation details were not shown.
Main entry points: handlers API handlers · build.ts Build processing · app.ts HTTP application · server.ts MCP server
Components 23
Web client
- Web application
apps/frontend/src/App.tsx - Client routing
apps/frontend/src/router.tsx
Backend interfaces
- HTTP application
apps/backend/src/web/app.ts - API handlers
apps/backend/src/api/handlers - GraphQL API
apps/backend/src/graphql - OAuth endpoints
apps/backend/src/oauth/router.ts - OAuth consent
apps/backend/src/graphql/definitions/OAuthClient.ts - MCP endpoint
apps/backend/src/mcp/router.ts - MCP server
apps/backend/src/mcp/server.ts - Tool dispatch
apps/backend/src/mcp/dispatch.ts - Agent tools
apps/backend/src/mcp/tools.ts
Visual testing
- Build processing
apps/backend/src/database/services/build.ts - Visual media
apps/backend/src/media
Collaboration
- Comments and reviews
apps/backend/src/comment - Automation actions
apps/backend/src/automation - Notifications
apps/backend/src/build-notification
Platform services
- Git providers
apps/backend/src/git-platform - Domain models
apps/backend/src/database/models/User.ts - Model persistence
apps/backend/src/database/util/model.ts - Relational database
apps/backend/src/database/knex.ts - OAuth token services
apps/backend/src/oauth/tokens.ts
Other components
- Team member
- AI agent
Connections 23
- Team member → Web application: uses
- AI agent → MCP endpoint: connects
- Web application → Client routing: renders routes
apps/frontend/src/App.tsx - Client routing → HTTP application: requests data
- HTTP application → API handlers: installs API
apps/backend/src/web/app.ts - HTTP application → MCP endpoint: mounts endpoint
apps/backend/src/web/app.ts - API handlers → Build processing: handles builds
- API handlers → Visual media: serves media
- API handlers → Comments and reviews: handles comments
- Build processing → Visual media: compares visuals
- Build processing → Git providers: uses providers
- Build processing → Notifications: notifies results
- Comments and reviews → Automation actions: triggers actions
- MCP endpoint → MCP server: serves requests
- MCP server → Tool dispatch: dispatches tools
apps/backend/src/mcp/server.ts - MCP server → Agent tools: registers tools
apps/backend/src/mcp/server.ts - Tool dispatch → Agent tools: uses definitions
apps/backend/src/mcp/dispatch.ts - OAuth endpoints → OAuth token services: issues tokens
apps/backend/src/oauth/router.ts - OAuth consent → Domain models: saves grants
apps/backend/src/graphql/definitions/OAuthClient.ts - Domain models → Model persistence: extends model
apps/backend/src/database/models/User.ts - Model persistence → Relational database: initializes ORM
apps/backend/src/database/util/model.ts - OAuth consent → OAuth token services: creates code
- GraphQL API → Domain models: loads domain data