• rsafaya an hour ago |
    Makes a lot of sense. Any plans to support openrouter? We use that extensively instead of connecting directly to the model providers.
    • clampd an hour 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.