Skip to content
Docs

Ways to connect an agent

Some agents use tools from an AI client. Others write a script and call a system's API. Backa takes both, and every change ends up in the same audit log with Rollback.

Which one to use

MCPAPICommand line
ForAI clients: Claude, ChatGPT, Cursor, VS Code, Claude CodeCode the agent writes and runs itselfAgents that work in a terminal
Addresshttps://app.backa.ai/mcphttps://api.backa.ai/v1/<system>/…Coming soon
Sign-inOAuth in the browserA short code you approve
The agent getsEach system's tools, plus Backa's ownThe system's own REST API

If your agent lives in an AI client, use MCP. If it writes code that calls HubSpot, GitHub or Stripe, point that code at the API instead. You can use both in the same workspace.

MCP

Add one address to the agent as a custom connector or remote MCP server. The app sends you to Backa once to sign in, pick a workspace and slide to allow. Steps for each agent.

API

The agent sends the same request it would send to the system, with api.backa.ai/v1/<system> in front of the path. It signs in with a code that you approve in Backa, so nobody pastes a system's key or password. API for agents’ own code.

GET https://api.backa.ai/v1/hubspot/crm/v3/objects/contacts

Command line

For agents that use tools like gh or stripe in a terminal. Coming soon. Until then, those agents can call the API directly.

What stays the same

However an agent connects, Backa treats the change the same:

  • It is written to the audit log, with before and after, and can be rolled back there or by the agent.
  • Your policies apply: allow, require approval or block.
  • Emails and messages wait in the outbound queue before they reach people.
  • The anomaly detection stops it.
  • The agent never sees the systems' sign-ins. They stay with Backa.

Each agent shows up in Backa under its own name, under Agents and on every audit log row it made. You can suspend or remove one agent without touching the others.