diff --git a/public/docs-static/img/agent-network/integrations/agent-network-configure-agent-kimi-claude-code.png b/public/docs-static/img/agent-network/integrations/agent-network-configure-agent-kimi-claude-code.png index 64c257af..cd08618b 100644 Binary files a/public/docs-static/img/agent-network/integrations/agent-network-configure-agent-kimi-claude-code.png and b/public/docs-static/img/agent-network/integrations/agent-network-configure-agent-kimi-claude-code.png differ diff --git a/public/docs-static/img/agent-network/integrations/agent-network-configure-agent-kimi-cli.png b/public/docs-static/img/agent-network/integrations/agent-network-configure-agent-kimi-cli.png index 6fe11550..b2ae0466 100644 Binary files a/public/docs-static/img/agent-network/integrations/agent-network-configure-agent-kimi-cli.png and b/public/docs-static/img/agent-network/integrations/agent-network-configure-agent-kimi-cli.png differ diff --git a/public/docs-static/img/agent-network/integrations/agent-network-connect-kimi.png b/public/docs-static/img/agent-network/integrations/agent-network-connect-kimi.png index e558780f..8eb9aad3 100644 Binary files a/public/docs-static/img/agent-network/integrations/agent-network-connect-kimi.png and b/public/docs-static/img/agent-network/integrations/agent-network-connect-kimi.png differ diff --git a/src/pages/agent-network/integrations/kimi.mdx b/src/pages/agent-network/integrations/kimi.mdx index 2a182b99..920d1564 100644 --- a/src/pages/agent-network/integrations/kimi.mdx +++ b/src/pages/agent-network/integrations/kimi.mdx @@ -16,33 +16,29 @@ Moonshot serves **two API shapes with the same API key**: - the **OpenAI Chat Completions API** under `https://api.moonshot.ai/v1` - the **Anthropic Messages API** under `https://api.moonshot.ai/anthropic` -The upstream URL you set on the NetBird provider decides which shape your agents speak -through the endpoint, so pick it based on the tools you plan to connect (see below). +Your agents pick the shape with the path they call on your NetBird endpoint — `/v1/...` +for the OpenAI shape, `/anthropic/v1/...` for the Anthropic shape — and the path rides +through to Moonshot. One Kimi provider serves both. ## Connect the Provider 1. Go to **Agent Network → Providers** and click **Connect Provider**. 2. Select **Kimi**. NetBird pre-fills the upstream URL `https://api.moonshot.ai` and the - bearer auth header. -3. Set the **Upstream URL** for the API shape your agents use: - - Change it to `https://api.moonshot.ai/anthropic` for **Anthropic-shaped** agents — - Claude Code, or Kimi CLI's `anthropic` provider type. This is the common case. - - Keep `https://api.moonshot.ai` for **OpenAI-shaped** callers — the OpenAI SDK, or - anything else that calls `/v1/chat/completions`. -4. Paste your Moonshot **API key**. The same key works for both API shapes; it is stored + bearer auth header. Keep the upstream URL as-is — the API shape is chosen per agent + via its base URL (see below), not on the provider. +3. Paste your Moonshot **API key**. The same key works for both API shapes; it is stored encrypted server-side and never sent to callers. -5. Save the provider. +4. Save the provider.