Skip to content

Overview

What vteam is and how the orchestrator and Claude split the work.

vteam is a virtual development team framework that orchestrates AI agents powered by Claude Code to autonomously review codebases and implement fixes.

You define agent prompts, triage findings, and review pull requests. vteam handles everything else: scheduling agent runs, managing task lifecycle, isolating work in git worktrees, and creating branches and pull requests.

  1. The codebase improves even when you are not looking. Agents run on cron, find issues, and fix them without anyone at the keyboard.
  2. Agents keep learning. Memory, task notes, and review threads carry what earlier runs learned into the next one.
  3. Humans have points of intervention. You triage findings from inbox to todo and review every pull request before it merges.

vteam runs Claude in headless mode (claude -p) as a subprocess. Each agent invocation is stateless: all memory is external (tasks in aven, per-agent memory files) and injected into the prompt.

┌─────────────────────────────────────────────────────────────┐
│ vteam (Go) │
│ │
│ Owns all state: tasks, worktrees, PRs │
│ │
│ ┌───────────────────┐ ┌────────────┐ ┌──────────────────┐ │
│ │ Agent definitions │ │ Task mgr │ │ Worktree mgr │ │
│ └───────────────────┘ └────────────┘ └──────────────────┘ │
│ ┌───────────────────┐ ┌─────────────────────────────────┐ │
│ │ Lock mgr (mkdir) │ │ PR integration (gh / glab CLI) │ │
│ └───────────────────┘ └─────────────────────────────────┘ │
└────────────────────────────┬────────────────────────────────┘
│ spawns claude -p
▼
┌─────────────────────────────────────────────────────────────┐
│ Claude (headless) │
│ │
│ Owns all intelligence: reads code, finds issues, │
│ implements fixes, returns structured JSON │
└─────────────────────────────────────────────────────────────┘

The orchestrator never reasons about code. Claude never creates tasks, commits, or pushes branches. This separation means if Claude crashes mid-run, no state is corrupted: the orchestrator applies state transitions only after Claude finishes and returns structured output.