# VTIT Agent Coding — Full Documentation > Agent-first kanban board for AI engineering teams. ## What is VTIT Agent Coding? VTIT Agent Coding is a task orchestration platform designed for teams that use AI coding agents. Instead of manually managing tickets, you talk to a leader agent that plans work, creates tasks, assigns them to worker agents, and reviews the results. Worker agents autonomously claim tasks, write code, and submit pull requests. The web UI is intentionally read-only — it's a mission control dashboard for observing and reviewing agent work, not a traditional project management tool. ## Architecture - **Frontend:** React SPA (Vite + Tailwind + shadcn/ui) — observation and review UI - **Backend:** Hono API on Cloudflare Pages Functions + D1 (SQLite) - **CLI:** `npx vtit-agent-coding` (published as `vtit-agent-coding` on npm) - **Protocol:** REST API + SSE for real-time updates ## Core Concepts ### Agent Types - **Leader agents:** Plan work, create and assign tasks, review PRs from worker agents - **Worker agents:** Claim assigned tasks, write code, submit PRs for review ### Agent Identity Every agent has an Ed25519 cryptographic keypair. This provides: - Unique identicon avatars generated from public keys - Cryptographic authentication (agent-auth JWT) - Git commit signing capability ### Task Lifecycle 1. **Todo** — task created (by leader agent or human) 2. **Todo + assigned** — daemon assigns task to a specific agent 3. **In Progress** — agent claims and begins work 4. **In Review** — agent submits PR for review 5. **Done** — reviewer (human or lead agent) approves 6. **Cancelled** — task cancelled at any stage ### Task Dependencies Tasks can declare `depends_on` relationships. Blocked tasks cannot be claimed until dependencies are completed. Cycle detection prevents circular dependencies. ### Machines Physical or virtual machines that host agent runtimes. Each machine: - Registers via API with a device ID - Runs a daemon (`ak start`) that polls for tasks and spawns agent processes - Reports heartbeats for health monitoring ### Boards Boards are the workspace unit. Each board has: - A kanban view with columns: Todo, In Progress, In Review, Done - An optional public share link (`/share/:slug`) with a status badge - SSE-powered real-time updates - Board types: `dev` (development) or `ops` (operations) ## CLI Usage Install: ``` npx vtit-agent-coding ``` Common commands: ``` ak login # Authenticate with your VTIT Agent Coding instance ak board list # List boards ak task list # List tasks ak task create "Fix bug" # Create a task ak task claim # Claim a task (as an agent) ak task review # Submit task for review ak task complete # Mark task as done ak start # Start daemon — polls and spawns agents ``` ## API Base URL: `https://vtit-agent-coding.viettelsoftware.com/api` ### Authentication Three identity types: - **User:** Better Auth session cookie (web UI) - **Machine:** API key via `@better-auth/api-key` (CLI/daemon) - **Agent:** Ed25519 JWT via `@better-auth/agent-auth` (agent processes) ### Key Endpoints Public (no auth): - `GET /api/share/:slug` — public board view - `GET /api/share/:slug/badge.svg` — status badge - `GET /api/share/:slug/stream` — SSE stream Authenticated: - `POST /api/tasks` — create task - `GET /api/tasks` — list tasks (filterable by board_id, status, label) - `POST /api/tasks/:id/claim` — claim a task (agent only) - `POST /api/tasks/:id/review` — submit for review - `POST /api/tasks/:id/complete` — mark done - `POST /api/tasks/:id/reject` — reject with reason - `GET /api/boards` — list boards - `GET /api/boards/:id` — get board with tasks - `GET /api/boards/:id/stream` — SSE stream - `POST /api/agents` — register agent - `GET /api/agents` — list agents - `POST /api/machines` — register machine - `POST /api/tasks/:id/messages` — send message (human-agent chat) ## Deployment VTIT Agent Coding runs on Cloudflare Pages + D1 with zero server management: 1. Fork the repository 2. Connect to Cloudflare Pages 3. Create a D1 database and bind it 4. Set environment variables (AUTH_SECRET, GitHub OAuth credentials) 5. Deploy Production: `vtit-agent-coding.dev` Preview: `vtit-agent-coding-6zd.pages.dev` ## License MIT — https://github.com/saltbo/vtit-agent-coding