AGENTS.md@web/src/features/ai-gateway/components/GatewayApiKeysPage/components/SetupInstructions/fns/agentSetupInstructions git:20261102.d2de205A

Immutable. This exact content never changes and is served at /api/v1/blob/1413f75eabdd0567.

# Agent setup instructions

Snippets shown after a gateway API key is created, one builder per tab.

## Source of truth

The Langfuse docs own this content. These builders are a condensed copy:

- API: https://langfuse.com/docs/ai-gateway/get-started/first-request
- Claude Code: https://langfuse.com/docs/ai-gateway/coding-agents/claude-code
- Codex: https://langfuse.com/docs/ai-gateway/coding-agents/codex
- OpenCode: https://langfuse.com/docs/ai-gateway/coding-agents/opencode
- GitHub Copilot CLI and app: https://langfuse.com/docs/ai-gateway/coding-agents/github-copilot

Change the docs first (`langfuse/langfuse-docs`), then mirror the change here.
Do not add steps, paths or env vars that the docs do not describe.

## Rules

- Never put the secret key into a snippet. Use `GATEWAY_KEY_PLACEHOLDER`; the
  key is shown and copied only by the key field above the tabs.
- Paths differ per tool (`/anthropic` vs `/anthropic/v1`); keep them as the
  docs list them under "Base URLs at a glance".
- Builders are pure: `(context: AgentSetupContext) => AgentSetupInstructions`.
  `formatAgentSetupMarkdown` renders the same data for "Copy for agent".