Skip to content
Discussion options

You must be logged in to vote

Yes, LibreChat exposes agents through an OpenAI-compatible API ("remote agents"). From api/server/routes/agents/openai.js:

  • POST /api/agents/v1/chat/completions with "model": "<agent id>" (streaming supported)
  • GET /api/agents/v1/models lists the agents you can use

The agent runs server-side with its own instructions, skills and MCP servers, so you do not duplicate them in the client.

To set it up:

  1. Allow it in librechat.yaml (off by default in the example config):
    interface:
      remoteAgents:
        use: true
  2. Create an API key in LibreChat (the /api/api-keys feature, which also requires the remote-agents use permission).
  3. In Crush, or any client that accepts a custom OpenAI-compatible provide…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@IngwiePhoenix
Comment options

Answer selected by IngwiePhoenix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants