Skip to content
Get started

Getting Started

Sign up, install the SDK, and send your first traces in under 5 minutes. This guide walks you through going from zero to seeing your first LLM traces in the Overmind dashboard.

Sign up and onboard at console.overmindlab.ai.

Follow the readme for our open-source edition. This is fully local app that provides all key features of Overmind.

Regardless of your choice, the app will automatically create your project and API key and generate copy-paste integration snippet — no setup steps needed.


Terminal window
pip install overmind

Call overmind.init() once at startup, before any LLM calls. Your existing LLM code stays exactly as-is.

Before:

import os
from openai import OpenAI
os.environ["OPENAI_API_KEY"] = 'sk-proj-'
client = OpenAI()
response = client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Explain quantum computing"}],
)

After:

import os
import overmind
from openai import OpenAI
os.environ["OVERMIND_API_KEY"] = 'ovr_'
os.environ["OPENAI_API_KEY"] = 'sk-proj-'
overmind.init(service_name="my-service", environment="production")
# existing code unchanged
client = OpenAI()
response = client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Explain quantum computing"}],
)

That’s it — add overmind.init() and set your API key. No proxy, no import changes, no key sharing.

Every LLM call is automatically traced (input, output, model, latency, token count, cost) and sent to Overmind. Your OpenAI and other provider keys stay in your environment.

Other LLM providers

Overmind supports OpenAI, Anthropic, Google Gemini, and Agno. Pass the providers you use:

import overmind
# Explicit providers
overmind.init(service_name="my-service", providers=["openai"])
overmind.init(service_name="my-service", providers=["anthropic"])
overmind.init(service_name="my-service", providers=["google"])
overmind.init(service_name="my-service", providers=["agno"])
# Or auto-detect all installed providers
overmind.init(service_name="my-service")

Run your application normally. Once Overmind has collected at least 30 traces, the optimization engine kicks in:

  • Prompt templates are automatically extracted from your traces, creating Agents
  • The LLM judge evaluates each trace on quality, cost, and latency
  • Prompt and model experimentation begins

You can watch traces appear in real time at console.overmindlab.ai under the Traces tab.


Go to the Overmind home page. You’ll see:

  • Agents: We extract all prompt templates from your traces and automatically create Agents. Each agent has its own prompt template, evaluation criteria and model backtesting.
  • Suggestions: For each agent we will automatically create Suggestions - a result of our optimisation engine which will suggest a better prompt or model based on each Agent’s use case.

Once you have traces flowing, Overmind automatically:

  1. Extracts your Agent — identifies the structure of your prompts and separates fixed templates from variable inputs creating Agents
  2. Evaluates with your Agent — based on Agent traces we create evaluation criteria and use LLM judge to assess your Agent’s performance. We also monitor latency and cost.
  3. Experiments with prompts — generates candidate prompt variations and tests them against your historical inputs on quality, cost and latency
  4. Experiments with models — replays your traces through different models to find cost/quality tradeoffs
  5. Shows recommendations — surfaces the best alternatives in your dashboard
  6. Collects your feedback - at any time you can adjust evaluation criteria, agent description and provide feedback on our scoring and suggestions.

You provide feedback (accept, reject, tweak) and the system learns. See How Optimization Works for the full details.


VariableRequiredDescription
OVERMIND_API_KEYYesYour Overmind API key (shown after signup)
OVERMIND_SERVICE_NAMENoService name (overrides service_name param default)
OVERMIND_ENVIRONMENTNoEnvironment name (overrides environment param default)
OPENAI_API_KEYIf using OpenAIYour OpenAI API key
ANTHROPIC_API_KEYIf using AnthropicYour Anthropic API key
GEMINI_API_KEYIf using GoogleYour Google/Gemini API key