Open-source diagnostic engine for AI agents

Find out exactly why
your AI agent broke

Paste logs or upload config files. Get a plain-English diagnosis, root cause, and fix plan in seconds.

Logs never leave your browser
Evidence-based, not guesswork
Rules engine, not AI hallucination
Free to use

Debugging AI agents is painful

Cryptic logs, errors from a dozen failure points, and no tool built for this exact problem.

01

Logs are cryptic

Stack traces, error codes, and provider-specific jargon that means nothing out of context.

02

Errors come from many layers

Is it your config? The model provider? A gateway? Permissions? It could be any of a dozen failure points.

03

Chatbots guess, Medic diagnoses

Pasting logs into ChatGPT gives generic advice. Medic matches known failure patterns and cites evidence.

Three steps to a diagnosis

No sign-up. No terminal commands. No guesswork.

01

Paste your logs

Copy terminal output, error logs, or stack traces. Upload config files too.

02

Pattern matching

25+ diagnostic rules scan the parsed data and extract supporting evidence.

03

Confidence scored

Each diagnosis gets a confidence level based on how many signals matched.

04

Get the fix

One recommended fix, alternatives, and what to avoid — with official docs linked.

See a real diagnosis

This is what Medic returns when it detects an invalid API key.

medic — diagnosis output
input
[2025-03-14 21:47:01] Agent starting...
[WARN] connecting to openai gpt-4o
[ERROR] 401 Unauthorized
Incorrect API key provided: sk-abc1...XYZ
[WARN] Retrying (1/3)...
[ERROR] AuthenticationError: Invalid API key
[INFO] Agent shutting down.
diagnosis
● CriticalHigh confidenceinvalid_api_key

Invalid or Rejected API Key

The provider rejected the API key with a 401 Unauthorized. The key may be expired, incorrect, or belong to a different environment.

Line 4: "Incorrect API key provided: sk-abc1...XYZ"

✓ Regenerate the API key at platform.openai.com/api-keys

Works with your stack

Medic auto-detects your tools and providers from the logs.

OpenClaw
OpenAI
Anthropic
LangChain
CrewAI
AutoGPT
Mistral
Google Gemini
LiteLLM
OpenRouter
AWS Bedrock
Azure OpenAI
Ollama
Groq
Node.js
Python
Docker
JSON
YAML
TOML
.env

Ready to fix your agent?

Paste your logs, get your diagnosis. It takes less than 10 seconds.

Analyze Logs