Skip to content
项目

关于

Open-source, self-hosted AI employees that ask before they act. 46 business roles, approval-gated autonomy, untrusted-content safeguards, sandboxed execution, Graph RAG and token budgets. Expanding across memory, voice, security and physical AI. WhatsApp, Telegram, Discord and 20 LLM providers. MIT licensed.

安全与隐私

这些数字如何统计

可以做什么

  • 📄 Document ingestion - Upload 28 file types (PDF, Word, Excel, PowerPoint, CSV, HTML, EPUB and more) or add a public web page by address
  • 🔍 RAG retrieval - Vector search over your documents via pgvector
  • 💬 Chat with citations - Answers reference the source document, not a black box
  • 🔌 Bring your own AI key - OpenAI, Gemini, Anthropic, or any OpenAI-compatible endpoint

实测星标增长

24小时
0
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

readmes/README.zh-cn.md

原文
RagLeap Core logo

RagLeap Core

自主 AI 智能体 — 不仅仅是 RAG。

license MIT 46 AI Employees Autonomous Self-Hosted PyPI ragleap-rag Downloads

English · Afrikaans · العربية · Български · বাংলা · Català · Čeština · Cymraeg · Dansk · Deutsch · Ελληνικά · Español · Eesti · فارسی · Suomi · Français · ગુજરાતી · עברית · हिन्दी · Hrvatski · Magyar · Bahasa Indonesia · Italiano · 日本語 · ಕನ್ನಡ · 한국어 · Lietuvių · Latviešu · Македонски · മലയാളം · मराठी · नेपाली · Nederlands · Norsk · ਪੰਜਾਬੀ · Polski · Português · Română · Русский · Slovenčina · Slovenščina · Soomaali · Shqip · Svenska · Kiswahili · தமிழ் · తెలుగు · ไทย · Tagalog · Türkçe · Українська · اردو · Tiếng Việt · 简体中文 · 繁體中文

RagLeap Core 是 RagLeap 背后的开源引擎 — 一个自托管的智能体系统,在您自己的服务器上从您自己的文档运营您的业务,无任何供应商锁定。

46 个基于角色的 AI 员工: 9 个核心通用角色(AI 经理、秘书、CEO、销售、支持、HR、财务、营销、运营)以及 37 个垂直特定的全球角色。

它的功能:

  • 自学习、结果加权的记忆
  • 自动触发工作流程和升级
  • 完全 / 半自主模式
  • 思考-行动-决策循环,不仅仅是检索

Quickstart · Docs · Website · Hosted Version · Packages


Not to be confused with install.ragleap.com — that's a separate, paid, license-gated self-hosted product. ragleap-core (this repo) is MIT-licensed, completely free, and never requires a license key.

Install

pip install ragleap-rag

⭐ 如果对您有帮助,请考虑给仓库加星 — 这真的能帮助更多人找到它。

Prefer Java? ragleap-rag is also on Maven Central:

<dependency>
    <groupId>io.github.antonyrag</groupId>
    <artifactId>ragleap-rag</artifactId>
    <version>0.5.0</version>
</dependency>

Add ragleap-graph for Neo4j-backed knowledge graph retrieval:

pip install ragleap-rag ragleap-graph

Add ragleap-vectorstores for pluggable vector backends:

pip install ragleap-rag ragleap-vectorstores[chroma]

功能

📄 Document ingestion Upload PDFs, text, and common document formats
🔍 RAG retrieval Vector search over your documents via pgvector
💬 Chat with citations Answers reference the source document, not a black box
🔌 Bring your own AI key OpenAI, Gemini, Anthropic, or any OpenAI-compatible endpoint
🌐 Web chat widget Embed a chat widget on any website
🐳 Docker-based setup One-command local deployment
🕸️ Knowledge Graph (Neo4j) Entity extraction and graph-boosted retrieval alongside vector search
🌍 Language detection Auto-detects document and query language, applied across every channel
🔗 Integrations Connect MySQL, PostgreSQL, MongoDB, REST APIs, Salesforce, HubSpot, Shopify, Google Sheets, Stripe
🔀 Hybrid search Combines dense (vector) and sparse (full-text) retrieval via Reciprocal Rank Fusion
⚡ Streaming responses Answers stream token-by-token instead of waiting for the full response
🔁 Provider fallback Automatically retries with a backup LLM provider if the primary fails
💰 Token usage reporting Real per-call token counts from the provider
🧑‍💼 AI Employees Role-based agents (46 default roles) with persistent business-context memory
🛠️ Build your own AI Employee Define a fully custom role via PATCH /employees/{role}
🔗 n8n workflow automation Fire a webhook after the AI replies on WhatsApp/Telegram/Discord

快速开始

最快的试用方式 — 一条命令检查 Docker、克隆仓库并为您设置 .env:

curl -fsSL https://raw.githubusercontent.com/antonyrag/ragleap-core/main/install.sh | bash

(Windows users: run this in Git Bash, not Command Prompt or PowerShell.)

Or, the manual way:

git clone https://github.com/antonyrag/ragleap-core.git
cd ragleap-core
cp .env.example .env
# add your Gemini API key to .env
docker compose up --build -d

Requirements: Docker, Docker Compose, an API key from OpenAI, Google Gemini, or Anthropic.

Supported LLM Providers (BYOK)

LLM_PROVIDER value Required env vars Notes
gemini (default) GEMINI_API_KEY Get a key at aistudio.google.com/apikey
anthropic ANTHROPIC_API_KEY, ANTHROPIC_MODEL
openai OPENAI_API_KEY, OPENAI_MODEL
mistral MISTRAL_API_KEY, MISTRAL_MODEL
groq GROQ_API_KEY, GROQ_MODEL Free tier available
ollama OLLAMA_MODEL (no API key needed) Self-hosted
deepseek DEEPSEEK_API_KEY, DEEPSEEK_MODEL
custom CUSTOM_API_KEY, CUSTOM_MODEL, CUSTOM_BASE_URL Any OpenAI-compatible endpoint

Contributing

RagLeap Core is working, tested, and open for contributions now. See CONTRIBUTING.md for how to get started.

License

MIT © 2026 RagLeap

探索相关项目

加载中…