Skip to content

Installation

The runtime is a Python package, the dashboard is a Vite-built React 19 app, and providers are optional extras. This page covers each layer in turn so you can install only the pieces you actually need.

Python runtime

The runtime targets Python 3.11+ and is a uv-style monorepo with three installable packages: agentic-workflows-v2, agentic-v2-eval, and agentic-tools. The runtime depends on the tools package; the eval harness is self-contained.

git clone https://github.com/tafreeman/agentic-runtimes.git
cd agentic-runtimes

Editable install with development extras

cd agentic-workflows-v2
python -m venv .venv
# Linux/macOS:
source .venv/bin/activate
# Windows PowerShell:
.\.venv\Scripts\Activate.ps1

pip install -e ".[dev,server,langchain]"

The extras break down as follows:

Extra Pulls in When you want it
dev pytest, pytest-asyncio, ruff, mypy, pre-commit Always — required to run the test suite
server fastapi, uvicorn, httpx, aiohttp If you plan to expose the REST/WebSocket API
langchain langgraph, langchain-core Only if you want to compare the LangGraph engine alongside the native DAG
tracing opentelemetry-* If you want OTEL traces for every step and tool call
claude anthropic SDK If Anthropic is one of your providers
rag numpy, rank-bm25, embedding deps If you plan to use the RAG pipeline (loaders, chunker, vectorstore)

Verify the install

agentic --help
agentic list workflows
python -m pytest tests/ -q

The full test suite runs in roughly 90 seconds on a modern laptop with AGENTIC_NO_LLM=1 set.

Windows one-command bring-up

A PowerShell script is provided to install dependencies, validate every workflow, and run a smoke test in one go:

cd agentic-workflows-v2
.\scripts\setup-dev.ps1

Use -SkipFrontend to skip the UI build and -SkipSmokeTest to skip workflow validation when you only want a fast dependency install.

React dashboard

The dashboard is optional. The runtime is fully usable from the CLI and the REST API; the UI exists for live visualization, run history browsing, and rubric inspection.

cd agentic-workflows-v2/ui
npm install
npm run dev          # Vite dev server on http://localhost:5173
npm run build        # production build with TypeScript check
npm run test         # Vitest + React Testing Library

The dev server proxies API requests to the FastAPI server on port 8010, so start the backend in a second terminal:

cd agentic-workflows-v2
python -m uvicorn agentic_v2.server.app:app --host 127.0.0.1 --port 8010

If port 8010 or 5173 is taken, override with --port on the backend and npm run dev -- --port 5174 on the frontend.

Providers

The runtime supports eight production providers and one offline placeholder backend. Configuration is a single environment variable per provider — no provider plugin to install separately, no SDK to pin.

Provider matrix

Provider Variable Notes
None (placeholder) AGENTIC_NO_LLM=1 Default for development and CI; fully deterministic
OpenAI OPENAI_API_KEY Standard OpenAI cloud
Anthropic ANTHROPIC_API_KEY Requires the claude extra
Google Gemini GEMINI_API_KEY Native client, no LangChain wrapper
Azure OpenAI AZURE_OPENAI_API_KEY_0 + AZURE_OPENAI_ENDPOINT_0 Supports _0 through _n for round-robin failover
Azure Foundry AZURE_FOUNDRY_API_KEY + AZURE_FOUNDRY_ENDPOINT Inference SDK path
GitHub Models GITHUB_TOKEN Free-tier evaluation; the canonical default for E2E LLM tests in CI (ADR-016)
Ollama OLLAMA_BASE_URL (defaults to http://localhost:11434) Local models, no key required
Local ONNX LOCAL_MODEL_PATH Auto-detected from ~/.cache/aigallery if unset

A complete .env.example ships at the repo root. Copy it to .env and fill in only the providers you need — the model router skips providers without credentials at startup.

Verify providers

agentic models probe       # quick latency probe across configured providers
agentic models list        # show every model the router has discovered

Evaluation harness

The eval harness is its own installable package. Most users do not install it directly because the runtime invokes it programmatically, but it can be exercised standalone:

cd agentic-v2-eval
pip install -e ".[dev]"
python -m agentic_v2_eval evaluate path/to/results.json
python -m agentic_v2_eval report path/to/results.json --format html

Pre-commit hooks

The repo enforces formatting, linting, type checking, and secret detection on every commit. From the repo root:

pre-commit install
pre-commit run --all-files

The chain is blackisortruffdocformattermypypydocstyledetect-secrets. CI re-runs the same chain — if your local hook passes, the PR will too.

What's next

  • New to the project? Quick Start walks the first run end-to-end.
  • Want to write your own workflow? First Workflow builds a two-step DAG from scratch.
  • Wiring a longer-lived environment? Architecture Overview explains how the runtime, evaluation harness, and UI interact.