Tegvia¶
Tegvia is a local security proxy that sits between Claude Code and the Anthropic API. Every request sent to the model, and every response it returns (streaming included), goes through Tegvia, which inspects it, logs it and, when needed, blocks it before it reaches the API or your machine.
Claude Code ──request──▶ Tegvia (127.0.0.1:8736) ──▶ api.anthropic.com
◀─response── inspect · block · log ◀──
What Tegvia does¶
- Blocks data leaks.
- Blocks dangerous tool calls (
curl … | sh, malicious packages). - Caps request size.
- Logs every session.
What Tegvia does not do¶
- It does not analyse the content of downloaded scripts: it blocks the dangerous action, not the script itself.
- It is a heuristic analysis of command text, not a sandbox: it greatly reduces risk without eliminating it.
- It never modifies your project files.
Where to start¶
- Install Tegvia
- Use Tegvia day to day
- If something goes wrong: Troubleshooting