Skip to main content

Helm

AI agent orchestration and token-optimisation system.

A routing layer dispatches tasks to the most efficient capable worker — local Ollama, MCP expert, Playwright, or Claude Orchestrator — based on confidence scoring. A SENTINEL knowledge file accumulates lessons per-pod so routing improves over time. At the org level, a CEO orchestrator aggregates across pods into exec summaries and a risk register.


Stack

  • Python 3.11+ — core orchestration package (helm/)
  • Pydantic v2 — all schema validation
  • TypeScript — MCP bridge (Sprint 3B)
  • HTML — report output (Sprint 3B)

Project Structure

helm/                   # Python package
tests/
  fixtures/             # Canonical test fixtures — never modified during test runs
  mocks/
    claude_responses/   # Mock Claude API responses for unit tests
    ollama_responses/   # Mock Ollama responses for unit tests
docs/
  tasks/
    worker.md           # helm-builder task queue
    mcp.md              # mcp-builder task queue
  messages/             # Async inter-agent comms
  tracking/
    sprint.md           # Sprint board (source of truth)
  decisions/            # Architecture decision records
  lessons-learned.md    # Known failure patterns — read before every task
  guidelines/
    workflow.md         # Task sizing and completion protocol
CLAUDE.md               # Project rules — read every session via /go
AGENT_SYSTEM.md         # Operating manual for multi-agent coordination

Development Setup

Requires Python 3.11+. The codebase uses datetime.UTC and other 3.11 stdlib additions throughout. Running on an older Python will fail at import time.

Mac (first time)

brew install python@3.11          # install if not present
python3.11 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pip install fastapi "uvicorn[standard]" httpx
pytest --co -q                    # verify test discovery

Windows / home PC

# Install Python 3.11+ from python.org or winget install Python.Python.3.11
python -m venv .venv
.venv\Scripts\activate
pip install -e ".[dev]"
pip install fastapi "uvicorn[standard]" httpx
pytest --co -q

Cross-machine notes

  • .python-version (repo root) is set to 3.11 — pyenv and most tooling will respect it.
  • pyproject.toml enforces requires-python = ">=3.11" — pip install will fail loudly on older Pythons rather than silently producing broken installs.
  • The .[dev] extras install pytest, pytest-timeout, and pytest-cov. FastAPI, uvicorn, and httpx are runtime/test dependencies for the web layer but not yet in [dev] extras (pending S25 dep review).

Run the test suite

pytest                             # all tests
pytest -m sprint25_gate -v        # current sprint gate only
pytest --co -q                    # discovery check (no execution)

Sprint Plan

Sprint Focus Gate
1 Foundation: schemas, briefing, routing, SENTINEL 37 tests green
2 Integration: Ollama worker, circuit breaker, pool queue, quota monitor GP-001/002/003 pass
3A Optimisation: real confidence scoring, shadow testing Shadow tester live
3B Report generator + MCP bridge HTML output from real data
4 Hardening: security audit, 100-task baseline ≥74% token savings
5 Org layer: CEO orchestrator, Org-SENTINEL GP-004 passes
6 Org hardening + optional live viewer 200-task baseline ≥74%

See docs/tracking/sprint.md for current status.


Contributing

Read CLAUDE.md and AGENT_SYSTEM.md before contributing. Branch from develop. PR to develop. Managing Director reviews all merges.

Metadata

Release files for helm-ai 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for helm-ai 0.2.5
File Interpreter ABI Platform
helm_ai-0.2.5-py3-none-any.whl Python 3 none any Details

Release files / helm_ai-0.2.5-py3-none-any.whl

Download URL helm_ai-0.2.5-py3-none-any.whl
Size 311.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c7f6d19097b8c2e6ac8f4eaae2a957c3f52ee53c4a5644026689eeaec17971b
BLAKE2b-256 checksum
How to use checksums
7e655cfda1969ad7c89210f90633a643bbe66d97c41b986090b03d3d35fd4043
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

0.2.5 This release

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page