Dashboard App

Agent Builder

Agent Builder is the control plane for Calypso RAG. Use it to define the default agent, named agent variants, bucket scope, response behavior, and presentation mode.

What Agent Builder controls

Agent Builder is where you decide how a RAG agent variant behaves and which buckets it can search.

The saved policy from Agent Builder is reused across:

  • Playground
  • MCP and Upload API integrations
  • linked-agent widget mode

Default agent and named profiles

There is always one default model:

calypso-rag-agent

You can also create named profiles:

calypso-rag-agent:{profile_id}

Use the default agent for the stable baseline behavior. Use named profiles when you need separate bucket scopes, roles, or response policies for different use cases. API clients discover these variants through the team-scoped model catalog.

List the model variants available to a project API key with:

GET /v1/rag-agent/models
Authorization: Bearer sk_...

The response is scoped to the key's team and includes the default calypso-rag-agent plus named variants such as calypso-rag-agent:support. Use this endpoint from MCP clients, n8n flows, backend services, or direct API callers before choosing the model value for /v1/responses.

What you can configure

The current policy model supports:

  • retrieval enabled or disabled
  • bucket-backed retrieval scope
  • selected buckets for focused source sets
  • named profile model ids such as calypso-rag-agent:support
  • optional generation model override
  • top_k
  • small talk behavior
  • whether grounded source titles are returned
  • role preset and role brief
  • presentation mode

Presentation modes

The app supports response presentation choices such as:

  • plain text
  • markdown
  • markdown with tables
  • WhatsApp-safe
  • auto

Choose presentation mode for the target surface, not for abstract style preference.

Bucket scope strategy

Buckets are the cleanest way to keep retrieval predictable. A profile should search the buckets that match its job, not every uploaded source by default.

Use a broader bucket scope when:

  • the workspace has a small, trusted source set
  • the agent handles general support or internal documentation questions

Use a narrower bucket scope when:

  • the source pool is still noisy
  • the use case is specialized
  • you want separation between profiles
  • the same team has legal, pricing, support, and onboarding knowledge that should not be mixed

Deleting named profiles

Deleting a named profile removes its calypso-rag-agent:{profile_id} model id from the workspace, but it does not update every downstream client that may still call that id.

Before deleting a named profile, confirm:

  • Playground tests have moved away from it
  • widget bindings no longer depend on it
  • MCP clients, n8n flows, and direct API callers no longer use that model id

Next steps