Langbase for AI agents

Langbase is a serverless platform for developers to build and deploy AI agents, with memory, pipes, and threads as building blocks. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

AI and modelsAPI keyMCP + RESTlangbase.com
AUDIT LOG · LANGBASEPOLICY: acme-support
09:41:07 · claude · u_8f2read
langbase.list_models
List Available Models✓ allowed · 212ms
09:41:08 · claude · u_8f2read
langbase.get_pipe
Get Pipe Details✓ allowed · 164ms
09:41:09 · claude · u_8f2write
langbase.create_thread
Create Thread✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
langbase.delete_thread
Delete Thread✕ blocked · policy: deny
EVERY LANGBASE CALL, ON THE RECORD
01 · USE CASES

What agents do in Langbase.

01

Add a message to a thread

Append a new message to an active conversation thread run through a pipe.

02

Look up execution traces

Read recent execution traces for a pipe to debug an agent's behavior.

03

Approve before deleting memory

Require approval before deleting a memory store, since it removes indexed documents an agent relies on.

02 · ACTIONS

20 Langbase actions, graded by risk.

Every Langbase action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

6

Look things up. Allowed by default.

  • langbase.get_pipe
    Get Pipe Details
  • langbase.get_thread
    Get Thread Details
  • langbase.list_models
    List Available Models
  • langbase.list_traces
    List Execution Traces
  • langbase.list_thread_messages
    List Thread Messages
  • langbase.check_health
    Check API Health

write

11

Create and change things. Allow, or ask the user first.

  • langbase.update_pipe
    Update an existing pipe
  • langbase.create_thread
    Create Thread
  • langbase.update_thread
    Update Thread Metadata
  • langbase.update_thread_message
    Update Thread Message
  • langbase.pipe_list
    List all pipes
  • langbase.memory_list
    List Memories
  • langbase.pipe_create
    Create a new pipe
  • langbase.document_list
    List Documents in Memory
  • langbase.memory_create
    Create Memory
  • langbase.chunker_split_content
    Split Content into Chunks
  • langbase.append_thread_messages
    Append Thread Messages

destructive

3

Delete, cancel or archive. Ask first, or deny outright.

  • langbase.delete_thread
    Delete Thread
  • langbase.delete_thread_message
    Delete Thread Message
  • langbase.memory_delete
    Delete Memory
03 · HOW IT WORKS

Langbase in three steps.

  1. 01Your users connect LangbaseThey add their Langbase api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “create Thread” can wait for the user, and “delete Thread” can be denied outright.
  3. 03Any agent can actYour agent calls Langbase through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('langbase', {
  read: 'allow',
  write: 'ask',        // create_thread
  destructive: 'deny',  // delete_thread
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Langbase connects.

Users add their Langbase api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same Langbase connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Langbase from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Langbase and Arc0, answered.

Q01

Can I use Langbase with Claude, ChatGPT or Cursor?

Yes. Connect Langbase to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Langbase actions you allow.

Q02

How do users connect Langbase?

Users add their Langbase api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which Langbase actions can my agent take?

20 in total: 6 read, 11 write and 3 destructive, such as “create Thread”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Langbase?

Yes. Actions like “delete Thread” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Langbase too?

Yes. The same Langbase connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Langbase into your agent.

Your users connect Langbase once, under your brand. Your agent gets 20 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan