Set Up an Agent
Setup Prompt
Paste this into your favorite LLM so it can do the setup itself.
Set up this agent as a bot in Inline:
https://inline.chat/docs/agents.mdIdeally specify which of your agents you want to bring and whether it's local or remote. For example:
Set up my local OpenClaw as a bot in Inline:
https://inline.chat/docs/agents.mdInline for Mac
If you have the macOS app, we have a wizard for setting up your local agents. It sets up the CLI, finds your harnesses, installs the plugins, configures them, creates a bot, authenticates the plugin, and opens the chat ready to use. It may be brittle given the number of moving parts, so if it fails, try those steps manually. Open Inline → Settings → Bots → Set Up Agent… or choose Set Up an Agent… from the app menu.
Before you start
Install the agent on the machine that will run it, and sign in to it there:
- Codex: 0.146 or newer. Run
codex login. - Claude Code: 2.0.32 or newer. Run
claude, then/login. CLI 0.7.19 and earlier also need Node.js 22 or newer and npm. - Hermes and OpenClaw: follow their guides below.
Inline does not install these for you. Setup checks them and tells you what is missing.
The agent works in your home folder unless you pass --folder /path/to/project
to inline agents setup.
Using the CLI
Check the CLI:
inline --versionInstall it if missing:
curl -fsSL https://inline.chat/cli/install.sh | shSign in if needed:
inline login --browser --no-openThis prints a URL and a 6-digit code. Open the URL, sign in, and enter the code in the browser. Keep the command running until it finishes.
For an existing remote Hermes, follow Hermes on Umbrel or a server first. Run the CLI in the same container, service user, and profile as the existing agent. Discovery does not search remote machines or other containers.
Find installed agents:
inline agents discoverRun interactive setup:
inline agents setupAgents and scripts should select the current runtime explicitly:
inline agents setup --target codexTargets are codex, claude (Claude Code), opencode, amp, hermes, and
openclaw.
The agent's bot is private: only you can message it, and nobody else sees a
composer for it or can mention it. Share it during setup with --share-user ID,
--share-space ID or --admin ID, or later from the bot's chat info under
Shared With. See Who Can Message a Bot.
Support status:
- Codex: stable.
- Claude Code: beta.
- OpenCode: beta.
- Amp: experimental.
- Hermes Agent: beta.
- OpenClaw: experimental.
Native Codex and Claude bridge
Codex and Claude Code run on the native bridge (v2). Each thread has one native session per agent, with work state, settings, approval and question interactions, and controls.
OpenCode 2 and the current verified Amp adapter also use bridge v2 through ACP,
with a separate process and session for each chat. Existing OpenCode 0.x/1.x
installations and older Amp adapters keep their previous bridge. New OpenCode
setups require OpenCode 2. After upgrading the CLI, existing Amp users can
install the new adapter with inline agents setup --target amp.
Advertised provider commands are forwarded to the current session, including
OpenCode /compact. Amp explains alternatives when compaction is unavailable.
If an older saved session cannot be resumed, its binding stays intact; retry
or use /new to explicitly start a fresh conversation.
Skills
Skills installed for Codex, Claude Code, OpenCode or Amp on the bridge machine work in Inline. The bridge publishes their names and descriptions to Inline when it starts and checks for changes every few minutes, using the skills available in the bot's default folder.
- Type
/skill-namein a thread to run one. Skills whose names fit the command menu also appear in compose autocomplete, with-shown as_. - Choose one for a Skilled Agent in the bot's settings on iOS or macOS. The agent then uses that skill whenever it's mentioned.
Inline's own commands, such as /status, take priority over a skill with the
same name.
Upgrading from an earlier CLI needs no setup. Existing conversations continue
in their Codex or Claude session, or start a fresh one when that session is no
longer on the machine. For a bridge installed before the new updater, wait until
your agents are idle before the first upgrade, then run inline bridge restart
once using the newly installed executable.
Once enrolled, managed updates wait for active work and pending replies to
finish; idle sessions don't hold them back. Automatic runtime activations are
spaced at least six hours apart, so the terminal and background bridge can
temporarily report different versions; running inline update yourself switches
the bridge at its next idle moment. inline bridge status shows the version the
background bridge runs. Homebrew-owned CLI executables
stay managed by Homebrew; the enrolled background bridge can update independently.
Check the installed binary and provider paths with inline bridge doctor --json.
If another CLI installation shadows it on PATH, use the updated executable’s
full path for these commands.
To roll back, set INLINE_BRIDGE_V2=off in the bridge service's environment
and restart it; a variable set only in your terminal does not reach an existing
background service.
Verify
Setup prints {name} is ready in Inline. with the bot's username. With --json,
a ready setup has:
status: "ready"service.ready: true- A bot username and
openUrl
Open the bot via CMD+K or search on iOS and start chatting.
Status
Check a local bridge (for Codex/Claude/OpenCode/Amp setups that use our bridge):
inline bridge statusCheck Hermes:
hermes inline status --json --probeCheck OpenClaw:
openclaw channels status --channel inline --probe --jsonOpenClaw · Hermes Agent · Local-agent boundaries (Technical)