Self-heal overview
Veralith doesn't just tell you an answer was wrong — it can get the fix opened. When failures cluster into a heal card, a coding agent connected over MCP (Model Context Protocol) reads the card, applies the change in your repository, and opens a pull request for your review.
The idea
Veralith never sees your codebase. Your agent does. So Veralith exposes the diagnosis and the recommended fix as MCP tools, and the agent — running inside your repo — does the editing.
failure cluster → heal card (with a concrete fix)
→ agent reads it over MCP
→ agent edits your repo + opens a PR
→ you review & merge → card resolvedWhat you need
- A project with heal cards (see Heals).
- A coding agent that speaks MCP — Claude Code, Cursor, or Codex.
- Your Veralith API key wired into the agent. See Connect your agent.
Next
- Connect your agent — the
.mcp.json/ CLI setup for each client. - Heal lifecycle — how a card moves from
opentoresolved, tool by tool. - MCP tools reference — every tool the agent can call.
- Repo context — how the agent teaches Veralith about your repo so future fixes get smarter.