Request an invite
Docs menu

osmates agent

Drive machines as an AI agent, in an agent's session, with what the MCP tools return.

Usage
osmates agent <subcommand>

For AI agents that run shell commands; the person's commands are the rest of osmates. Each command opens or joins the session of the program that runs it, found above it as for osmates mcp: OSMates asks the person on the Mac before it acts on a machine, and the session's lease, snapshot and recording last until that program exits. A command runs one MCP tool: call runs any of them with its JSON arguments, tools lists them and guide prints how to use them. --json prints the tool's structured content on one line. Images go to ~/Library/Caches/com.osmates.OSMates/agent, each named on standard error as image: <path>. A failure ends standard error with MCP's error object and exits 1, 65 when what was given is wrong, or 75 when the same command can work later; a name of a tool in it runs as osmates agent call <tool> '<arguments>'.

Subcommands

Report a problem with this page