← Blog

How do you give an AI agent built on Composio its own computer?

Orgo is a Composio toolkit with 34 tools. Connect an Orgo API key once per user and your Composio agent can create, control and delete computers next to Gmail, GitHub and Slack.

Quick answer: Orgo is a Composio toolkit with the slug orgo. Create a Composio session with toolkits=["orgo"], connect an Orgo API key for each user once, and your agent can create a computer, run code on it, read its screen, click and type, and delete it, in the same session it uses for Gmail, GitHub or Slack.

  • The toolkit has 34 tools. It acts with the Orgo API key you connect, so it can do what that key can do and no more.
  • The key is stored by Composio for one user_id, not passed through your app or the model.
  • Computers the agent creates run on your Orgo account and bill to it, the same as computers you make from the dashboard, the API or the CLI (Composio guide).

For a vertical agent product, this is the shortest path when your agent already runs on Composio: you own the agent and its connections, and Orgo owns the computer it works on. Use a key made for the agent, limited to one workspace, and the agent can touch that workspace and nothing else.

What do you need before you start?

You need three keys:

  • An Orgo API key, created at orgo.ai/api-keys.
  • A Composio API key, copied from your project's settings in the Composio dashboard and set as COMPOSIO_API_KEY.
  • A model key. The Orgo guide's examples use Claude, so they set ANTHROPIC_API_KEY. Composio supports other providers too.

How do you limit what the agent's key can reach?

Give the toolkit a key made for the agent, not your own account key. Every Orgo key has a scope, permissions and an expiry, and each one narrows what the agent can do (Key scopes, Key permissions, Expiry and rotation):

LimitWhat it does
Scope: one workspaceA workspace key reaches only that workspace and the computers and files in it. Any other workspace ID or computer ID is refused.
Permissions: customA restricted key has a level (none, read or write) in each of twelve groups, such as computers and control. It can call only the endpoints listed for its groups.
ExpiryA key can expire in 1 to 365 days, or on a date at most a year away. Past that, it answers 401 with code key_expired.

Two things to know. Read is not always harmless: the control group at read takes screenshots of a computer's screen and reads files on it. And the four template tools (ORGO_LIST_TEMPLATES, ORGO_GET_TEMPLATE, ORGO_LIST_TEMPLATE_VERSIONS and ORGO_VALIDATE_TEMPLATE) need an account-wide key. With a workspace-scoped key they fail with 403 and code workspace_scope_mismatch.

To cut the agent off, delete the key at orgo.ai/api-keys. For the longer version of this, see How do you give an AI agent an API key that can't touch everything?

How do you connect an Orgo key to Composio?

The Orgo toolkit signs in with an API key, not OAuth. Composio stores the key under the user_id you pass when you create a session, so you connect it once per user. There are two ways:

  • Let the agent ask. The first time the agent calls an Orgo tool with no connection, Composio's COMPOSIO_MANAGE_CONNECTIONS tool returns a Connect Link. Show it to the user.
  • Connect up front. Create the link yourself before the agent runs, for onboarding or a settings page:
python
from composio import Composio
 
composio = Composio()
 
session = composio.create(user_id="user_123", toolkits=["orgo"])
connection_request = session.authorize("orgo")
 
# Open this URL and paste the Orgo API key.
print(connection_request.redirect_url)

Use a stable ID for user_123, such as the person's database ID. The key goes to Composio, not through your app or the model. A TypeScript version is in the Composio guide.

How do you hand the agent Orgo tools?

Create a session limited to the orgo toolkit, give its tools to the model, and run the tool calls it asks for. With Claude and the Python provider:

bash
pip install composio composio_anthropic anthropic
python
import json
 
import anthropic
from composio import Composio
from composio_anthropic import AnthropicProvider
 
provider = AnthropicProvider()
composio = Composio(provider=provider)
client = anthropic.Anthropic()
MODEL = "your-claude-model-id"
 
session = composio.create(user_id="user_123", toolkits=["orgo"])
tools = session.tools()
 
messages = [
    {
        "role": "user",
        "content": "List my Orgo workspaces, then create a computer named qa-browser "
        "in the first one. I confirm the creation. Reply with its computer ID.",
    }
]
 
response = client.messages.create(
    model=MODEL,
    max_tokens=4096,
    tools=tools,
    messages=messages,
)
 
while response.stop_reason == "tool_use":
    tool_use_blocks = [b for b in response.content if b.type == "tool_use"]
    results = provider.handle_tool_calls(response=response, session=session)
    messages.append({"role": "assistant", "content": response.content})
    messages.append(
        {
            "role": "user",
            "content": [
                {
                    "type": "tool_result",
                    "tool_use_id": tool_use_blocks[i].id,
                    "content": json.dumps(result),
                }
                for i, result in enumerate(results)
            ],
        }
    )
    response = client.messages.create(
        model=MODEL, max_tokens=4096, tools=tools, messages=messages
    )
 
for block in response.content:
    if block.type == "text":
        print(block.text)

If your client speaks MCP, create the session with mcp=True and pass session.mcp.url and session.mcp.headers to it. No provider package is needed. session.mcp.headers holds your Composio API key, so keep it server side.

What can the agent do with the Orgo toolkit?

The toolkit has 34 tools in seven groups:

GroupTools
WorkspacesORGO_LIST_WORKSPACES
ComputersORGO_CREATE_COMPUTER, ORGO_GET_COMPUTER, ORGO_DELETE_COMPUTER, ORGO_SET_COMPUTER_POWER_STATE (start, stop, restart), ORGO_GET_COMPUTER_OPERATION, ORGO_SUSPEND_COMPUTER, ORGO_RESUME_COMPUTER, ORGO_GET_COMPUTER_SUSPENSION, ORGO_WAIT_ON_COMPUTER
Screen and inputORGO_GET_SCREENSHOT, ORGO_CONTROL_POINTER (click, drag, scroll), ORGO_MOVE_MOUSE, ORGO_SEND_KEYBOARD_INPUT
Code and agentsORGO_EXECUTE_CODE (Bash or Python), ORGO_RUN_COMPUTER_AGENT
ScreensORGO_LIST_SCREENS, ORGO_GET_SCREEN, ORGO_CREATE_SCREEN, ORGO_RESIZE_SCREEN, ORGO_DELETE_SCREEN
FilesORGO_LIST_FILES, ORGO_UPLOAD_WORKSPACE_FILE, ORGO_PLACE_FILE_ON_COMPUTER, ORGO_START_FILE_UPLOAD, ORGO_COMPLETE_FILE_UPLOAD, ORGO_EXPORT_FILE, ORGO_GET_FILE_DOWNLOAD_URL, ORGO_DELETE_FILE
TemplatesORGO_LIST_TEMPLATES, ORGO_GET_TEMPLATE, ORGO_LIST_TEMPLATE_VERSIONS, ORGO_VALIDATE_TEMPLATE, ORGO_GET_TEMPLATE_SCHEMA

Every parameter, with its type and allowed values, is on Composio's Orgo toolkit page.

Three IDs come up. workspace_id is required by ORGO_CREATE_COMPUTER with your own Orgo key, and ORGO_LIST_WORKSPACES returns every workspace the key can reach, with its computers. computer_id is the computer's UUID, returned by create and by the list. screen_id is default for the screen the computer boots with, and ORGO_LIST_SCREENS returns the rest.

Which tools ask for confirmation?

Eleven tools change something you may not be able to undo. Each takes a required confirmed boolean, which the model must set to true only after the user approves that exact action:

ORGO_CREATE_COMPUTER, ORGO_DELETE_COMPUTER, ORGO_SET_COMPUTER_POWER_STATE, ORGO_SUSPEND_COMPUTER, ORGO_RESUME_COMPUTER, ORGO_EXECUTE_CODE, ORGO_RUN_COMPUTER_AGENT, ORGO_CONTROL_POINTER, ORGO_SEND_KEYBOARD_INPUT, ORGO_DELETE_SCREEN and ORGO_DELETE_FILE.

confirmed is an instruction to the model, not a check. Composio does not send it to Orgo, and an agent running with no one watching can set it itself. The real limit is the key, so scope it as described above.

Should you use Composio or Orgo's own MCP server?

Use Composio when your agent already runs on Composio, or needs Orgo next to other apps in one session, with one place for each user's connections. For an MCP client that needs only Orgo, such as Claude, Cursor or Codex, connect Orgo's MCP server directly. To call Orgo from your own code without either, use the API or the CLI.

You haveUse
An agent on Composio with several appsThe orgo Composio toolkit
An MCP client that needs only OrgoOrgo's MCP server
Your own backend codeThe API or the CLI

Does it work the other way round?

Yes. An agent running on an Orgo computer, such as Hermes or OpenClaw, can use Gmail, Google Calendar, Slack, Notion and more through Orgo's Connectors. Orgo connects some of those apps through Composio, so their sign-in pages show Composio's name. Connecting an app there needs no Composio account of your own.

What limits still apply?

  • Composio's tools call the same Orgo API as everything else, so your account's limits apply (Account limits).
  • A tool result comes back as Composio's { "data", "error", "successful" } object, with Orgo's response or error inside it.

FAQ

Is Orgo available as a Composio toolkit?

Yes. The slug is orgo, and it has 34 tools.

Does the agent get its own Orgo account?

No. It acts with the Orgo API key you connect, and computers it creates run on your Orgo account and bill to it.

Do I need OAuth to connect Orgo to Composio?

No. The Orgo toolkit signs in with an API key. Composio stores it for one user_id.

Can I limit the agent to one workspace?

Yes. Make a workspace-scoped key and connect that one. The four template tools need an account-wide key and fail with 403 workspace_scope_mismatch on a workspace key.

Does confirmed: true stop an agent from deleting a computer?

No. It is an instruction to the model. Composio does not send it to Orgo. Limit the key instead.

How do I turn the agent's access off?

Delete its key at orgo.ai/api-keys.

Sources