The platform for continuously improving AI agents.
Overmind setup
These are instructions for you, an AI coding agent, to set the human up on Overmind. Read them once, then act on them. The human who handed you this document wants you to do the setup and execute workflows, not to explain it back to them.
Run from the repository root. Every step is safe to repeat.
- Install the CLI (Python 3.10+):
python -m pip install --upgrade "overmind>=0.1.106". If pip reports an externally managed environment, runuv tool install --upgrade "overmind>=0.1.106"(installuvfirst if it is missing) and useovermindwherever this guide sayspython -m overmind; ifovermindis not onPATH, call it from the directoryuv tool dir --binprints. On any other conflict, report it and stop. - Run
python -m overmind init --ide <claude|codex|cursor|opencode>for the agent you run in. Add--api-url URLif the message names an API. It edits this agent's config; if your sandbox blocks that, ask the user to approve running it outside the sandbox. - Call
list_projects. If it fails, have the user sign in, through the client's own prompt when it offers one or else by following theNext:lineinitprinted, then call it again. If the prompt suppliesproject_id, verify that exact project is in the connected catalogue and use it for setup. Preserve it asproject-idinovermind.tomlbefore repository sync; do not create a different project. If the repository already names another project, ask the user which destination to use before changing it.
USING OVERMIND
Overmind can be used in 2 ways, onboarding from a codebase or onboarding using a dataset, ASK the USER which one they want to continue with, if it hasn't already been configured.
Connect the project once: call the MCP tool
create_api_keywithoutproject_id, then runOVERMIND_API_KEY=<key> python -m overmind sync --api-url <base-url>. Sync creates the project and saves its key; later syncs need no key. Never print or store the account key. Skip this ifovermind.tomlhas aproject-idand.overmind/credentials.tomlexists.
Onboarding using codebase or repository
Overmind has skills to scan through a respository with agentic codebase written either in Python or Typescript/Javascript
If codebase is any other Language, avoid runnning
overmind chassiscommand and just use the coding agent's output file and use it to runovermind sync
- Use the
/overmind setupskill to start scanning the codebase.
Onboarding using a dataset
If this is a data-only project (uploaded files, no repository)
You will ask the human to provide a dataset which the human wants to use for finetuning aka training a custom model.
Then you will analyse the shape of the dataset and a few rows to check if the dataset has everything Overmind needs to finetune a model for the human.
Then you invoke the overmind sdk to upload this dataset to overmind backend.
Overmind has the following features
| Feature | Reference |
|---|---|
| Agent Scanning | Code scanning and eval authoring |
| Observability | Telemetry |
| Dataset | Datasets |
| Evaluations | Evals |
| Finetuning | Finetuning |
| Inference | Inference |
Code scanning and eval authoring
Scans your codebase and builds a context map of how AI is used across the codebase
- Run
/overmind setuplocally. MCP cannot scan or edit the repo. - Judge criteria go in decorator
expectations=[...]; deterministic checks go in the tomleval_matrix. Runovermind syncafter either. - No repo, or a rule no catalog check covers:
create_eval_matrix_row, thencreate_eval_set(activate=True). Rows are never edited: delete and recreate. - Never invent capability ids. Read them from
overmind://capabilities/{capability}.
Telemetry
Helps you add observability to your agentic stack.
- Python: use the Overmind SDK.
get_instrumentation_plan, apply eachrequired_decoratorverbatim. - Any other language with OpenTelemetry already enabled: no SDK and no plan. Add Overmind as one more OTLP/HTTP protobuf exporter beside the existing ones, never replacing them:
- Endpoint
<selected-api-base-url>/api/v1/traces, headerx-api-key: <project key>. Use the API reported by the connected catalogue and bound to that project key. The hosted API ishttps://api.overmindlab.ai; other deployments use their configured API URL. - Resource attribute
overmind.capability.id(the only key that binds spans to a capability). - Span attributes:
overmind.span.type=entry_pointandovermind.unit_kind=runon the root span of a run,overmind.delivery=trueon the span carrying the result,conversation.idon every span of a multi-turn exchange.
- Endpoint
- No OpenTelemetry in a non-Python codebase: report telemetry as not set up. Do not introduce OpenTelemetry for the user.
- Verify (both paths): get the user's approval for one run (real or smoke), stamp
conversation.idwith a unique value, run,query_traces(session=...)(expect one root),verify_instrumentation(trace_id). - Investigate:
investigate-capabilityprompt, orinspect_capability_healthandquery_failures, then follow trace links. - Signals:
list_signals,set_signal_subscription. - Use the skill
/overmind-observabilityto run observability operations
Datasets
Clients upload datasets to Overmind. Workshop turns them into versioned cells for training, evaluation or exploration
- Intent is the user's choice:
train,evalorexplore. Never infer it from rows. Set it withupdate_dataset. - Upload files with the CLI:
overmind dataset upload FILE... --project-id ID --json. Re-run the identical command to resume. Use--json-rows-fieldfor JSON wrappers. - Landing is not proof of correct ingestion: compare counts and sample values with the local file.
- Transform with a retained Python package:
overmind dataset pipeline-upload,save_dataset_pipeline,validate_dataset_pipeline, preview, then full run. Use theauthor-dataset-transformationprompt. Never upload derived rows as a new source. - From production data:
create_dataset_from_tracesorcreate_dataset_from_llm_calls. - Export:
overmind dataset export DATASET --json. - Use the skill
/overmind-datasetsto run dataset operations
Evals
Creates a set of eval metrics relevant to your codebase or dataset and triggers evaluations
- Use the
prepare-evaluationandevaluate-changeprompts. - Flow:
check_evaluation_readiness,run_evaluation,compare_evaluations. - The dataset must be
evalintent. The capability's active eval set grades by default; do not recreate it. - Report per-metric deltas and failed or missing rows, not just the average.
- Use the skill
/overmind-evaluationsto run evals operations
Finetuning
Creates a custom finetuned language model trained on a dataset in Overmind, validated using the evaluations created for that dataset or codebase
- Needs a
traindataset and, for chat models, user-confirmed eval metrics. Decision models are exempt. - Flow:
get_model_catalog,check_finetune_readiness,prepare_training_data,estimate_finetune, approval, thenstart_finetuneorstart_decision_jobwith a stablerequest_key. - Monitor with
get_jobandinspect_training_progress. Cancel withcancel_finetune. Never relaunch a job that already exists. - Data-only projects: use the
develop-model-from-dataprompt andsave_training_planfirst. - Split by group before fitting, measure a baseline, and never select on final-role data.
- Use the skill
/overmind-trainingto run finetuning operations
Inference
Runs inference on the finetuned model through Overmind.
- Successful training deploys automatically. Read
overmind://deployments/{deployment}for readiness and traffic. run_inferenceonly on areadydeployment, with a stablerequest_key.- Go live with
set_active_modelafter approval and poll themodel_activationjob. Useget_model_swap_promptfor the code rollout; the human applies it. retry_deploymentonly for a failed deployment.- Use the skill
/overmind-inferenceto run inference operations
Integrations
- Import external traces:
connect-tracesprompt,inspect_connectors,configure_connector(propose, get approval, thenconfirm_mapping=true),sync_connector. - Credentials are entered by the human in their terminal, never in chat.
- Use the skill
/overmind-integrationsto run integrations operations
Help:
If the user wants to see what overmind can do and how to invoke overmind, these are some of the commands that you need to print.
- Overmind can help you fine-tune a model using your dataset and/or codebase.
- Overmind can run inference on your fine-tuned models.
- Overmind can help you transform your raw data into a structured, fine-tunable dataset.
- Overmind can help you run evaluations and compare changes in your agents.
- Overmind can help you add tracing to your LLM agents and monitor your agent behavior using signals.
- Overmind can help you run experiments in your agentic codebase to see how to improve it.