Show HN: Clampd – Your AI agent can DROP TABLE. We block it in <10ms

3 pointsposted 7 hours ago
by clampd

3 Comments

rsafaya

6 hours ago

Makes a lot of sense. Any plans to support openrouter? We use that extensively instead of connecting directly to the model providers.

clampd

6 hours ago

Thanks! Yes - since OpenRouter exposes an OpenAI-compatible API, the SDK already works with it today:

  client = clampd.openai(OpenAI(base_url="https://openrouter.ai/api/v1", api_key="..."), agent_id="my-agent")
Any OpenAI-compatible provider works - OpenRouter, Azure OpenAI, Groq, Together, etc. Clampd intercepts tool calls after the LLM responds, so it doesn't matter which provider you use.