/docs/ · Connect agents and tools

Service connections

Connecting GitHub, Stripe, Sentry and other services for AgentForge agents: the key stays with the app, and every write in Production needs your approval.

A service connection lets agents use an outside service your project depends on, such as GitHub, Stripe or Sentry. You connect each service once in Settings. When an agent needs the service, it asks AgentForge, and the app makes the request and adds the key itself.

Supported services

Service Server Examples of what agents can do
GitHub Cloud List repositories, open issues and CI runs; comment on an issue
Sentry Cloud, US, EU (Germany) or your own List projects and recent errors; mark an error as resolved
Supabase Cloud List projects, Edge Functions and migrations; run an SQL query
Stripe Cloud Read the balance, recent payments and subscriptions; issue a refund
PostHog US, EU or your own List projects, insights and feature flags; run a query
Vercel Cloud List projects and deployments; read a deployment log; deploy
Coolify Your own only List applications, servers and deployments; start a deployment
Hostinger Cloud List VPS machines, domains and DNS records; restart a VPS

The last example for each service is a write, so it needs read and write access, and in Production your approval.

Connecting a service

  1. Open Settings › Accounts & devices › Integrations.
  2. Press Connect next to the service.
  3. Choose the Environment (Development or Production) and the Access (Read only or Read and write). For Sentry, PostHog and Coolify, choose the server or enter your own server address.
  4. Create a key at the service and paste it. For most services the Create a key link opens the right page; for Coolify the form explains where the key is created.
  5. Press Test and save. AgentForge tries the key against the service before saving it and shows the minimum permission the test needs.

Each environment of a service is a separate connection; Connect another environment adds the other one. Change key replaces the key, and Remove connection deletes the connection together with its key.

After a test the connection shows its state:

State What to do
Connected Nothing; agents can use the connection
Key rejected The key is invalid, expired or revoked; create a new key and paste it with Change key
Missing permission Add the named permission to the key at the service, then press Test again
Unreachable Check the internet connection and the server address, then press Test again
Record broken: reconnect Enter the key again with Change key

Environments and access

  • A request that names no environment goes to Development. Production is used only when the agent asks for it explicitly.
  • Read only is the default. Read and write lets the agent create, change and delete records in the service, and turning it on asks you to confirm.
  • Known endpoints that return secrets or change state count as writes, even when they look like a read.
  • An agent in the reviewer role only reads, even on a read-and-write connection.
  • Read only blocks writes, but the agent can still see the data in the service.

Approving a write in Production

For every write request in Production, the app opens an approval card in the Approval Center. The agent does not write this card: it is marked Written by the app, and its content is the request itself. Nothing is sent to the service until a person approves it.

  • The card is high risk. It is approved on the desktop; from a phone or Telegram it can only be rejected.
  • The approval policy and hands-free mode cannot pass this card; only a person’s approval on the desktop counts. With hands-free mode on the card still waits; the request is not sent until you decide.
  • After approval the agent repeats the same request. The approval is single-use, stays valid for at most 30 minutes, and applies only to that request and the project where the card was opened.

Which agents can use them

  • Only agents in Claude Code, Codex and Gemini CLI consoles. CLIs that do not get the AgentForge tools, such as Aider, OpenCode or Cursor, cannot.
  • Connections are shared by all projects and agents on this computer.
  • The feature works in the desktop app with a valid license. Agents see the connected services, their environment and access through the integrations_status tool and send requests with integration_request; see MCP tools.

What protects the key

  • The key is stored on this computer with the operating system’s per-user encryption. If that encryption is unavailable, keys cannot be saved.
  • The app makes the request and adds the key itself. The key is not given to the agent and is not written to the agent’s environment, the project, tool responses or logs.
  • Agents run as your Windows user. This protects against mistakes and a misled agent, but it is not absolute against a program set on digging the key out.
  • Endpoints that return secrets or change state are recognised from a list of known endpoints, and one missing from the list can slip through. The key you create at the service, with the narrowest permissions the work needs, is the real protection.
  • Your own server address must start with https://; plain http is not accepted. Link-local addresses such as 169.254.x.x are refused, so the key never reaches a cloud metadata service.