# Repository Briefing: overmind-core/overmind
> Source: https://repoforai.com/repo/overmind-core/overmind (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/overmind-core/overmind
- **Official Docs / Website**: https://overmindlab.ai
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: AGPL-3.0
- **Engineering Health**: A (82/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 11/20)
- **Latest Release**: v0.1.40 (2026-12-01) — https://github.com/overmind-core/overmind/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Docker, Self-Hosted, CLI, MCP, API
- **Momentum**: 804 ★ total (+0 24h / +14 7d) · 83 forks
- **Topics**: `ai-agents`, `evals`, `fine-tuning`, `llm`, `llm-evaluation`, `llmops`, `lora`, `mcp`, `observability`, `python`
- **When to Use**: Best for: Teams running production agents with repeatable tasks, enough representative traces, and clear evaluation criteria, who want to compare interventions and ship fine-tuned models with portable weights. Skip if: You only need trace inspection, lack a reliable way to score outputs, or require fully offline training and serving without the documented cloud dependencies.

## Overview
```text
### Architecture & Core Mechanics
Overmind separates the agent-side Python SDK and CLI in `overmind/` from the Django 6 and Django REST Framework backend under `overbae/`, with a web console in `frontend/`. The Compose stack pairs PostgreSQL with Celery workers and Celery Beat; Redis backs both the broker and task results. A separate Workshop sandbox is configured through `SANDBOX_URL` and `SANDBOX_TOKEN`.

The CLI maps an agent repository into capabilities, prompts, tools, and tasks. OpenTelemetry traces are matched to capabilities, scored, and turned into versioned datasets for evaluation or training. The REST API and MCP endpoint at `/api/mcp/` expose project workflows to clients. Project keys are scoped to one project; account keys and OAuth connections can reach authorized active projects, with membership checked on each operation. MCP tool declarations expose cost categories and whether an action is destructive.

### Key Capabilities & Differentiators
The Python SDK can auto-instrument supported LLM SDKs with `providers="auto"`; an existing OpenTelemetry exporter can instead send spans to `/api/v1/traces`. Production traces and uploaded files both feed versioned evaluation and training datasets. Teams define what to score for each capability, evaluate live traces or run batches, and compare other models on recorded calls. `/overmind improve` provides a workflow for measuring prompt or code changes against those evaluations.

Fine-tuned models can be benchmarked against production workloads, with downloadable weights for retraining or rollback. Trained and frontier models share an OpenAI-compatible inference API. OpenRouter is used for judges, evaluations, and trace scoring; its frontier chat proxy requires `OPENROUTER_PROXY_ENABLED=1`. Gated Hugging Face base models require `HF_TOKEN`. Document ingestion includes local English OCR for scanned PDFs, embedded images, and direct PNG, JPEG, or WebP uploads. Direct images are capped at 100 MB and 64 megapixels; animations are unsupported.

### Trade-offs & Limitations
Compared with using Langfuse or LangSmith just for observability, Overmind adds a route from scored production traces to versioned training data, downloadable weights, and served inference. Its connectors let teams retain existing trace collection. The extra stack pays off when failures recur, teams can define useful evaluation criteria, and there is enough representative data to justify fine-tuning. If trace inspection and prompt iteration are sufficient, PostgreSQL, Redis, workers, sandboxing, and external credentials add overhead without much benefit.

Self-hosting the platform is not the same as running air-gapped. The documented setup uses OpenRouter for judging, Modal for training and serving, and AWS for checkpoint archiving. Verify what data goes to each service, where it lands, and what it costs before onboarding sensitive workloads. The SDK and CLI are MIT, but the platform is AGPL-3.0. Teams modifying the network-served platform should review corresponding-source obligations or evaluate the paid commercial license.

### Hardware & Deployment Guide
Hosted onboarding starts in the console, with repository setup through the CLI or a separate uploaded-dataset path. For self-hosting, copy `.env.example` to `.env`, configure credentials, and run `docker compose up -d`. The development stack starts PostgreSQL, Redis, Celery workers and Beat, the Workshop sandbox, the API on port 8000, the console on 5173, and Grafana on 3001. The API runs migrations on first boot and exposes Swagger at `/api/docs/`. Disable `DJANGO_DEBUG` and replace the placeholder secrets before exposing the stack.

The API refuses to start without its required settings. Plan for OpenRouter, Modal training and serving credentials, the inference endpoint and its shared secret, an AWS checkpoint bucket, `HF_TOKEN`, and the sandbox endpoint and token. Size the local stack for trace retention, dataset storage, and concurrent jobs; size GPU capacity on Modal for the chosen models and workloads. Release v0.1.38 moved checkpoint archiving to Ireland, v0.1.39 moved assistant workspaces to Modal and removed Daytona, and v0.1.40 added operator failure reports with IDs to New Relic.
```

## Key Capabilities
```text
- Capability mapping: `overmind init` and `overmind sync` map capabilities, prompts, tools, and tasks from the agent repository.
- Trace ingestion: OpenTelemetry via `POST /api/v1/traces`, plus connectors for Langfuse, LangSmith, Braintrust, and Galileo.
- Evaluation: Score live and batch runs per capability, and compare models on recorded calls.
- Model portability: Download fine-tuned weights for retraining or rollback; use one OpenAI-compatible inference API for trained and frontier models.
- MCP access: `/api/mcp/` supports project-scoped keys and account-level access subject to project membership checks; tools declare cost categories and destructive actions.
- Document ingestion: Local English OCR via Tesseract; direct PNG, JPEG, and WebP uploads are capped at 100 MB and 64 megapixels, with no animated images.
```

## Quick Start / Clone
```bash
git clone https://github.com/overmind-core/overmind.git && cd overmind
cp .env.example .env    # set the required keys below
docker compose up -d    # Postgres, Redis, API on :8000, Console on :5173, Celery workers, beat, Workshop sandbox, Grafana on :3001
```
