Iteration Layer
Products
Use Cases
Resources
Pricing
Documentation navigation

LibreChat

LibreChat is a self-hosted chat application with agents, tool calling, OpenAPI Actions, MCP support, and multi-user access control. Use Iteration Layer when LibreChat agents need reliable file-processing tools instead of asking the base model to infer document structure from raw uploads.

Use LibreChat Actions with Iteration Layer’s OpenAPI specification.

This gives agents callable tools from the same API surface used by production applications:

https://api.iterationlayer.com/openapi.json

Use an Iteration Layer API key as a bearer token:

Authorization: Bearer YOUR_API_KEY

Add An Action To A LibreChat Agent

  1. Open the LibreChat Agent Builder.
  2. Enable Actions for the agent.
  3. Add the Iteration Layer OpenAPI spec URL.
  4. Configure bearer-token authentication with your Iteration Layer API key.
  5. Save the action and test it in a private conversation before sharing the agent.

MCP Option

LibreChat also supports MCP servers in librechat.yaml. Iteration Layer’s MCP endpoint is:

https://api.iterationlayer.com/mcp

Example shape for a remote Streamable HTTP MCP server:

mcpServers:
  iterationlayer:
    type: streamable-http
    url: https://api.iterationlayer.com/mcp
    timeout: 180000
    serverInstructions: true

Iteration Layer MCP uses OAuth 2.1. If your LibreChat deployment cannot complete OAuth for this remote MCP server, use OpenAPI Actions instead.

Agent Instructions

Give the LibreChat agent concise tool-use instructions:

Use Iteration Layer tools for document extraction, document-to-markdown conversion, website extraction, image transformation, image generation, document generation, and sheet generation. Ask for a schema before extracting structured fields. Use async mode for large files or long-running jobs.

Good Use Cases

  • Internal invoice and receipt review agents
  • Contract intake agents that extract key obligations and renewal dates
  • Research assistants that convert PDFs to Markdown before summarizing
  • Operations agents that generate XLSX exports from extracted document fields
  • Marketing agents that generate branded images or PDFs from structured content

Production Guidance