Calypso Context · Agents

One runtime, specialized behaviour.

calypso-agent is your workspace default. A named agent gets its own bucket scope, role, answer depth, and presentation mode, and the same model id answers through the API, MCP, n8n, the web widget, and Calypso WhatsApp. Build it in Agent Builder, test it in Playground, ship it.

Searches approved buckets only

An agent is bound to the exact source sets it may use, so retrieval stays scoped and repeatable.

Policy defined once

Retrieval scope, top_k, answer depth, role, source visibility, and presentation live on the agent, not in each call.

Citations by default

Every answer carries the sources it drew on, so users verify instead of trusting a black box.

The example

Create it once. Call it like a model.

Provision a named agent with an idempotency key, then address it by model id from any OpenAI SDK. Discovery lists what your key can use.

CALYPSO_API_KEY
curl -X POST "https://api.calypso.so/v1/agents" \
  -H "Authorization: Bearer $CALYPSO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: provision-support-agent" \
  -d '{
    "agent_id": "support",
    "name": "Support Agent",
    "instructions": "Answer from the support handbook. Be concise.",
    "bucket_slugs": ["support-handbook"],
    "response_policy": "medium"
  }'

# { "object": "rag_agent", "agent_id": "support",
#   "model": "calypso-agent:support", "replayed": false, … }

Named agents

Three jobs, three agents, one runtime.

Each agent reads its own buckets and follows its own brief. The team that runs them never mixes them up, because the model id says which one answered.

calypso-agent:support

Buckets

support-handbook

Brief

Answer troubleshooting questions from approved support sources, with citations.

calypso-agent:pricing

Buckets

pricing, legal

Brief

Explain plans, limits, packaging, and procurement rules from approved sources only.

calypso-agent:onboarding

Buckets

onboarding, support-handbook

Brief

Guide setup and implementation from curated onboarding knowledge.

Policy

What changes retrieval, and what only changes presentation.

The visible model id is only part of the story. These fields decide what the agent searches and how it speaks. Change one at a time and validate in Playground.

FieldChangesEffect
bucket_idsRetrievalWhich sources may be searched. Takes precedence over every other source field.
top_kRetrievalHow many passages the final retrieval returns, 1 to 20, default 10. Wider evidence costs more tokens.
response_policyRetrieval and modelFast, medium, or extended: how much work happens before answering and which model writes it.
rolePresentationTone and answer posture. Not a source-selection mechanism.
source visibilityPresentationWhether grounded source titles are returned. Retrieval happens either way.
presentation modePresentationPlain text, markdown, markdown with tables, WhatsApp-safe, or auto. Choose for the surface.

How it works

Build, test, ship.

  1. 01

    Build in Agent Builder

    Pick the buckets, the role, the answer depth, and the presentation mode. Or POST /v1/agents from a script.

  2. 02

    Test in Playground

    Ask real questions against real buckets with a real project API key, and read the grounding state before anything reaches a customer.

  3. 03

    Ship the model id

    Use calypso-agent: on the API, MCP, n8n, the widget, or a Smart Board. One id, one policy, one set of citations.

Playground

Read the grounding state, not just the reply.

The important interpretation work in Playground is how grounding surfaced. Four states tell you whether the answer can be trusted.

Available
Grounded sources were returned and can be inspected directly.
Hidden
Grounding likely happened, but source titles are intentionally hidden by policy.
Missing
Grounding was expected but did not surface cleanly. Check the key, the named agent, and bucket readiness.
None
No grounded sources were returned. The answer is not evidence-backed.

From the docs

Model ids, endpoints, and limits.

Default agentcalypso-agent
Named agentcalypso-agent:{agent_id}
DiscoverGET /v1/agents · GET /v1/models
ManagePOST /v1/agents · PUT /v1/agents/{agent_id} · DELETE /v1/agents/{agent_id}
top_k1 to 20 passages per answer, default 10
Response modesfast, medium, extended
Presentation modesplain text, markdown, markdown with tables, WhatsApp-safe, auto
Legacy idscalypso-rag-agent ids are still accepted on input; the API returns the canonical calypso-agent spelling

Questions and answers

Before you create one.

Keep reading

Start today

Create the agent layer your product can trust.

Bind buckets, set the policy once, and launch cited answers on every surface with one model id.