# How it works

The technical view of Connect, Request, Approve, from the two layers of access to tools, paused creation, read-back, the Green Room and the Logbook.

Updated: 2026-12-03
Status: In development. Not available yet. This page describes how it will work when it ships, and the details may change.
Canonical: https://adquimo.com/docs/how-it-works

Adquimo works in three steps: **Connect**, **Request**, **Approve**. This page explains what happens underneath each one.

## Two layers of access

Adquimo sits between your AI tool and your ad platforms, and each side has its own permission:

| Layer | Who grants it | How | How to remove it |
| --- | --- | --- | --- |
| Your AI tool → Adquimo | You, once per AI tool | OAuth sign-in to Adquimo, or an Adquimo API key | Remove the AI tool in Access, or revoke it in the AI tool |
| Adquimo → an ad platform | You, once per platform login | The platform's own sign-in, or your advertiser API key where a platform works that way | Remove access in Access, or in the platform's own settings |

Your AI tool never receives your ad platform tokens. It talks only to Adquimo, and Adquimo calls the platform with access you granted separately.

## Connect

You give Adquimo access through each platform's own sign-in. Adquimo stores the resulting token encrypted and never sees your platform password. After signing in, you choose which ad accounts Adquimo may use: those are your **active** accounts. Connecting reads; it never changes anything. See [Access](https://adquimo.com/docs/concepts/access).

## Request

You ask for work in plain language, in your AI tool or in the Adquimo app. Behind the request, the work is done by **tools**: named operations such as reading performance, researching keywords or creating a campaign.

To keep your AI tool's context small, Adquimo shows it a short list of tools: a few direct ones (status, usage, account selection, search) and one **router** per ad platform. A router reaches every tool for its platform through two actions, `list_tools` and `execute`. Your AI tool finds the right tool with `search_tools`, then calls it through the router.

Every tool call follows the same path on Adquimo's servers:

1. Check the input against the tool's schema.
2. Check your workspace's fair-use limits and usage.
3. Resolve which connection and ad account the call is for.
4. Apply the safety policy for that kind of change.
5. Call the platform, with a timeout.
6. For changes, read the result back from the platform.
7. Record the usage and, for changes, write the Logbook entry.
8. Return a result your AI tool can read: what is now true, what was done, what needs you and a suggested next step.

## Approve

Changes are sorted by what they can do to your money:

- **Creating** something (a campaign, an ad set, an ad) runs right away, and the result is **paused**.
- **Going live**, and anything that raises spend, waits for your explicit yes. In an AI tool you see a preview first: the exact change, the account, the cost and whether it can be undone. Nothing happens until you confirm.
- **Removing** anything needs a separate confirmation that names what will be lost.
- **Lowering spend or pausing** runs when you ask, with your AI tool's own permission prompt.

When an agent, rather than you, proposes a change, it goes to the [Green Room](https://adquimo.com/docs/concepts/green-room), where it waits with its reason, cost and deadline until someone approves or declines it.

## Read-back and the Logbook

Adquimo calls a change done only after it reads the new state back from the platform. If the platform times out, the result says the outcome is unknown and names the objects to check; Adquimo never retries a failed change on its own.

Every change, from any surface, is written to the [Logbook](https://adquimo.com/docs/concepts/logbook) with what changed, before and after, who proposed it and who approved it.

## Related

- [Access](https://adquimo.com/docs/concepts/access)
- [Paused by default](https://adquimo.com/docs/concepts/paused-by-default)
- [Green Room](https://adquimo.com/docs/concepts/green-room)
- [Logbook](https://adquimo.com/docs/concepts/logbook)
