MCP & AI Agent Integration

Hansei
automation.

13 AI agent actions for Hansei — callable from any MCP-compatible runtime, Claude, Cursor, or Cerebral OS workflow. Use Hansei to resolve tickets, route conversations, and escalate edge cases without a human in the loop. Full governance, audit trail, and dry-run safety on every execution.

No credit card required
Live in production environments
<200ms median execution
Dry-run before production
Execution trace
live
13
actions
100%
governed
<200ms
latency
13
AI agent actions
6
Read operations
7
Write operations
2
High-risk actions (approval gated)
Customer Support Hansei is a Customer Support integration — use it to automate ticket management, conversations, and escalations from any AI agent or MCP-compatible runtime.
Actions

What you can do
with Hansei.

Every action below is available as an MCP tool and a verb in Cerebral OS — callable from any AI agent, Claude, Cursor, Windsurf, or your own runtime via the BYOA API. All executions are governed, audited, and dry-run safe.

Get Chatbot
hansei:get_chatbot
Fetch a single chatbot by ID with configuration and status.
Read Low risk
Get Conversation
hansei:get_conversation
Fetch a single conversation by ID with all messages and metadata.
Read Low risk
Get Document
hansei:get_document
Fetch a single document by ID with metadata and processing status.
Read Low risk
List Chatbots
hansei:list_chatbots
List chatbots with optional filtering and pagination.
Read Low risk
List Conversations
hansei:list_conversations
List conversations with optional filtering and pagination.
Read Low risk
List Documents
hansei:list_documents
List documents with optional filtering and pagination.
Read Low risk
Create Chatbot
hansei:create_chatbot
Create a new chatbot with specified configuration.
Write Medium risk
Delete Chatbot
hansei:delete_chatbot
Permanently delete a chatbot and all its associated data.
Write High risk
Delete Document
hansei:delete_document
Permanently delete a document from the knowledge base.
Write High risk
Send Message
hansei:send_message
Send a message to a chatbot and get an AI response.
Write Medium risk
Train Chatbot
hansei:train_chatbot
Start training a chatbot on its uploaded documents.
Write Medium risk
Update Chatbot
hansei:update_chatbot
Update an existing chatbot's configuration.
Write Medium risk
Upload Document
hansei:upload_document
Upload a document (text or URL) to a chatbot's knowledge base.
Write Medium risk
MCP & Runtime API

Call Hansei
from any AI agent.

Any AI agent — Claude, Cursor, LangChain, AutoGen, or your own — can call Hansei actions through the Cerebral OS Runtime API. Governance, credentials, and audit trail fire automatically.

hansei:get_chatbot READ
# Call via Runtime API
curl
-X POST \
  "https://api.cerebralos.com/v1/runtime/actions/run"
  -H "X-API-Key: YOUR_KEY" \
  -d '{
    "verb": "hansei:get_chatbot",
    "args": {},
    "execution_id": "agent-001"
  }'
hansei:create_chatbot WRITE
# Dry-run first — no production risk
curl
-X POST \
  "https://api.cerebralos.com/v1/runtime/actions/run"
  -H "X-API-Key: YOUR_KEY" \
  -d '{
    "verb": "hansei:create_chatbot",
    "args": {},
    "execution_id": "agent-001",
    "metadata": {"dryRun": true}
  }'
Get your Runtime API key at app.cerebralos.com/signup — 1,000 free executions, no credit card required.
AI agent examples

What your AI agent
can do with Hansei.

Real patterns your AI agent can execute via MCP or the Runtime API. Every action governed, dry-run safe, and fully audited.

Trigger
AI agent needs Hansei data
Call hansei:get_chatbot via MCP or Runtime API
AI processes result and takes next action
Full execution logged to audit trail automatically
Trigger
Workflow needs to write to Hansei
Dry-run validates hansei:create_chatbot before execution
Approval gate fires if risk level is high
Action executes with full governance — logged, audited, reversible
Trigger
Support ticket created
Classify with AI
Auto-resolve or escalate
Notify team with full context
How it works

Every Hansei action
governed end-to-end.

Cerebral OS isn't a connector. It's the execution layer that sits in front of Hansei — adding governance, dry-run safety, and a full audit trail to every operation.

Governance first
Every verb carries a risk classification. High-risk writes require explicit approval gates before they execute in production.
Dry-run safe
Simulate any Hansei action before it touches production. See exactly what would happen before a single real call is made.
Immutable audit trail
Every Hansei action is logged — what ran, what changed, who approved it, when it happened. Full history on every verb, forever.
Connect with

Hansei works best
alongside these.

Build multi-step workflows that connect Hansei to the rest of your stack. All governed. All audited.

Hansei integration

Start free.
No credit card required.

Start free with 1,000 runs — no credit card required. Connect Hansei in minutes, dry-run every action before it touches production, full audit trail on everything.

Start free — 1,000 runs Browse all integrations →