Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
| 1 | # CLI agent sign-in e2e (PRDE-1138) |
| 2 | |
| 3 | Asserts the headless agent onboarding contract: |
| 4 | |
| 5 | - `composio login --agent` takes an unattended agent from nothing to an |
| 6 | authenticated CLI (mocked `agents.composio.dev` via |
| 7 | `COMPOSIO_AGENTS_BASE_URL`), verified with a follow-up `composio whoami`. |
| 8 | - A plain piped `composio login` prints the OAuth URL + poll instructions, |
| 9 | offers the `composio login --agent` path for unattended agents, and never |
| 10 | auto-creates an account (guardrail: humans in pipes are not signed up). |
| 11 | - A stored READY agent identity (`agent.json`) lets plain headless |
| 12 | `composio login` complete unattended by reuse, without signup. |
| 13 | |
| 14 | All network surfaces are mocked by |
| 15 | `ts/packages/cli/scripts/mock-agents-server.ts`; no real accounts are created. |