Skip to content

Victor AI Framework — Documentation

Repository map and module owners · Completed and superseded work

Start here

Victor is a contract-first agent framework for tool use, compiled workflows and
multi-agent coordination across local and cloud providers.

Published baseline: Victor AI 0.12.0 (2026-10-04). Development line: post-release changes.

Version: 0.14.0 | License: Apache-2.0 | Python: 3.12+


Quick Start

pip install victor-ai
export ANTHROPIC_API_KEY=...
victor chat "Explain this codebase"

Architecture at a Glance

---
title: Victor system overview
---
%%{init: {"theme":"base","themeVariables":{"primaryColor":"#E8EFF7","primaryTextColor":"#17324D","primaryBorderColor":"#456987","lineColor":"#456987","fontFamily":"Arial"}}}%%
flowchart TB
  subgraph C["Clients"]
    CS["CLI · TUI · HTTP · MCP · VS Code"]
  end
  subgraph F["Framework · public API"]
    VC["VictorClient<br/>application/session API"]
    AG["Agent · AgentFactory<br/>agent lifecycle"]
    WF["WorkflowEngine · StateGraph<br/>workflow authoring"]
  end
  subgraph R["Runtime · internal"]
    OR["AgentOrchestrator<br/>composition facade"]
    SV["Chat · tool · session services<br/>owned behavior"]
    WR["Workflow runtime<br/>compiler · executor · CompiledGraph"]
  end
  subgraph I["Infrastructure"]
    IN["providers · tools · storage · core"]
  end
  V["External vertical definitions"]
  S["victor_contracts<br/>portable definitions"]
  CS -->|"call"| VC
  CS -->|"create or embed"| AG
  CS -->|"submit workflows"| WF
  VC -->|"delegate"| OR
  AG -->|"construct and delegate"| OR
  WF -->|"compile and execute"| WR
  OR -->|"delegate behavior"| SV
  SV -->|"use"| IN
  WR -->|"use"| IN
  V -->|"import only"| S
  AG -.->|"consume contracts"| S
  WF -.->|"consume contracts"| S

Start here → System Architecture for the full picture.


Delivery State

Surface Published 0.12.0 Remaining work
Tool supply and teams Unified turn pipeline, expanded formations, isolation and usage guards Acceptance gaps remain tracked; release does not certify every live formation.
Chat ownership Service-owned turn frame and partial runtime inversion Retry ownership moves to a lifecycle capability; broader inversion remains open.
API / gateway Classify API, gateway policy, result withholding and Sandhi 0.10.1 accounting General client routing and retained safety gaps remain open.
Installation Node 24 minimum; Python 3.12/3.13 CI; optional NumPy and Linux binaries Later develop changes move Textual into the TUI extra; see the installation guide.

Note

Pages deploys from main. Pull requests build a preview; the current develop
documentation publishes with the next main promotion.


Documentation Map

Core Documents (Start Here)

Document Description
System Architecture Single source of truth — layers, services, providers, tools, state, extensions, diagrams
Features Complete feature catalog grounded in implementation
Roadmap Current release and Stage C priorities, complete debt register
Tech Stack Technology choices and dependency requirements

Architecture Deep-Dives

Document Description
Orchestrator Decomposition Historical extraction record; current ownership links back here
SDK Boundary Plugin/vertical/extension contracts and import rules
State-Passed Architecture Coordinator patterns, ContextSnapshot, CoordinatorResult
Native Acceleration Strategy Measured Python/Rust/FFI decision rules and platform plan
Streaming Runtime Current turn flow, capability ownership and lifecycle guards
Smart Routing Provider routing and selection
Edge Provider Strategy Edge model decisions
InferFlux Reasoning Contract Reasoning stream and usage contract consumed through Sandhi
ADR Index Architecture Decision Records

User Guides

Document Description
CLI Reference All victor CLI commands and flags
Workflows StateGraph and YAML workflow DSL
Providers Provider configuration and switching
Tools Built-in tool modules and usage
Session Management Sessions, context, state scopes
Troubleshooting Common issues and solutions

Developer Guides

Document Description
Development Setup Install, venv, pre-commit, editor config
Testing Strategy Unit/integration/benchmark, autouse fixtures
Code Style Black, ruff, mypy, line length 100
Service Guide Service layer development patterns
Deprecation Policy How deprecations are managed
PR Workflow Branch hygiene, commit conventions, review process
FEP Process Framework Enhancement Proposal workflow
FEP Index Canonical proposals in repository-root feps/
Native Build Canonical native extension recipe
Docs Build Build and preview the documentation site
Plugin Development Creating Victor plugins
Vertical Development Building domain verticals

API Reference

Document Description
Providers API Provider adapter interface
Tools API Tool registration and execution
Workflows API Workflow compiler and executor
Protocols Core protocols and interfaces

Configuration Reference

Document Description
Settings Reference All 26+ config groups
Configuration Options Detailed config options
Environment Variables All env vars
Provider Comparison Feature matrix for 25 providers
CLI Commands CLI command reference
Skills Skill registry and YAML definitions
Embeddings Embedding backends and configuration

Verticals

Document Description
Coding Code review, editing, test generation
DevOps Infrastructure, CI/CD, containers
RAG Retrieval, ingestion, search
Data Analysis Dataframes, statistics, visualization
Research Source research, synthesis
API Reference Vertical API reference

Tutorials

Document Description
Build Custom Tool Step-by-step tool creation
Create Workflow Workflow DSL tutorial
Integrate Provider Provider adapter tutorial

Guides

Document Description
Observability Monitoring and tracing
MCP Server Using Victor as MCP server
Task Completion Task fulfillment detection
Workflows Workflow scheduler guide

Document Governance

Priority Document Role
Canonical docs/architecture.md System architecture (single source of truth)
Canonical docs/features.md Feature catalog
Canonical docs/roadmap.md Roadmap and tech debt
Canonical docs/tech-stack.md Technology stack
Canonical VISION.md Product vision
Reference docs/diagrams/ Editable .mmd sources; canonical diagrams live inline in the master docs

Contributing

See Development Setup and PR Workflow.
Contributions use conventional commits and the checks documented in the PR workflow.

Current work and historical evidence

The roadmap and Stage C reassessment
distinguish published 0.12.0 from subsequent changes and unfinished structural work.
The September co-design review preserves dated findings;
merged design documents do not imply their implementation has shipped. See the
documentation source index for canonical ownership and historical-record conventions.