Route your Eigent desktop agent through LLM Router to automatically prune context, redact local secrets, and leverage model fallbacks.
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.
Eigent & LLM Router
Eigent is an open-source “coworker” agent that runs directly on your desktop. It uses a multi-agent architecture to perform browser automation, terminal automation, and file system operations, acting much like a human worker operating in a real desktop environment.Because Eigent interacts heavily with your local machine, routing its traffic through LLM Router is highly recommended. It ensures that any local .env files or API keys it accidentally reads are redacted before reaching external LLM providers, and it compresses bloated terminal/browser outputs to save you massive amounts of input tokens.
Important: When using LLM Router with Eigent, you must configure the
Custom API Host to point to https://api.llmrouter.app/v1 to ensure API
compatibility.
Step 1: Installing Eigent
Choose the installation method that best suits your needs:
Official Download (Recommended)
Run from Source
1. Download Eigent
Visit eigent.ai and download the latest version for your platform (macOS 11+ or Windows).
2. Install the Application
macOS: Open the downloaded .dmg file and drag Eigent into your Applications folder.
Windows: Run the downloaded .exe installer and follow the on-screen instructions.
3. Launch Eigent
Open the application to get started.
For developers who want to run Eigent locally from source code.Prerequisites:
Eigent allows you to configure custom API endpoints. We will set this up to point directly to your LLM Router instance.
1. Access Application Settings
Launch Eigent and navigate to the Home Page, then click on the Settings tab (usually a gear icon).
2. Locate Model Configuration
In the Settings menu, find and select the Models section. Scroll down to the Custom Model area and look for the configuration card (often labeled as Custom OpenAI Config or similar).
3. Enter Configuration Details
Click on the custom configuration card and fill in the following information to connect to LLM Router:
API Key: Enter your LLM Router API Key (obtain from the LLM Router Dashboard). It usually starts with sk-router-.
API Host / Base URL: Enter https://api.llmrouter.app/v1 (Make sure not to include /chat/completions at the end).
Model Type: Enter the specific model you want Eigent to use, prefixed with the provider slug.
Example 1:anthropic/claude-3-5-sonnet (Best for complex desktop automation).
Example 2:openai/gpt-4o
Click Save to apply your changes.
4. Set as Default
Once saved, click the “Set as Default” button on the configuration card to ensure Eigent routes all its agentic tasks through LLM Router.
Step 3: The LLM Router Advantage
With the configuration complete, your Eigent agents are now powered by LLM Router.Because Eigent executes tasks autonomously on your machine, the safety and cost-saving layers of LLM Router become critical:
Zero-Trust PII Redaction: If an Eigent agent reads a local config file containing your AWS keys or Stripe tokens while trying to debug a project, LLM Router will automatically mask them into [TOKEN_REDACTED] before sending the context to Claude or GPT-4o.
Context Pruning: Agents often “loop” and read the same files multiple times. LLM Router will intelligently compress the middle of these repetitive file reads, saving you thousands of tokens per task.
Provider Resilience: If Anthropic goes down while Eigent is in the middle of a complex multi-step browser automation task, LLM Router will seamlessly fall back to OpenAI, preventing the agent from crashing and losing its progress.
{"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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/eigent","slug":"/ai-tools/eigent","pageMetadata":{"title":"Eigent (Desktop Agent)","description":"Route your Eigent desktop agent through LLM Router to automatically prune context, redact local secrets, and leverage model fallbacks.","href":"/ai-tools/eigent"},"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 your Eigent desktop agent through LLM Router to automatically prune context, redact local secrets, and leverage model fallbacks.\"\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`,em:`em`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tab,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,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:`eigent-\u0026-llm-router`,children:`Eigent \u0026 LLM Router`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://eigent.ai/`,children:`Eigent`}),` is an open-source “coworker” agent that runs directly on your desktop. It uses a multi-agent architecture to perform browser automation, terminal automation, and file system operations, acting much like a human worker operating in a real desktop environment.`]}),`\n`,_jsxs(_components.p,{children:[`Because Eigent interacts heavily with your local machine, routing its traffic through `,_jsx(_components.strong,{children:`LLM Router`}),` is highly recommended. It ensures that any local `,_jsx(_components.code,{children:`.env`}),` files or API keys it accidentally reads are `,_jsx(_components.strong,{children:`redacted`}),` before reaching external LLM providers, and it `,_jsx(_components.strong,{children:`compresses`}),` bloated terminal/browser outputs to save you massive amounts of input tokens.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important:`}),` When using LLM Router with Eigent, you must configure the\nCustom API Host to point to `,_jsx(_components.code,{children:`https://api.llmrouter.app/v1`}),` to ensure API\ncompatibility.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`step-1-installing-eigent`,children:`Step 1: Installing Eigent`}),`\n`,_jsx(_components.p,{children:`Choose the installation method that best suits your needs:`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Official Download (Recommended)`,id:`official-download-recommended`,\"data-child-heading-ids\":`[\"1-download-eigent\",\"2-install-the-application\",\"3-launch-eigent\"]`,children:[_jsx(Heading,{level:`3`,id:`1-download-eigent`,children:`1. Download Eigent`}),_jsxs(_components.p,{children:[`Visit `,_jsx(_components.a,{href:`https://eigent.ai/`,children:`eigent.ai`}),` and download the latest version for your platform (macOS 11+ or Windows).`]}),_jsx(Heading,{level:`3`,id:`2-install-the-application`,children:`2. Install the Application`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`macOS`}),`: Open the downloaded `,_jsx(_components.code,{children:`.dmg`}),` file and drag Eigent into your Applications folder.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Windows`}),`: Run the downloaded `,_jsx(_components.code,{children:`.exe`}),` installer and follow the on-screen instructions.`]}),`\n`]}),_jsx(Heading,{level:`3`,id:`3-launch-eigent`,children:`3. Launch Eigent`}),_jsx(_components.p,{children:`Open the application to get started.`})]}),_jsxs(Tab,{title:`Run from Source`,id:`run-from-source`,\"data-child-heading-ids\":`[\"1-clone-the-repository\",\"2-start-backend-services\",\"3-start-frontend-service\"]`,children:[_jsx(_components.p,{children:`For developers who want to run Eigent locally from source code.`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Prerequisites:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Node.js >= 18.0.0`}),`\n`,_jsx(_components.li,{children:`Python >= 3.12`}),`\n`,_jsx(_components.li,{children:`Docker (recommended) or PostgreSQL 15`}),`\n`]}),_jsx(Heading,{level:`3`,id:`1-clone-the-repository`,children:`1. Clone the Repository`}),_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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` clone`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://github.com/eigent-ai/eigent.git`})]}),`\n`,_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:` eigent`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`2-start-backend-services`,children:`2. Start Backend Services`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,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:` server`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env.example`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` compose`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` up`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`3-start-frontend-service`,children:`3. Start Frontend Service`}),_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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dev`})]}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-configuring-llm-router-in-eigent`,children:`Step 2: Configuring LLM Router in Eigent`}),`\n`,_jsx(_components.p,{children:`Eigent allows you to configure custom API endpoints. We will set this up to point directly to your LLM Router instance.`}),`\n`,_jsx(Heading,{level:`3`,id:`1-access-application-settings`,children:`1. Access Application Settings`}),`\n`,_jsxs(_components.p,{children:[`Launch Eigent and navigate to the `,_jsx(_components.strong,{children:`Home Page`}),`, then click on the `,_jsx(_components.strong,{children:`Settings`}),` tab (usually a gear icon).`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-locate-model-configuration`,children:`2. Locate Model Configuration`}),`\n`,_jsxs(_components.p,{children:[`In the Settings menu, find and select the `,_jsx(_components.strong,{children:`Models`}),` section. Scroll down to the `,_jsx(_components.strong,{children:`Custom Model`}),` area and look for the configuration card (often labeled as Custom OpenAI Config or similar).`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-enter-configuration-details`,children:`3. Enter Configuration Details`}),`\n`,_jsx(_components.p,{children:`Click on the custom configuration card and fill in the following information to connect to LLM Router:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Key`}),`: Enter your LLM Router API Key (obtain from the `,_jsx(_components.a,{href:`https://llmrouter.app/dashboard`,children:`LLM Router Dashboard`}),`). It usually starts with `,_jsx(_components.code,{children:`sk-router-`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Host / Base URL`}),`: Enter `,_jsx(_components.code,{children:`https://api.llmrouter.app/v1`}),` (Make sure not to include `,_jsx(_components.code,{children:`/chat/completions`}),` at the end).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Model Type`}),`: Enter the specific model you want Eigent to use, prefixed with the provider slug.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.em,{children:`Example 1:`}),` `,_jsx(_components.code,{children:`anthropic/claude-3-5-sonnet`}),` (Best for complex desktop automation).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.em,{children:`Example 2:`}),` `,_jsx(_components.code,{children:`openai/gpt-4o`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),` to apply your changes.`]}),`\n`,_jsx(Heading,{level:`3`,id:`4-set-as-default`,children:`4. Set as Default`}),`\n`,_jsxs(_components.p,{children:[`Once saved, click the `,_jsx(_components.strong,{children:`“Set as Default”`}),` button on the configuration card to ensure Eigent routes all its agentic tasks through LLM Router.`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-the-llm-router-advantage`,children:`Step 3: The LLM Router Advantage`}),`\n`,_jsx(_components.p,{children:`With the configuration complete, your Eigent agents are now powered by LLM Router.`}),`\n`,_jsx(_components.p,{children:`Because Eigent executes tasks autonomously on your machine, the safety and cost-saving layers of LLM Router become critical:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Zero-Trust PII Redaction:`}),` If an Eigent agent reads a local config file containing your AWS keys or Stripe tokens while trying to debug a project, LLM Router will automatically mask them into `,_jsx(_components.code,{children:`[TOKEN_REDACTED]`}),` before sending the context to Claude or GPT-4o.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Context Pruning:`}),` Agents often “loop” and read the same files multiple times. LLM Router will intelligently compress the middle of these repetitive file reads, saving you thousands of tokens per task.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Provider Resilience:`}),` If Anthropic goes down while Eigent is in the middle of a complex multi-step browser automation task, LLM Router will seamlessly fall back to OpenAI, preventing the agent from crashing and losing its progress.`]}),`\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":"Eigent (Desktop Agent)","description":"Route your Eigent desktop agent through LLM Router to automatically prune context, redact local secrets, and leverage model fallbacks.","href":"/ai-tools/eigent"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Documentation Index","slug":"documentation-index","depth":2,"children":[]},{"title":"Eigent \u0026 LLM Router","slug":"eigent-\u0026-llm-router","depth":1,"children":[]},{"title":"Step 1: Installing Eigent","slug":"step-1-installing-eigent","depth":2,"children":[{"title":"1. Download Eigent","slug":"1-download-eigent","depth":3,"children":[],"tabId":"official-download-recommended"},{"title":"2. Install the Application","slug":"2-install-the-application","depth":3,"children":[],"tabId":"official-download-recommended"},{"title":"3. Launch Eigent","slug":"3-launch-eigent","depth":3,"children":[],"tabId":"official-download-recommended"},{"title":"1. Clone the Repository","slug":"1-clone-the-repository","depth":3,"children":[],"tabId":"run-from-source"},{"title":"2. Start Backend Services","slug":"2-start-backend-services","depth":3,"children":[],"tabId":"run-from-source"},{"title":"3. Start Frontend Service","slug":"3-start-frontend-service","depth":3,"children":[],"tabId":"run-from-source"}]},{"title":"Step 2: Configuring LLM Router in Eigent","slug":"step-2-configuring-llm-router-in-eigent","depth":2,"children":[{"title":"1. Access Application Settings","slug":"1-access-application-settings","depth":3,"children":[]},{"title":"2. Locate Model Configuration","slug":"2-locate-model-configuration","depth":3,"children":[]},{"title":"3. Enter Configuration Details","slug":"3-enter-configuration-details","depth":3,"children":[]},{"title":"4. Set as Default","slug":"4-set-as-default","depth":3,"children":[]}]},{"title":"Step 3: The LLM Router Advantage","slug":"step-3-the-llm-router-advantage","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"llmrouter","siteName":"LLM Router","title":"Eigent (Desktop Agent) - LLM Router","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-29T22:08:53.490Z","originalFileLocation":"ai-tools/eigent.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 your Eigent desktop agent through LLM Router to automatically prune context, redact local secrets, and leverage model fallbacks.\">\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=\"Eigent (Desktop Agent) - LLM Router\">\u003cmeta data-mint-head property=\"og:description\" content=\"Route your Eigent desktop agent through LLM Router to automatically prune context, redact local secrets, and leverage model fallbacks.\">\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/eigent\">\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=Eigent+%28Desktop+Agent%29\u0026amp;description=Route+your+Eigent+desktop+agent+through+LLM+Router+to+automatically+prune+context%2C+redact+local+secrets%2C+and+leverage+model+fallbacks.\u0026amp;theme=a478849910e652ec7906a8ef\u0026amp;signature=746c7d5969ce94123f24889e622e7e6aadbead47bc22f4238274c167d96c9e63\">\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=\"Eigent (Desktop Agent) - LLM Router\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Route your Eigent desktop agent through LLM Router to automatically prune context, redact local secrets, and leverage model fallbacks.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://llmrouter.mintlify.site/_mintlify/api/og/v2?division=AI+tools\u0026amp;title=Eigent+%28Desktop+Agent%29\u0026amp;description=Route+your+Eigent+desktop+agent+through+LLM+Router+to+automatically+prune+context%2C+redact+local+secrets%2C+and+leverage+model+fallbacks.\u0026amp;theme=a478849910e652ec7906a8ef\u0026amp;signature=746c7d5969ce94123f24889e622e7e6aadbead47bc22f4238274c167d96c9e63\">\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/eigent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ai-tools/eigent.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/eigent#webpage\",\"url\":\"https://docs.llmrouter.app/ai-tools/eigent\",\"name\":\"Eigent (Desktop Agent)\",\"description\":\"Route your Eigent desktop agent through LLM Router to automatically prune context, redact local secrets, and leverage model fallbacks.\",\"dateModified\":\"2026-03-29T22:08:53.490Z\",\"isPartOf\":{\"@id\":\"https://docs.llmrouter.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.llmrouter.app/ai-tools/eigent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.llmrouter.app/ai-tools/eigent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI tools\",\"item\":\"https://docs.llmrouter.app/ai-tools/cursor\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Eigent (Desktop Agent)\",\"item\":\"https://docs.llmrouter.app/ai-tools/eigent\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.llmrouter.app/ai-tools/eigent#article\",\"headline\":\"Eigent (Desktop Agent)\",\"name\":\"Eigent (Desktop Agent)\",\"description\":\"Route your Eigent desktop agent through LLM Router to automatically prune context, redact local secrets, and leverage model fallbacks.\",\"url\":\"https://docs.llmrouter.app/ai-tools/eigent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.llmrouter.app/ai-tools/eigent#webpage\"},\"dateModified\":\"2026-03-29T22:08:53.490Z\",\"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/eigent.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","href":"/ai-tools/kilo"},{"title":"Factory Droid","href":"/ai-tools/droid"},{"title":"Crush (CLI/TUI Agent)","href":"/ai-tools/crush"},{"title":"Goose","description":"Configure Goose AI agent to use LLM Router for intelligent routing, Skills, Zero Data Retention, and powerful terminal-based development workflows.","href":"/ai-tools/goose"},{"title":"Eigent (Desktop Agent)","href":"/ai-tools/eigent"},{"title":"Superset","description":"Configure Superset terminal and chat AI coding agents to use LLM Router for intelligent routing, Skills, Zero Data Retention, and optimized performance.","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":"Eigent (Desktop Agent) - LLM Router","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}