DISCOVER THE FUTURE OF AI AGENTSarrow_forward

LobeChat Agent Index

calendar_todayAdded Feb 22, 2026
categoryAgent & Tooling
codeOpen Source
TypeScriptKnowledge BaseAI AgentsAgent & ToolingDocs, Tutorials & ResourcesDeveloper Tools & CodingEnterprise Applications & Office

Official Agent Index for LobeChat, featuring community-contributed high-quality prompts and AI assistant roles via index.json, covering programming, writing, translation, academic, and more.

Project Positioning#

LobeChat Agent Index is a core component of the LobeChat ecosystem, serving as the backend data source for the "GPTs Store." It maintains an index.json file containing extensive predefined Agent metadata and related configuration files. The LobeChat frontend accesses this index to display available Agents to users.

Problems Solved#

  • Discovery & Distribution: Addresses the challenge of sharing and discovering high-quality prompts across users, building a standardized distribution channel
  • Configuration Standardization: Standardizes Agent metadata including name, description, tags, and system prompts through agent-template structure
  • Crowdsourced Maintenance: Utilizes GitHub PR mechanism for community-driven Agent content maintenance

Core Features#

Agent Index Aggregation#

Maintains index.json, aggregating all indexed Agent metadata for LobeChat clients to fetch. Covers programming development, academic writing, multilingual translation, mental health, legal consultation, gaming, and more.

Standardized Templates#

Provides agent-template.json and agent-template-full.json for standardized submission formats. The createAt field is automatically generated after PR merge.

Automated i18n#

Leverages LobeChat's capabilities to automatically translate Agent prompts into multiple languages.

Typical Agent Examples#

Agent NameDomainDescription
Academic Writing AssistantAcademic WritingExpert in academic research paper writing and formal documentation
Programming Development AssistantProgrammingSkilled in development, debugging, and code issue resolution
Multilingual TranslatorTranslationProfessional translation between Chinese, English, and Japanese
Mental Health CounselorCounselingPsychological counselor providing listening and support
Python Development MasterPythonPython development expert emphasizing security and maintainability

Architecture Design#

Adopts Data Repository pattern - code as data.

Data Definition Layer (src/ directory)#

Each Agent is stored as an independent JSON file in the src/ directory. Filename typically corresponds to the Agent's unique identifier. Structure includes: author, name, description, tags, config (containing systemRole), etc.

Index Build Layer#

Project includes build scripts (Bun scripts) that scan all JSON files in the src/ directory and aggregate them into the root index.json file. Includes format script utilizing OpenAI API for translation or content formatting.

Consumption Layer#

LobeChat frontend application periodically or on-demand fetches the repository's index.json via HTTP requests, parses and renders the "Agent Market" interface.


Usage#

Local Development & Contribution#

# Clone repository
git clone https://github.com/lobehub/lobe-chat-agents.git
cd lobe-chat-agents

# Install dependencies
bun install

# Format & validate (requires OPENAI_API_KEY)
bun run format

Steps to Submit Agent#

  1. Fork this repository
  2. Copy agent-template.json or agent-template-full.json template
  3. Fill in Agent description, tags, and other metadata, then rename
  4. Move file to src directory
  5. Submit PR, await review and merge

Environment Variables#

VariableRequiredDescription
OPENAI_API_KEYYesOpenAI API key
OPENAI_PROXY_URLNoOpenAI API proxy URL

One-Click Deploy Private Market#

Supports "Deploy to Vercel" button for quick deployment of private Agent index service. After deployment, point to the deployment address in LobeChat's custom settings to use the private market.

Related Projects

View All arrow_forward

STAY UPDATED

Get the latest AI tools and trends delivered straight to your inbox. No spam, just intelligence.

rocket_launch