Setu for AI agents
A model to think with, tools to act with, and limits so it never goes too far.
solutions-ai-agentsThe problem
An agent needs a model, the right tools for each step, and access to its users’ apps, without being able to send, spend or delete on its own.
What you can do
- Find the email a user mentions and draft a reply for them to approve.
- Look up free slots in a user’s calendar and propose a meeting time.
- Add an order to a sheet once the user approves it.
- Pick the right tool for each step with tool search, instead of loading the whole catalog.
The parts you use
Models API
BetaOpenAI-compatible chat completions with streaming and tool calls. Point your OpenAI client at Setu and keep your code.
Learn more about Models APITool search
BetaDescribe the task in plain words and get the right tools back, so your agent does not carry the whole catalog.
Learn more about Tool searchToolkits and actions
BetaRun actions in Gmail, Calendar, Drive, Docs, Tasks, Sheets and more. Write actions wait for approval.
Learn more about Toolkits and actionsSafety and controls
BetaScoped keys, approvals, spend caps, rate limits, an audit log and data retention on every call.
Learn more about Safety and controls
Run an action for a user
Replace $SETU_API_KEY with a key from the Setu console.
# Run an action for one of your users.
# Idempotency-Key: your own id, so a retry never runs the action twice.
curl https://setu.supremeai.services/api/setu/v1/executions \
-H "Authorization: Bearer $SETU_API_KEY" \
-H "Setu-External-User: customer_42" \
-H "Idempotency-Key: order-1234" \
-H "Content-Type: application/json" \
-d '{
"action": "GMAIL_SEARCH",
"arguments": { "query": "in:inbox" }
}'
# Write actions (for example GMAIL_SEND_EMAIL) answer 202 with
# "approval_required": true until someone approves them.
# 428 "connect_required" means the user has not connected the app yet.You stay in control
Write actions answer “approval required” until someone approves them. Every call is checked against the key’s scopes, rate limits and spend cap, and goes to the audit log.
What it costs
No Setu fee during beta. Calls use the credits in your SUPREME AI account.