Connect Langbase to AI agents

Connect Langbase to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

list_pipes

List Pipes

List all AI pipes (agents) in your Langbase account. Returns configuration details for each pipe including the model, status, and settings.

chunk_text

Chunk Text

Split text into smaller, manageable chunks. Useful for RAG pipelines, processing long documents, or working with specific sections of content. Uses intelligent text splitting with configurable chunk size and overlap.

append_messages

Append Messages

Append one or more messages to an existing conversation thread. Use this to add user, assistant, system, or tool messages to maintain conversation history.

create_thread

Create Thread

Create a new conversation thread in Langbase. Threads help organize and maintain conversation history across multiple interactions. You can optionally provide initial messages and a custom thread ID.

list_documents

List Documents

List all documents in a memory. Returns document names, processing status, file metadata, and chunking configuration for each document.

run_pipe

Run Pipe

Run an AI pipe to generate a response. Send messages to a configured pipe and receive the LLM completion. Supports conversation threading via threadId, variable substitution, and optional LLM provider key override.

update_thread

Update Thread

Update a conversation thread's metadata.

retry_document_embeddings

Retry Document Embeddings

Retry generating embeddings for a document that failed processing. Use this when a document's status is "failed" to re-trigger the embedding generation.

create_pipe

Create Pipe

Create a new AI pipe (agent) in Langbase. Pipes are configurable AI agents that can generate text, chat with users, and perform various AI tasks. You can configure the LLM model, system prompts, temperature, and attach memory for RAG-based responses.

web_search

Web Search

Perform a web search using the Exa search service through Langbase. Returns URLs and extracted page content for search results. Requires an Exa API key.

list_messages

List Messages

List all messages in a conversation thread in chronological order (oldest first). Returns the full conversation history including roles, content, and metadata.

generate_embeddings

Generate Embeddings

Generate vector embeddings for text chunks. Useful for semantic search, text similarity comparisons, and NLP tasks. Supports embedding models from OpenAI and Cohere.

create_memory

Create Memory

Create a new memory (RAG knowledge base) in Langbase. Memory provides vector store, file storage, and semantic similarity search. After creating a memory, upload documents to it for retrieval-augmented generation.

generate_images

Generate Images

Generate AI images using various providers including OpenAI DALL-E, Together AI Flux, Google Imagen, and more. Requires an LLM provider API key for the image generation provider.

update_pipe

Update Pipe

Update an existing AI pipe's configuration. Modify the model, prompts, temperature, and other settings of a pipe.

list_memories

List Memories

List all memory (RAG knowledge bases) in your Langbase account. Returns the name, description, and embedding model for each memory.

delete_thread

Delete Thread

Delete a conversation thread and all its messages. This action is permanent and cannot be undone.

get_thread

Get Thread

Get details of a conversation thread including its metadata.

run_agent

Run Agent

Run the Langbase runtime LLM agent directly, specifying all parameters at runtime. Supports 100+ LLMs across all major providers (OpenAI, Anthropic, Google, etc.). Unlike pipes, the agent requires specifying the model and LLM provider key per request.

delete_document

Delete Document

Delete a document from a memory. This removes the document and its embeddings permanently.

delete_memory

Delete Memory

Delete a memory (RAG knowledge base) and all its documents from Langbase. This action is permanent and cannot be undone.

web_crawl

Web Crawl

Crawl web pages to extract their content using Spider Cloud or Firecrawl through Langbase. Provide URLs to crawl and receive extracted page content. Requires a crawl service API key.

retrieve_memory

Retrieve from Memory

Perform a semantic similarity search against one or more memories. Returns the most relevant text chunks based on the query. Useful for testing RAG retrieval and debugging chunking parameters.

upload_document

Upload Document

Upload or replace a document in a Langbase memory. Langbase returns a signed upload URL and the tool uploads the content to that URL, making the document available for memory processing and retrieval.

parse_document

Parse Document

Extract text content from a document using Langbase Parser. Useful before chunking text, embedding content, or loading a document into memory.

More integrations teams use with Langbase

Linear

Create, read, update, and delete issues across teams with support for priorities, labels, assignees, due dates, and workflow states. Manage projects that group related issues, and organize work into time-boxed cycles (sprints). Create and manage documents, comments, and file attachments. Search issues using vector similarity or rich filters. Configure teams, workflow states, and labels. Track customers and link them to issues. Subscribe to real-time webhooks for changes to issues, projects, cycles, comments, documents, and more.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Technical notes for Langbase

Build and run AI agents using a unified LLM API across 600+ models. Create and manage pipes (AI agents) for text generation and chat. Store, upload, list, delete, and search documents using managed RAG memory with vector embeddings, chunking, and semantic similarity search. Manage conversation threads with full history and context. Parse and extract text from documents (PDFs, CSVs, etc.). Generate vector embeddings for text chunks. Generate AI images via multiple providers. Perform web search and web crawling through integrated tools. Supports tool calling, structured outputs, JSON mode, and vision-capable model inputs where supported by Langbase.

Connect Langbase to production AI agents

See how Metorial gives Langbase access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Langbase to AI agents with Metorial.

  1. Can Metorial connect Langbase to AI agents?
    Yes. Metorial connects AI agents to Langbase through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.