Skip to content

[Enhancement]: Configure Agents from YAML for Use with Model Specs #7741

Open
@danny-avila

Description

@danny-avila

What features would you like to see added?

What features would you like to see added?

Allow agents to be defined directly in librechat.yaml configuration file so they can be referenced by Model Specs for infrastructure-as-code deployments.

Current Issue: Agents must be manually created through the web interface before being referenced in Model Specs, preventing automated deployments and consistent configurations across environments.

Requested Solution: Enable defining agents within the YAML configuration that can be referenced by Model Specs using agent IDs, eliminating the need for manual agent creation through the UI.

Benefits:

  • Infrastructure-as-code agent deployment
  • Consistent configurations across environments
  • Eliminates manual setup requirements
  • Version control for agent configurations

More details

Requirements:

  • YAML-defined agents should be available immediately on server startup
  • Compatible with existing ModelSpecs endpoint referencing system
  • Support all current agent features (tools, instructions, model selection, MCP servers, parameters)
  • YAML-defined agents should be read-only in the UI

Use Cases:

  • Enterprise deployments with pre-configured business-specific agents
  • Development teams with standardized agents for code review/documentation
  • Educational institutions with subject-specific tutoring agents
  • Any scenario requiring consistent agent configurations across multiple LibreCh

Which components are impacted by your request?

No response

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions