Open-source agentic AI framework with multi-provider support, workflow orchestration, and extensible tool system
pip install victor-ai==0.28.1 Copy PIP instructions
A contract-first agentic AI framework for building reliable agents across local and cloud models.
Victor gives you a typed Python framework, a service-first agent runtime, and a contract-first plugin ecosystem for building agents that can reason, call tools, run workflows, coordinate teams, and operate against project-local code intelligence.
It is designed for teams that need agent systems to be testable, extensible, observable, and portable across Anthropic, OpenAI-compatible providers, Gemini, Bedrock, local models, and air-gapped environments.
Victor supports ProximaDB as an optional backend for durable code memory. Index any repository with the shared victor-codegraph chunker and get semantic recall ("where do we validate JWTs?") plus call-graph queries ("who calls parse_jwt?") that persist across sessions:
Quickstart: Durable Code Memory with ProximaDB — setup, indexing, semantic recall and graph queries.
Victor's embedded ProximaDB backends for project code intelligence are experimental, flag-gated previews — SQLite/LanceDB remain the defaults. The correlated graph+vector code-context backend (one entity = row + graph node + vector, TD-11/12/13) has implemented opt-in correlation and routing; benchmark, service-mode and default-graduation work remains — see the roadmap and ProximaDB as the CCG Backend.
import asyncio from victor.framework import Agent, EventType, ToolSet async def main(): async with await Agent.create( provider="anthropic", tools=ToolSet.default(), ) as agent: result = await agent.run("Explain the architecture of this codebase") print(result.content) async for event in agent.stream("Review the changed files"): if event.type == EventType.CONTENT: print(event.content, end="", flush=True) asyncio.run(main()) StateGraph Workflows import asyncio from typing import TypedDict from victor.framework import END, StateGraph class ReviewState(TypedDict): query: str findings: list[str] async def inspect(state: ReviewState) -> ReviewState: return {**state, "findings": ["example finding"]} graph = StateGraph(ReviewState) graph.add_node("inspect", inspect) graph.add_edge("inspect", END) graph.set_entry_point("inspect") result = asyncio.run( graph.compile().invoke({"query": "review this module", "findings": []}) ) print(result.state["findings"]) Architecture Each box below owns a different concern. Items inside one box are complementary entry points or services, not competing implementations.
--- 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
application/session API"] AG["Agent · AgentFactory
agent lifecycle"] WF["WorkflowEngine · StateGraph
workflow authoring"] end subgraph R["Runtime · internal implementation"] OR["AgentOrchestrator
composition facade"] SV["Chat · tool · session services
owned behavior"] WR["Workflow runtime
compiler · executor · CompiledGraph"] end subgraph I["Infrastructure"] IN["providers · tools · storage · core"] end V["External vertical definitions"] S["victor_contracts
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 The canonical architecture guide explains the boundaries and execution paths. Workflow execution and streaming share CompiledGraph; the former BFS walker has been removed. The unified streaming chat loop is implemented. ChatService now owns the turn frame and the streaming cluster consumes typed planning and execution-control capabilities. Broader runtime-state inversion, expanded interrupt/resume semantics and RL relocation remain proposal targets.
Read the published documentation for navigation and searchable API references.
External and first-party domain packages should use victor-contracts and public framework extension contracts. The root framework stays generic; domain-specific behavior belongs in plugins and vertical packages.
Victor separates global and project state, with a dedicated database for undo history:
Project code intelligence is derived, rebuildable state. Graph indexes, vector indexes, file watcher state, and .victor/ runtime artifacts should not become source-of-truth release artifacts.
Follow Development Setup for the environment, optional extras, native extension build, and documentation preview. The PR workflow defines verification and branch conventions. Use dependency maintenance to choose deployment extras, refresh resolved requirements, and build the core, MCP, native or full container target.
Start with CONTRIBUTING.md and the architecture overview; see the development docs for setup, code style, and the PR workflow. Keep changes scoped, prefer public framework/SDK contracts over internal imports, and update docs/tests when public behavior changes.
Both files in this release have provenance metadata.
docker embeddings proximadb langchain gateway examples web chat-ui tui ml dev ci docs sphinx-docs build api checkpoints google lang-core lang-c lang-csharp lang-ruby lang-php lang-swift lang-scala lang-kotlin lang-bash lang-lua lang-elixir lang-haskell lang-sql lang-html lang-css lang-json lang-yaml lang-toml lang-markdown lang-xml lang-web lang-config lang-jvm lang-systems lang-apple lang-dotnet lang-scripting lang-functional lang-all apple-silicon native graph coding research devops invest verticals all
ai llm coding-agent victor anthropic openai ollama claude gpt cli terminal
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Jul 17, 2026 2 release files Change of provenance
Dec 27, 2025 2 release files Change of provenance




