crevio.co/app power the REST API, the TypeScript SDK, and the MCP server — so an AI agent has full parity with a human operator. It can create products, run checkouts, send broadcasts, post to social, build and deploy a website, place phone calls, and research the web. Crevio is the platform that runs your business; the agent surface is how you let AI run it programmatically.
The agentic model
There are three layers, from “tell the agent what to do right now” to “let the agent run your business on its own.”MCP / agent surface
Two tools —
code_search + code_execute — that let any LLM discover and call the entire Crevio API in code.Tasks
A persisted instruction + schedule + agent + autonomy level. Crevio’s own AI workforce, running on triggers you define.
Events
Internal and third-party signals (an order paid, a form submitted) that fire Tasks automatically.
”Anything a user can do, an agent can do”
This is the core design principle. There is no separate, reduced “agent API.” When an agent callsPOST /v1/products, it routes through the exact same controller, authorization, validation, and tenant isolation as a human clicking Create product in the dashboard. Two consequences:
- Same capabilities. Every domain in the API catalog — products, checkouts, customers, discounts, email, socials, sites, domains, calls, images, web research — is available to an agent.
- Same rules. The same gotchas apply: params are unwrapped (top-level), associations are bare prefix-id strings (
product: "prod_abc123"), money is in cents, and creation order matters (a product needs a price variant before it can goactive).
The MCP / agent surface
Rather than exposing one MCP tool per endpoint (which burns tens of thousands of tokens before the agent does anything), Crevio uses Code Mode: the agent writes Ruby code against two tools.- code_search
- code_execute
A read-only tool to discover endpoints. The agent writes Ruby to filter a
tools array describing every operation.The two agent types
Every Task (and the dashboard chat) runs as one of two agents. Pick the one whose job matches the work.| Agent | What it does | Typical work |
|---|---|---|
business (default) | Operates your business through the API — the marketing/ops/sales surface. | Launch a product, write and send broadcasts, post to social, research competitors, follow up with leads, place calls. |
engineering | Writes and ships code on one of your Sites. The site’s repo is mounted as its workspace; it can build and deploy. | Add a page to your website, fix a bug, redesign a section, ship a new feature, deploy to production. |
engineering agent is scoped to a specific site via site_id (the repo is mounted as its workspace and defaults to your account’s default site). The business agent works across your whole account.
Tasks: the agent as an autonomous workforce
A single API call does one thing once. A Task is a standing instruction: a prompt, an agent, a schedule, and an autonomy level, persisted on your account. Crevio runs it on the trigger you choose — once, on an interval, on a cron schedule, or whenever an event fires — and each execution is a Task Run you can inspect, approve, or respond to.Task runs consume credits — every AI operation (messages, media generation, web research, calls) is metered pay-per-call. Check your balance and spend with
GET /usage.The building blocks
| Primitive | Prefix | What it is |
|---|---|---|
| MCP tools | — | code_search + code_execute: discover and call the whole API in code. |
| Task | task_ | A standing instruction: prompt + agent + trigger + autonomy + delivery. |
| Task Run | trun_ | One execution of a Task — status, summary, credits consumed, tool calls. |
| Event | — | An internal signal (order.paid, form_submission.created) that can trigger an event-Task. |
| Event Source | — | A third-party trigger (a connected app’s event) that fires an event-Task. |
| Site | site_ | A website the engineering agent builds and deploys to. |
Next steps
Tasks (your AI workforce)
Triggers, agents, autonomy modes, delivery, and responding to supervised runs.
Events & Event Sources
Fire Tasks automatically from internal events and third-party apps.
MCP Server
Connect Claude, Cursor, or any agent to the full API via Code Mode.
Usage & credits
See how AI operations are metered and check your balance.

