Connect RemoteAgent.CHAT to a self-hosted AI gateway via the OpenClaw HTTP interface.
The openclaw runner is in beta and has not been fully tested. You may encounter bugs or unexpected behavior. Use with caution.
The openclaw runner connects to a locally running OpenClaw daemon that exposes an AI gateway on a configurable port (default 18789). OpenClaw manages its own configuration entirely via its own setup wizard — RemoteAgent.CHAT does not configure OpenClaw settings.
Requirements
OpenClaw installed and its daemon running before remoteagent init
Setting up OpenClaw first
Before running remoteagent init, you must set up OpenClaw independently:
openclaw onboard --install-daemon will walk you through OpenClaw’s own configuration wizard and install the background daemon. Once the daemon is running, you can proceed to initialize RemoteAgent.CHAT.
Run openclaw onboard --install-daemon before remoteagent init. The
RemoteAgent.CHAT wizard checks whether the daemon is reachable and will show
instructions if it is not found.
Setup
Once the OpenClaw daemon is running, initialize the agent:
remoteagent init --runner openclaw
Or choose openclaw when prompted by the interactive wizard.During remoteagent init, the wizard will:
Ask for the gateway port (default 18789)
Check whether the OpenClaw daemon is reachable on that port
If the daemon is not found: display setup instructions and offer to exit or continue anyway
RemoteAgent.CHAT does not configure any OpenClaw settings — all model routing, API keys, and gateway behavior are managed through OpenClaw’s own configuration.
How it works
The runner sends POST requests to http://localhost:{port}/v1/chat/completions using the OpenAI API format. The port is configurable and saved in ~/.remoteagent/agents/{agentId}.json. The prompt is sent as a user message. Response chunks are streamed via server-sent events (SSE) and forwarded to Telegram as they arrive.Example request body sent by the runner:
The model field defaults to "default" — OpenClaw is responsible for routing that to the appropriate backend model.
Use cases
Local model routing — run multiple models and route based on task type
Cost control — apply rate limiting or budget caps at the gateway layer
Custom middleware — inject system prompts, logging, or content filters before requests reach the model
Air-gapped environments — run entirely offline with no external API calls
Pros and cons
Pros
Cons
Full control over the AI backend
Requires running and maintaining the OpenClaw daemon
Works with any OpenAI-compatible model
OpenClaw daemon must be running before the agent starts
Air-gap compatible
More setup complexity
No API key managed by RemoteAgent.CHAT
—
OpenClaw handles all its own configuration
—
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"RemoteAgent.CHAT","colors":{"primary":"#1B84FF","light":"#60AEFF","dark":"#0D5ECC"},"logo":{"light":"https://mintcdn.com/remoteagentchat/px6-PCumF-TyyIWF/logo/light.svg?fit=max\u0026auto=format\u0026n=px6-PCumF-TyyIWF\u0026q=85\u0026s=73d901cf8b03ed547c879ca4b742ae75","dark":"https://mintcdn.com/remoteagentchat/px6-PCumF-TyyIWF/logo/dark.svg?fit=max\u0026auto=format\u0026n=px6-PCumF-TyyIWF\u0026q=85\u0026s=d14b2e8d649edd085e6725a3bf57b7c1"},"favicon":"https://mintlify.s3.us-west-1.amazonaws.com/remoteagentchat/favicon.svg","navbar":{"links":[{"href":"https://remoteagent.chat","label":"remoteagent.chat"}],"primary":{"type":"button","label":"Get started free","href":"https://remoteagent.chat/signup"}},"footer":{"socials":{"github":"https://github.com/ggiacomo/docs"}},"seo":{},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"remoteagent.chat","icon":"house","href":"https://remoteagent.chat"},{"anchor":"Telegram bot","icon":"paper-plane","href":"https://t.me/remoteagent_bot"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"remoteagentchat","hasAudioNarration":false,"actualSubdomain":"remoteagentchat","customDomains":["docs.remoteagent.chat"],"gitSource":{"type":"github","owner":"ggiacomo","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94a1e2537587934550871:success","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"Runners","count":9},{"language":"default","tag":"Using the Bot","count":3},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Under the Hood","count":3},{"language":"default","tag":"Platform","count":2},{"language":"default","tag":"Reference","count":1},{"language":"default","tag":"Support","count":1},{"language":"default","tag":"Overview","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":"workos-onboarding","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"runners/openclaw","slug":"/runners/openclaw","pageMetadata":{"title":"openclaw","description":"Connect RemoteAgent.CHAT to a self-hosted AI gateway via the OpenClaw HTTP interface.","href":"/runners/openclaw"},"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: \"Connect RemoteAgent.CHAT to a self-hosted AI gateway via the OpenClaw HTTP interface.\"\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={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`openclaw`}),` runner is in `,_jsx(_components.strong,{children:`beta`}),` and has not been fully tested. You may encounter bugs or unexpected behavior. Use with caution.`]})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`openclaw`}),` runner connects to a locally running OpenClaw daemon that exposes an AI gateway on a configurable port (default `,_jsx(_components.code,{children:`18789`}),`). OpenClaw manages its own configuration entirely via its own setup wizard — RemoteAgent.CHAT does not configure OpenClaw settings.`]}),`\n`,_jsx(Heading,{level:`2`,id:`requirements`,children:`Requirements`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`OpenClaw installed and its daemon running before `,_jsx(_components.code,{children:`remoteagent init`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`setting-up-openclaw-first`,children:`Setting up OpenClaw first`}),`\n`,_jsxs(_components.p,{children:[`Before running `,_jsx(_components.code,{children:`remoteagent init`}),`, you must set up OpenClaw independently:`]}),`\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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -g`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` openclaw@latest`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`openclaw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` onboard`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --install-daemon`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`openclaw onboard --install-daemon`}),` will walk you through OpenClaw’s own configuration wizard and install the background daemon. Once the daemon is running, you can proceed to initialize RemoteAgent.CHAT.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`openclaw onboard --install-daemon`}),` before `,_jsx(_components.code,{children:`remoteagent init`}),`. The\nRemoteAgent.CHAT wizard checks whether the daemon is reachable and will show\ninstructions if it is not found.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`setup`,children:`Setup`}),`\n`,_jsx(_components.p,{children:`Once the OpenClaw daemon is running, initialize the agent:`}),`\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:`remoteagent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` init`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --runner`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` openclaw`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Or choose `,_jsx(_components.code,{children:`openclaw`}),` when prompted by the interactive wizard.`]}),`\n`,_jsxs(_components.p,{children:[`During `,_jsx(_components.code,{children:`remoteagent init`}),`, the wizard will:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Ask for the `,_jsx(_components.strong,{children:`gateway port`}),` (default `,_jsx(_components.code,{children:`18789`}),`)`]}),`\n`,_jsx(_components.li,{children:`Check whether the OpenClaw daemon is reachable on that port`}),`\n`,_jsx(_components.li,{children:`If the daemon is not found: display setup instructions and offer to exit or continue anyway`}),`\n`]}),`\n`,_jsx(_components.p,{children:`RemoteAgent.CHAT does not configure any OpenClaw settings — all model routing, API keys, and gateway behavior are managed through OpenClaw’s own configuration.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How it works`}),`\n`,_jsxs(_components.p,{children:[`The runner sends POST requests to `,_jsx(_components.code,{children:`http://localhost:{port}/v1/chat/completions`}),` using the OpenAI API format. The port is configurable and saved in `,_jsx(_components.code,{children:`~/.remoteagent/agents/{agentId}.json`}),`. The prompt is sent as a user message. Response chunks are streamed via server-sent events (SSE) and forwarded to Telegram as they arrive.`]}),`\n`,_jsx(_components.p,{children:`Example request body sent by the runner:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"default\"`}),_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:` \"messages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cyour prompt here>\"`}),_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:` \"stream\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`model`}),` field defaults to `,_jsx(_components.code,{children:`\"default\"`}),` — OpenClaw is responsible for routing that to the appropriate backend model.`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use cases`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Local model routing`}),` — run multiple models and route based on task type`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Cost control`}),` — apply rate limiting or budget caps at the gateway layer`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Custom middleware`}),` — inject system prompts, logging, or content filters before requests reach the model`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Air-gapped environments`}),` — run entirely offline with no external API calls`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`pros-and-cons`,children:`Pros and cons`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Pros`}),_jsx(_components.th,{children:`Cons`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Full control over the AI backend`}),_jsx(_components.td,{children:`Requires running and maintaining the OpenClaw daemon`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Works with any OpenAI-compatible model`}),_jsx(_components.td,{children:`OpenClaw daemon must be running before the agent starts`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Air-gap compatible`}),_jsx(_components.td,{children:`More setup complexity`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`No API key managed by RemoteAgent.CHAT`}),_jsx(_components.td,{children:`—`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`OpenClaw handles all its own configuration`}),_jsx(_components.td,{children:`—`})]})]})]})]})}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":"openclaw","description":"Connect RemoteAgent.CHAT to a self-hosted AI gateway via the OpenClaw HTTP interface.","href":"/runners/openclaw"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Requirements","slug":"requirements","depth":2,"children":[]},{"title":"Setting up OpenClaw first","slug":"setting-up-openclaw-first","depth":2,"children":[]},{"title":"Setup","slug":"setup","depth":2,"children":[]},{"title":"How it works","slug":"how-it-works","depth":2,"children":[]},{"title":"Use cases","slug":"use-cases","depth":2,"children":[]},{"title":"Pros and cons","slug":"pros-and-cons","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"remoteagentchat","siteName":"RemoteAgent.CHAT","title":"openclaw - RemoteAgent.CHAT","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-13T21:06:25.448Z","originalFileLocation":"runners/openclaw.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=\"Connect RemoteAgent.CHAT to a self-hosted AI gateway via the OpenClaw HTTP interface.\">\u003cmeta data-mint-head name=\"application-name\" content=\"RemoteAgent.CHAT\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/remoteagentchat/rKg0QyTCj8CadLFa/_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/remoteagentchat/rKg0QyTCj8CadLFa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/remoteagentchat/rKg0QyTCj8CadLFa/_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/remoteagentchat/rKg0QyTCj8CadLFa/_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/remoteagentchat/rKg0QyTCj8CadLFa/_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/remoteagentchat/rKg0QyTCj8CadLFa/_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/remoteagentchat/rKg0QyTCj8CadLFa/_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/remoteagentchat/rKg0QyTCj8CadLFa/_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/remoteagentchat/rKg0QyTCj8CadLFa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"openclaw - RemoteAgent.CHAT\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect RemoteAgent.CHAT to a self-hosted AI gateway via the OpenClaw HTTP interface.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"RemoteAgent.CHAT\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.remoteagent.chat/runners/openclaw\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://remoteagentchat.mintlify.site/_mintlify/api/og/v2?division=Runners\u0026amp;title=openclaw\u0026amp;description=Connect+RemoteAgent.CHAT+to+a+self-hosted+AI+gateway+via+the+OpenClaw+HTTP+interface.\u0026amp;theme=bfb3e23b8019de3f9df06c5e\u0026amp;signature=b6abc2f9d8e31d4b80c5c7eeda8fdc4d4abbdcd5e22841a2c2d21806acbb837e\">\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=\"openclaw - RemoteAgent.CHAT\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect RemoteAgent.CHAT to a self-hosted AI gateway via the OpenClaw HTTP interface.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://remoteagentchat.mintlify.site/_mintlify/api/og/v2?division=Runners\u0026amp;title=openclaw\u0026amp;description=Connect+RemoteAgent.CHAT+to+a+self-hosted+AI+gateway+via+the+OpenClaw+HTTP+interface.\u0026amp;theme=bfb3e23b8019de3f9df06c5e\u0026amp;signature=b6abc2f9d8e31d4b80c5c7eeda8fdc4d4abbdcd5e22841a2c2d21806acbb837e\">\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/remoteagentchat/rKg0QyTCj8CadLFa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"RemoteAgent.CHAT\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1B84FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.remoteagent.chat/runners/openclaw\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/runners/openclaw.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.remoteagent.chat/#organization\",\"name\":\"RemoteAgent.CHAT\",\"url\":\"https://docs.remoteagent.chat\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/remoteagentchat/px6-PCumF-TyyIWF/logo/light.svg?fit=max\u0026auto=format\u0026n=px6-PCumF-TyyIWF\u0026q=85\u0026s=73d901cf8b03ed547c879ca4b742ae75\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.remoteagent.chat#website\",\"name\":\"RemoteAgent.CHAT\",\"url\":\"https://docs.remoteagent.chat\",\"publisher\":{\"@id\":\"https://docs.remoteagent.chat/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.remoteagent.chat/runners/openclaw#webpage\",\"url\":\"https://docs.remoteagent.chat/runners/openclaw\",\"name\":\"openclaw\",\"description\":\"Connect RemoteAgent.CHAT to a self-hosted AI gateway via the OpenClaw HTTP interface.\",\"dateModified\":\"2026-04-13T21:06:25.448Z\",\"isPartOf\":{\"@id\":\"https://docs.remoteagent.chat#website\"},\"breadcrumb\":{\"@id\":\"https://docs.remoteagent.chat/runners/openclaw#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.remoteagent.chat/runners/openclaw#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Runners\",\"item\":\"https://docs.remoteagent.chat/runners/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"openclaw\",\"item\":\"https://docs.remoteagent.chat/runners/openclaw\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.remoteagent.chat/runners/openclaw#article\",\"headline\":\"openclaw\",\"name\":\"openclaw\",\"description\":\"Connect RemoteAgent.CHAT to a self-hosted AI gateway via the OpenClaw HTTP interface.\",\"url\":\"https://docs.remoteagent.chat/runners/openclaw\",\"mainEntityOfPage\":{\"@id\":\"https://docs.remoteagent.chat/runners/openclaw#webpage\"},\"dateModified\":\"2026-04-13T21:06:25.448Z\",\"publisher\":{\"@id\":\"https://docs.remoteagent.chat/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.remoteagent.chat#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"RemoteAgent.CHAT\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"RemoteAgent.CHAT\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/runners/openclaw.md","siteName":"RemoteAgent.CHAT","nav":{"global":{"anchors":[{"anchor":"remoteagent.chat","icon":"house","href":"https://remoteagent.chat"},{"anchor":"Telegram bot","icon":"paper-plane","href":"https://t.me/remoteagent_bot"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Overview","pages":[{"title":"What is RemoteAgent.CHAT?","href":"/introduction"}]},{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"Pairing","href":"/getting-started/pairing"},{"title":"Best Practices","href":"/getting-started/best-practices"}]},{"group":"Runners","pages":[{"title":"Runners overview","href":"/runners/overview"},{"title":"claude-code","href":"/runners/claude-code"},{"title":"claude-sdk","href":"/runners/claude-sdk"},{"title":"opencode","href":"/runners/opencode"},{"title":"codex","href":"/runners/codex"},{"title":"gemini","href":"/runners/gemini"},{"title":"aider","description":"Use Aider as the AI runner — open-source, multi-model, works with OpenAI, Anthropic, Ollama, and more.","href":"/runners/aider"},{"title":"openclaw","href":"/runners/openclaw"},{"title":"custom","description":"Use any binary as the AI runner — as long as it reads a prompt from stdin and writes output to stdout.","href":"/runners/custom"}]},{"group":"Using the Bot","pages":[{"title":"Sending commands","href":"/bot/sending-commands"},{"title":"Multi-project","href":"/bot/multi-project"},{"title":"Offline alerts","href":"/bot/offline-alerts"}]},{"group":"Platform","pages":[{"title":"Dashboard","href":"/dashboard"},{"title":"Pricing","href":"/pricing"}]},{"group":"Under the Hood","pages":[{"title":"Architecture","href":"/under-the-hood/architecture"},{"title":"Services","href":"/under-the-hood/services"},{"title":"Security","href":"/under-the-hood/security"}]},{"group":"Reference","pages":[{"title":"CLI reference","href":"/cli-reference"}]},{"group":"Support","pages":[{"title":"FAQ","href":"/faq"}]}]}]},"basePath":"","title":"openclaw - RemoteAgent.CHAT","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":[],"chunks":[]}