# Composio apps Published Sep 28, 2026 · Updated Oct 23, 2026 A Composio app is a connection type. Any user of a Kotatsu deployment can add one toolkit with Composio-managed OAuth or a key or token sign-in on **Connections → Add a Composio app**. All apps of a deployment run through one Composio project. Composio stores and refreshes the provider sign-in of each app. Kotatsu stores only Composio IDs, the pinned action list, its proofs, and its audit events. ## How Kotatsu uses the project - Kotatsu calls the Composio REST API v3.1 directly (`https://backend.composio.dev/api/v3.1`). It uses no Composio SDK. - Each Kotatsu account (tenant) is one Composio user. The user ID is derived from the deployment and tenant IDs. Kotatsu computes it on the server. A browser or an agent never supplies it. Two deployments that share one Composio project get different users. - Before each call, disconnect, and sign-in check, Kotatsu asks Composio for the connected account filtered by that user ID and refuses the call unless exactly that account, toolkit, and auth config come back. - Kotatsu lists a toolkit's actions at one toolkit version and sends that version on every call. **Update actions** on the card pins the current version again. - Kotatsu never uses Composio sessions, multi-execute, proxy execute, tool search, or the `composio` meta toolkit. - Each Kotatsu account has 1000 Composio calls in 24 hours, each connected account 300 calls an hour, and each Kotatsu account at most 10 pending app proposals from agents. ## Set up the project Do these steps in the Composio dashboard of the project that the deployment uses. 1. **Create a scoped project API key.** Give it these permissions only: Toolkits Read, Tools Read, Auth configs Read and Write, Connected accounts Read and Write, and Tool execution (Legacy) Write. Give it no Session, Proxy, MCP, Triggers, or Webhooks permission. Kotatsu needs Auth configs Write only to create a managed OAuth or custom key auth config on the first **Connect** of a toolkit. 2. **Turn off payload storage.** Open **Settings → General → Log storage** and select **Don't store data**. Composio then keeps only the audit record of each call (tool, time, result, IDs) and drops arguments and responses. The setting has no API field for an existing project and no per-call option, so Kotatsu cannot set it. The pricing page lists zero data retention as not included on the Free plan; if the dashboard refuses the setting, the plan decides. After the change, run one call and read the new log row to confirm that it holds no payload. 3. **Auth configs.** Kotatsu creates a config named `Kotatsu ` on the first **Connect** for managed OAuth and key apps. You do not create dashboard configs for offered apps. - Managed OAuth uses Composio's own OAuth app. OAuth that needs your own developer app is not offered. - Key apps use `API_KEY`, `BEARER_TOKEN`, `BASIC`, or `BASIC_WITH_JWT` through a custom auth config. Kotatsu sends required creation defaults, such as a Base URL, and leaves optional settings out. An app with a required setup field that has no default cannot be added or proposed. For an unsupported required field, choose another offered app or a documented direct REST connection. - Composio's hosted page collects the key, token, username, or password. Kotatsu does not collect, store, or log those credentials. - Kotatsu keeps an enabled stored config for an old card. Otherwise it uses the oldest enabled config for the card's sign-in kind. OAuth prefers custom OAuth configs before managed ones. Key apps use only key schemes. - Kotatsu never enables, edits, or deletes an auth config. Existing cards remain available, including old no-sign-in cards. 4. **Leave callback identity verification off** (**Settings → General → Configuration**). With a verifier URL set, Composio ignores the callback URL that Kotatsu sends, and **Connect** cannot finish. Kotatsu does not implement the verifier route yet. 5. **Prove the user filter once in a development project** before production: create a link for user A, then confirm that `GET /connected_accounts?user_ids=&connected_account_ids=` returns no item and the same query with user A returns one. Delete the test account after the check. If the dashboard offers project two-factor ownership checks for tool execution, turn them on as an extra guard. ## Set the Worker secret Set `COMPOSIO_API_KEY` by pipe as `docs/runbooks/production-deploy.md` describes, then deploy in place. Without the secret, the **Add a Composio app** link, the catalog page, the connect routes, and the Composio proposal shape are hidden or refused, and every other connection works as before. ## Operate - **Stop all key use** on **Connections** also refuses Composio catalog reads, adds, connects, sign-in checks, action updates, and calls. **Disconnect** still stops Kotatsu's use of an account at once; the removal at Composio waits until key use resumes, and the card offers **Retry removal**. - Card states: **pending** (sign-in not finished), **active**, **expired** (connect again), and **failed** (with the reason). A rate limit, an exhausted quota or credits, and a refused project key show as a line on the account. Agents get `rate_limited`, `quota_exhausted`, `composio_unavailable`, or `sign_in_required`. - Only the signed callback in the browser that started **Connect** can make an account active on the owner path. **Check status** leaves an enabled remote ACTIVE account pending through its link window, so the bound callback can still finish. After that window, the check marks it **failed** (`unbound`) and requests deletion with revocation. The connect-link Waiting check keeps its existing completion path. - A validated callback with `status=failed` marks a missing or initiating remote account as a failed unfinished attempt. A bound remote ACTIVE account still becomes active, whatever the return status says. `status=success` alone never proves completion. Kotatsu ignores Composio's error text. - Each unfinished attempt offers **Try again** and **Remove**. **Try again** creates a new hosted link before retiring the selected attempt and queuing its deletion without revocation. If link creation fails, the old row stays. The replacement works at the three-account limit. A card without a routable account shows **Try again** at the top for the newest unfinished attempt, and its rows offer only **Remove**. With a routable account, the top button is **Connect another account**. It appends a separate row without cancelling an unexpired attempt, and unfinished rows keep **Try again**. **Try again** keeps a name the owner gave the attempt. - Unfinished attempts do not hide a working account's **Connected** status. A pending row says "Waiting for the sign-in to finish." through its link window, then "Sign-in did not finish." Page loads decide that text without checking Composio or changing the stored row. Closing a Composio sign-in tab refreshes the card and shows "Sign-in did not finish. Try again." The card then stops saying it is waiting for that attempt. If the closed tab still finishes the sign-in, the card refreshes to the connected account and the tab closes. - Agent tools report the same default account as the card. - When an attempt becomes active, it takes the default from an unfinished primary. Removing or replacing an unfinished primary selects the first routable account, then the replacement or next row if none is routable. Default calls also use the first routable account when an old stored primary is unfinished. Explicit account selection stays the same. - A failed connection made from pending stores `unfinished: true`. Old pending rows and failures with `link_expired` or `unbound` are also unfinished. Other old failures have unknown history and keep their existing default-call refusal. Once-active failures and expiries still need attention, and their call problems still show **Degraded**. - The catalog page loads toolkit logos from `https://logos.composio.dev` in the user's browser. The Connections page loads no remote image. - The card's **… → Remove** archives the app. An agent can archive it too, with `integration_archive`. An archived app stops working at once, makes no Composio call and shows under **Archived**. The owner can **Restore** it for 30 days. Then the daily sweep removes it as below; the archived card's **… → Delete now** removes it at once. While key use is stopped or the Composio key is absent, the sweep keeps the app. - **Disconnect** removes one account after an ownership check. For active or expired accounts, Kotatsu requests revocation. It deletes pending and failed accounts without revocation. - Removing a whole app, including a pending app, **Delete now**, or the daily sweep, checks ownership and requests `revoke_on_delete=true` for each current connected account ID. This includes pending and failed accounts, because sign-in may have completed at Composio. - **Retry removal** runs the queued deletes again. If a delete with revocation returns 400 or 409, Kotatsu retries it without revocation. Failed deletes stay queued. - An archived Composio Linear card stays under **Archived**. The main Linear card offers its own OAuth sign-in. - When a user deletes the Kotatsu account, Kotatsu removes that user's Composio accounts first. If key use is stopped, the key is absent, or a removal fails, Kotatsu writes the remaining connected account IDs to `composio/orphans/.json` in the bucket. Delete those accounts in the Composio dashboard, then delete the object.