{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "yetone-magpie--send-any-tool-through-local-gateway",
 "repo": "yetone/magpie",
 "repo_url": "https://github.com/yetone/magpie",
 "repo_slug": "yetone-magpie",
 "title": "Send any OpenAI or Anthropic tool through the Magpie gateway",
 "page_title": "How to send any OpenAI or Anthropic tool through the Magpie gateway with Magpie",
 "summary": "Set three base URL variables so any tool that accepts a base URL uses the Magpie gateway.",
 "who": "A developer using a tool that is not in the supported agent list but accepts an OpenAI, Anthropic or Gemini base URL.",
 "problem": "Tools without a Magpie setup page cannot pick models from Magpie, so each one needs its own provider configuration.",
 "outcome": "The tool sends its requests to the local gateway at 127.0.0.1:3425 and Magpie handles the provider and routing.",
 "steps": [
  "Start Magpie and confirm the gateway is running at 127.0.0.1:3425.",
  "Set `export OPENAI_BASE_URL=http://127.0.0.1:3425/v1 OPENAI_API_KEY=magpie` in the shell where the tool runs. (inferred, check the README)",
  "Set `export ANTHROPIC_BASE_URL=http://127.0.0.1:3425 ANTHROPIC_API_KEY=magpie` for Anthropic-style tools. (inferred, check the README)",
  "Start the tool and send one request to confirm it appears in Magpie's usage view."
 ],
 "agent_prompt": "Using the yetone/magpie repository, confirm the gateway is listening on 127.0.0.1:3425, export OPENAI_BASE_URL=http://127.0.0.1:3425/v1 and OPENAI_API_KEY=magpie, and run <tool-command>. Report whether the tool returns an answer and whether the request appears in magpie's usage data.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says the gateway speaks these API formats, so tools that need a different protocol will not work through it.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "A computer running macOS, Windows or Linux (or Docker or Termux)",
  "An API key for a provider such as DeepSeek, or a signed-in subscription such as Claude or ChatGPT",
  "The agent you want to route, such as Claude Code or Codex, already installed"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/yetone-magpie/send-any-tool-through-local-gateway/",
 "md": "https://dedupedai.com/use-cases/yetone-magpie/send-any-tool-through-local-gateway/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/yetone-magpie--send-any-tool-through-local-gateway.json",
 "api_version": "v1"
}
