Route Factory Droid through LLM Router to automatically compress massive terminal logs, redact local .env secrets, and optimize token costs.
Documentation Index
Fetch the complete documentation index at: https://docs.llmrouter.app/llms.txt
Use this file to discover all available pages before exploring further.
Factory Droid & LLM Router
Factory Droid is an enterprise-grade AI coding agent that lives in your terminal and handles end-to-end development workflows.Because terminal agents frequently read massive error logs and local .env files, routing Factory Droid through LLM Router is highly recommended. It automatically prunes bloated terminal history to save costs and redacts your local API keys before they are sent to third-party AI providers.
Step 1: Installing Factory Droid
If you haven’t already installed Factory Droid, run the following command for your OS:macOS / Linux:
curl -fsSL https://app.factory.ai/cli | sh
Windows:
irm https://app.factory.ai/cli/windows | iex
Step 2: Configuring LLM Router
Factory Droid supports BYOK (Bring Your Own Key), which allows us to override the default API endpoints and point all traffic directly to LLM Router.
You need to edit Factory Droid’s local settings file.Configuration file location:
macOS/Linux: ~/.factory/settings.json
Windows: %USERPROFILE%\.factory\settings.json
You can configure LLM Router using either the OpenAI format or the Anthropic
format. Remember to replace your_llm_router_key with your actual API Key.
Method A: OpenRouter / OpenAI Protocol (Recommended)
Use this to let LLM Router automatically handle routing, or to specifically request OpenAI/Llama models.
{ "customModels": [ { "displayName": "LLM Router (Auto Fallback)", "model": "openai/gpt-4o", // Or use a tag-based routed model "baseUrl": "https://api.llmrouter.app/v1", "apiKey": "your_llm_router_key", "provider": "generic-chat-completion-api", "maxOutputTokens": 8192 } ]}
Method B: Anthropic Protocol
Use this if you specifically want to route to Claude models using Anthropic’s native formatting.
Navigate to your project directory and start the droid CLI:
cd /path/to/your/projectdroid
2. Select Your LLM Router Model
Once Droid is running, type the /model command to change your active AI model:
/model
Your custom LLM Router configurations will appear in a separate “Custom models” section in the terminal UI. Select the one you just configured.
3. Start Coding
You can now use Droid to analyze code, implement features, and fix bugs. All traffic is now securely flowing through LLM Router.
Why route Factory Droid through LLM Router?
Terminal-based agents are powerful, but they are incredibly token-hungry and pose unique security risks.
PII Redaction: Droid often reads your local directory to understand context. If it accidentally reads your .env file, LLM Router will automatically redact your database passwords and AWS keys before sending the prompt to OpenAI or Anthropic.
Context Pruning: If Droid runs a build command (npm run build) and it spits out 10,000 lines of terminal logs, LLM Router’s Middle-Out Compression will truncate the bloated middle sections, saving you massive amounts of input token costs.
Resilience: If OpenAI goes down while Droid is refactoring a file, LLM Router will automatically fall back to another provider without breaking your terminal session.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LLM Router","description":"Comprehensive documentation for Saasio, the intelligent AI gateway. Reduce API costs and latency with smart prompt routing, context compression, and seamless model fallbacks.","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/llmrouter/fmzcB0C0hZ8TxqoJ/logo/llmr-light.svg?fit=max\u0026auto=format\u0026n=fmzcB0C0hZ8TxqoJ\u0026q=85\u0026s=97bc60d4ed101a355191a7baaebd8a1c","dark":"https://mintcdn.com/llmrouter/fmzcB0C0hZ8TxqoJ/logo/llmr-dark.svg?fit=max\u0026auto=format\u0026n=fmzcB0C0hZ8TxqoJ\u0026q=85\u0026s=340765a1ce35e8f74a12232225eb42f7"},"favicon":"https://mintcdn.com/llmrouter/DRv49vI19q9DHhUZ/favicon.ico?fit=max\u0026auto=format\u0026n=DRv49vI19q9DHhUZ\u0026q=85\u0026s=eba667155b546fa4c1e9f7876cd7e7ad","navbar":{"links":[{"href":"mailto:contact@llmrouter.app","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://llmrouter.app/dashboard"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"llms.txt","icon":"book-open-cover","href":"https://docs.llmrouter.app/llms.txt"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"llmrouter","hasAudioNarration":false,"actualSubdomain":"llmrouter","customDomains":["docs.llmrouter.app"],"gitSource":{"type":"github","owner":"ussef083","repo":"llm-router","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94af2d5a6abdcaff3bbca:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Guides","count":31},{"language":"default","tag":"AI tools","count":18},{"language":"default","tag":"API reference","count":9},{"language":"default","tag":"Getting started","count":9},{"language":"default","tag":"SDKs","count":4},{"language":"default","tag":"Chat","count":2},{"language":"default","tag":"Models","count":2},{"language":"default","tag":"API documentation","count":1},{"language":"default","tag":"Blog","count":1},{"language":"default","tag":"Embeddings","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"ai-tools/droid","slug":"/ai-tools/droid","pageMetadata":{"title":"Factory Droid","description":"Route Factory Droid through LLM Router to automatically compress massive terminal logs, redact local .env secrets, and optimize token costs.","href":"/ai-tools/droid"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Route Factory Droid through LLM Router to automatically compress massive terminal logs, redact local .env secrets, and optimize token costs.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.hr,{}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(Heading,{level:`2`,id:`documentation-index`,children:`Documentation Index`}),`\n`,_jsxs(_components.p,{children:[`Fetch the complete documentation index at: `,_jsx(_components.a,{href:`https://docs.llmrouter.app/llms.txt`,children:`https://docs.llmrouter.app/llms.txt`}),`\nUse this file to discover all available pages before exploring further.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`1`,id:`factory-droid-\u0026-llm-router`,children:`Factory Droid \u0026 LLM Router`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://factory.ai`,children:`Factory Droid`}),` is an enterprise-grade AI coding agent that lives in your terminal and handles end-to-end development workflows.`]}),`\n`,_jsxs(_components.p,{children:[`Because terminal agents frequently read massive error logs and local `,_jsx(_components.code,{children:`.env`}),` files, routing Factory Droid through `,_jsx(_components.strong,{children:`LLM Router`}),` is highly recommended. It automatically prunes bloated terminal history to save costs and redacts your local API keys before they are sent to third-party AI providers.`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-1-installing-factory-droid`,children:`Step 1: Installing Factory Droid`}),`\n`,_jsx(_components.p,{children:`If you haven’t already installed Factory Droid, run the following command for your OS:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`macOS / Linux:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://app.factory.ai/cli`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` sh`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Windows:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`powershell`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`irm https:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`//`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`app.factory.ai`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cli`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`windows `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` iex`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-configuring-llm-router`,children:`Step 2: Configuring LLM Router`}),`\n`,_jsx(_components.p,{children:`Factory Droid supports BYOK (Bring Your Own Key), which allows us to override the default API endpoints and point all traffic directly to LLM Router.`}),`\n`,_jsx(Heading,{level:`3`,id:`1-get-your-llm-router-api-key`,children:`1. Get Your LLM Router API Key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Visit the `,_jsx(_components.a,{href:`https://llmrouter.app/dashboard`,children:`LLM Router Dashboard`})]}),`\n`,_jsxs(_components.li,{children:[`Generate a new API Key (e.g., `,_jsx(_components.code,{children:`sk-router-...`}),`)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-configure-custom-models-in-droid`,children:`2. Configure Custom Models in Droid`}),`\n`,_jsx(_components.p,{children:`You need to edit Factory Droid’s local settings file.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Configuration file location:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`macOS/Linux: `,_jsx(_components.code,{children:`~/.factory/settings.json`})]}),`\n`,_jsxs(_components.li,{children:[`Windows: `,_jsx(_components.code,{children:`%USERPROFILE%\\\\.factory\\\\settings.json`})]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`You can configure LLM Router using either the OpenAI format or the Anthropic\nformat. Remember to replace `,_jsx(_components.code,{children:`your_llm_router_key`}),` with your actual API Key.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Method A: OpenRouter / OpenAI Protocol (Recommended)`}),`\nUse this to let LLM Router automatically handle routing, or to specifically request OpenAI/Llama models.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customModels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LLM Router (Auto Fallback)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai/gpt-4o\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Or use a tag-based routed model`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"baseUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.llmrouter.app/v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your_llm_router_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"generic-chat-completion-api\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxOutputTokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8192`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Method B: Anthropic Protocol`}),`\nUse this if you specifically want to route to Claude models using Anthropic’s native formatting.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customModels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LLM Router (Claude 3.5 Sonnet)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"anthropic/claude-3-5-sonnet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"baseUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.llmrouter.app/v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your_llm_router_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"anthropic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxOutputTokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8192`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-start-using-factory-droid`,children:`Step 3: Start Using Factory Droid`}),`\n`,_jsx(Heading,{level:`3`,id:`1-launch-droid`,children:`1. Launch Droid`}),`\n`,_jsx(_components.p,{children:`Navigate to your project directory and start the droid CLI:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /path/to/your/project`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`droid`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`2-select-your-llm-router-model`,children:`2. Select Your LLM Router Model`}),`\n`,_jsxs(_components.p,{children:[`Once Droid is running, type the `,_jsx(_components.code,{children:`/model`}),` command to change your active AI model:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/model`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Your custom LLM Router configurations will appear in a separate “Custom models” section in the terminal UI. Select the one you just configured.`}),`\n`,_jsx(Heading,{level:`3`,id:`3-start-coding`,children:`3. Start Coding`}),`\n`,_jsx(_components.p,{children:`You can now use Droid to analyze code, implement features, and fix bugs. All traffic is now securely flowing through LLM Router.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`why-route-factory-droid-through-llm-router`,children:`Why route Factory Droid through LLM Router?`}),`\n`,_jsx(_components.p,{children:`Terminal-based agents are powerful, but they are incredibly token-hungry and pose unique security risks.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`PII Redaction:`}),` Droid often reads your local directory to understand context. If it accidentally reads your `,_jsx(_components.code,{children:`.env`}),` file, LLM Router will automatically redact your database passwords and AWS keys before sending the prompt to OpenAI or Anthropic.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Context Pruning:`}),` If Droid runs a build command (`,_jsx(_components.code,{children:`npm run build`}),`) and it spits out 10,000 lines of terminal logs, LLM Router’s Middle-Out Compression will truncate the bloated middle sections, saving you massive amounts of input token costs.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Resilience:`}),` If OpenAI goes down while Droid is refactoring a file, LLM Router will automatically fall back to another provider without breaking your terminal session.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Factory Droid","description":"Route Factory Droid through LLM Router to automatically compress massive terminal logs, redact local .env secrets, and optimize token costs.","href":"/ai-tools/droid"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Documentation Index","slug":"documentation-index","depth":2,"children":[]},{"title":"Factory Droid \u0026 LLM Router","slug":"factory-droid-\u0026-llm-router","depth":1,"children":[]},{"title":"Step 1: Installing Factory Droid","slug":"step-1-installing-factory-droid","depth":2,"children":[]},{"title":"Step 2: Configuring LLM Router","slug":"step-2-configuring-llm-router","depth":2,"children":[{"title":"1. Get Your LLM Router API Key","slug":"1-get-your-llm-router-api-key","depth":3,"children":[]},{"title":"2. Configure Custom Models in Droid","slug":"2-configure-custom-models-in-droid","depth":3,"children":[]}]},{"title":"Step 3: Start Using Factory Droid","slug":"step-3-start-using-factory-droid","depth":2,"children":[{"title":"1. Launch Droid","slug":"1-launch-droid","depth":3,"children":[]},{"title":"2. Select Your LLM Router Model","slug":"2-select-your-llm-router-model","depth":3,"children":[]},{"title":"3. Start Coding","slug":"3-start-coding","depth":3,"children":[]}]},{"title":"Why route Factory Droid through LLM Router?","slug":"why-route-factory-droid-through-llm-router","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"llmrouter","siteName":"LLM Router","title":"Factory Droid - LLM Router","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-29T22:08:53.488Z","originalFileLocation":"ai-tools/droid.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Route Factory Droid through LLM Router to automatically compress massive terminal logs, redact local .env secrets, and optimize token costs.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LLM Router\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Factory Droid - LLM Router\">\u003cmeta data-mint-head property=\"og:description\" content=\"Route Factory Droid through LLM Router to automatically compress massive terminal logs, redact local .env secrets, and optimize token costs.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LLM Router\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.llmrouter.app/ai-tools/droid\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://llmrouter.mintlify.site/_mintlify/api/og/v2?division=AI+tools\u0026amp;title=Factory+Droid\u0026amp;description=Route+Factory+Droid+through+LLM+Router+to+automatically+compress+massive+terminal+logs%2C+redact+local+.env+secrets%2C+and+optimize+token+costs.\u0026amp;theme=a478849910e652ec7906a8ef\u0026amp;signature=e1ccd6eea531eee33ec64a3618f3825ff54447c7f7513f97f1b2ce3836d8ca79\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Factory Droid - LLM Router\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Route Factory Droid through LLM Router to automatically compress massive terminal logs, redact local .env secrets, and optimize token costs.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://llmrouter.mintlify.site/_mintlify/api/og/v2?division=AI+tools\u0026amp;title=Factory+Droid\u0026amp;description=Route+Factory+Droid+through+LLM+Router+to+automatically+compress+massive+terminal+logs%2C+redact+local+.env+secrets%2C+and+optimize+token+costs.\u0026amp;theme=a478849910e652ec7906a8ef\u0026amp;signature=e1ccd6eea531eee33ec64a3618f3825ff54447c7f7513f97f1b2ce3836d8ca79\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LLM Router\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.llmrouter.app/ai-tools/droid\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ai-tools/droid.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.llmrouter.app/#organization\",\"name\":\"LLM Router\",\"url\":\"https://docs.llmrouter.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/llmrouter/fmzcB0C0hZ8TxqoJ/logo/llmr-light.svg?fit=max\u0026auto=format\u0026n=fmzcB0C0hZ8TxqoJ\u0026q=85\u0026s=97bc60d4ed101a355191a7baaebd8a1c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.llmrouter.app#website\",\"name\":\"LLM Router\",\"url\":\"https://docs.llmrouter.app\",\"publisher\":{\"@id\":\"https://docs.llmrouter.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.llmrouter.app/ai-tools/droid#webpage\",\"url\":\"https://docs.llmrouter.app/ai-tools/droid\",\"name\":\"Factory Droid\",\"description\":\"Route Factory Droid through LLM Router to automatically compress massive terminal logs, redact local .env secrets, and optimize token costs.\",\"dateModified\":\"2026-03-29T22:08:53.488Z\",\"isPartOf\":{\"@id\":\"https://docs.llmrouter.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.llmrouter.app/ai-tools/droid#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.llmrouter.app/ai-tools/droid#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI tools\",\"item\":\"https://docs.llmrouter.app/ai-tools/cursor\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Factory Droid\",\"item\":\"https://docs.llmrouter.app/ai-tools/droid\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.llmrouter.app/ai-tools/droid#article\",\"headline\":\"Factory Droid\",\"name\":\"Factory Droid\",\"description\":\"Route Factory Droid through LLM Router to automatically compress massive terminal logs, redact local .env secrets, and optimize token costs.\",\"url\":\"https://docs.llmrouter.app/ai-tools/droid\",\"mainEntityOfPage\":{\"@id\":\"https://docs.llmrouter.app/ai-tools/droid#webpage\"},\"dateModified\":\"2026-03-29T22:08:53.488Z\",\"publisher\":{\"@id\":\"https://docs.llmrouter.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.llmrouter.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LLM Router\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LLM Router\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ai-tools/droid.md","siteName":"LLM Router","nav":{"global":{"anchors":[{"anchor":"llms.txt","icon":"book-open-cover","href":"https://docs.llmrouter.app/llms.txt"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":""},{"title":"Provider Fallbacks","href":"/provider-fallbacks"},{"title":"Smart Routing","href":"/smart-routing"},{"title":"Chat Optimization","href":"/chat-optimization"},{"title":"Tools Optimization","href":"/tool-optimization"},{"title":"Skills","href":"/skills"},{"title":"Zero-Trust Data Redaction","href":"/redact"},{"title":"Zero Data Retention (ZDR)","href":"/zdr"},{"title":"Planning","href":"/planning"}]},{"group":"SDKs","pages":[{"title":"OpenAI","href":"/sdk/openai"},{"title":"Anthropic SDK","href":"/sdk/anthropic"},{"title":"Vercel AI SDK","href":"/sdk/vercel-ai-sdk"},{"title":"LiteLLM","href":"/sdk/litellm"}]},{"group":"AI tools","pages":[{"title":"Cursor","href":"/ai-tools/cursor"},{"title":"OpenAI Codex CLI","href":"/ai-tools/codex"},{"title":"OpenClaw (CLI)","href":"/ai-tools/openclaw"},{"title":"Claude Code","href":"/ai-tools/claude-code"},{"title":"Blackbox AI (CLI)","href":"/ai-tools/blackbox"},{"title":"Cline","href":"/ai-tools/cline"},{"title":"OpenCode","href":"/ai-tools/opencode"},{"title":"Roo Code (VS Code)","href":"/ai-tools/roo-code"},{"title":"TRAE","href":"/ai-tools/trae"},{"title":"Kilo Code","description":"Configure the Kilo Code VS Code extension to use LLM Router for intelligent routing, Skills, Zero Data Retention, context optimization, and powerful AI-assisted development.","href":"/ai-tools/kilo"},{"title":"Factory Droid","href":"/ai-tools/droid"},{"title":"Crush (CLI/TUI Agent)","description":"Route your Crush terminal agent through LLM Router to automatically compress massive terminal logs, redact local secrets, and slash API costs.","href":"/ai-tools/crush"},{"title":"Goose","href":"/ai-tools/goose"},{"title":"Eigent (Desktop Agent)","href":"/ai-tools/eigent"},{"title":"Superset","href":"/ai-tools/superset"},{"title":"LibreChat","href":"/ai-tools/libre-chat"},{"title":"Chatbox (Desktop)","href":"/ai-tools/chatbox"},{"title":"Open WebUI","href":"/ai-tools/openwebui"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"tab":"Blog","pages":[{"title":"Blog","href":"/blog/intro-to-llm-router"}]}]},"basePath":"","title":"Factory Droid - LLM Router","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}