RagLeap
Open source · Self-hosted · MIT licensed

AI employees that ask before they act.

RagLeap is free software you run yourself. It gives you a staff of 46 AI employees that learn from your documents, talk to people on WhatsApp, Telegram, Discord and voice, and by default wait for your approval before anything real happens.

Latest release v0.13.11 · 46 roles · 20 model providers · MIT · Roadmap · Security

# checks Docker, clones the repo, creates your .env
$ curl -fsSL https://raw.githubusercontent.com/ragleap/ragleap-core/main/install.sh | bash

# asks which AI to use (Gemini, local Ollama or skip), generates your keys and starts the stack
# manage it afterwards with: ragleap launch, stop, status, logs, update, key
# Windows: use the PowerShell installer (install.ps1), see the Install section of the README on GitHub
$ git clone https://github.com/ragleap/ragleap-core.git
$ cd ragleap-core
$ cp .env.example .env   # add GEMINI_API_KEY (embeddings use Gemini by default); chat model via LLM_PROVIDER
$ docker compose up --build -d
Run it on a cluster with the Helm chart and manifests in ragleap-ops, live-tested on a kind cluster. Kubernetes guide →
  • 46 business rolesReady-made AI employees that learn from your documents and talk to customers on WhatsApp, Telegram, Discord and voice.
  • Approval comes firstBy default they take no action on their own. In approval mode every real action waits for your yes first, and full autonomy is opt-in.
  • More than the appSeparate libraries for RAG, graphs, agents, memory, security, voice, tracing and DevOps. Physical AI is pre-alpha, simulation only.
What we are

What is RagLeap?

RagLeap is open-source software you run on your own server. It is not a SaaS product, there is no RagLeap account, and no RagLeap-hosted database — your data is stored on infrastructure you control, and text is sent only to the AI providers you configure: your chat model and your embedding provider (Gemini by default).

  • What it is: open-source (MIT) software you run on your own server. Not a SaaS, and there is no RagLeap account.
  • What you get: 46 AI employees that answer from your documents on WhatsApp, Telegram, Discord and voice.
  • Safety default: nothing real happens without your approval.
  • Models: 20 model providers, or local models through Ollama, also on your own NVIDIA GPU (a documented setup, GPU guide, not yet tested on a real GPU).
  • Today: single-tenant. Multi-tenant use is planned, with no date.
  • Status: not certified. An outside static assessment led to fixes in v0.13.4 and v0.13.5 (details).

What it does

Turns your documents — PDFs, policies, catalogs, FAQs — into AI employees that can answer questions accurately, hold a conversation across chat and voice channels, and optionally take real actions like sending an email or logging a task.

What it doesn't do

It doesn't act without permission. It doesn't browse the open web or run shell commands by default. It doesn't lock you into one AI provider, one vector database, or one deployment target.

The RagLeap Office

A staff of AI employees, not one chatbot

Instead of a single assistant that tries to do everything, RagLeap ships with 46 pre-built roles — each with its own guardrails, memory, and skill tags — plus the tools to define your own. Route a request to the right one directly, or let a supervisor model pick for you.

SOME OF THE 46 BUILT-IN ROLES
Manager Sales Support Marketing Finance Legal Intake HR Recruiter Inventory Scheduler Data Analyst + 35 more, or build your own
Dashboard (since v0.9.0): the AI Office dashboard at /office, with an overview, approvals, employees by department, a task board, agent runs, an activity log and settings. It is reachable locally or through an SSH tunnel, by design.
Capabilities

What can it do?

Reasoning that shows its work

Optional chain-of-thought and tree-of-thought modes, plus a self-correction pass that checks an answer against your documents before it's sent.

A supervisor that routes for you

Send a request to the office as a whole — a supervisor model picks the right employee, or splits it across a small team and merges the results.

Bring your own model

20 model providers, including Gemini, Anthropic, OpenAI, Groq, Mistral and DeepSeek, local models through Ollama (on your own NVIDIA GPU too: documented, not yet tested on a real GPU), and any OpenAI-compatible endpoint. You can set up a fallback chain for when a provider is down or rate-limited.

Six vector backends

pgvector by default, or swap in FAISS, Pinecone, Weaviate, Qdrant or Milvus without changing how you call it.

Talks where your customers already are

WhatsApp, Telegram, Discord, and voice calls (Twilio, real-time transcription and speech), plus an n8n workflow integration.

Contributor-ready by design

Automated guard tests catch a half-added role before it ships unguarded, and a CONTRIBUTING guide walks through adding a new employee.

The whole project

What RagLeap is today, and where it is going

One open project (MIT): the self-hosted app, the libraries around it, and the sites that document them. Everything below carries its real status. Planned means no code and no date.

Our flagship focus: the mechanical side

The aim is one open system that helps people manage an office, a factory floor or a whole organisation: time, materials, energy, errors and money, with a person approving what matters. This is a direction, not a finished product.

Today ragleap-physical is pre-alpha and simulation only. It controls no real hardware. Real equipment is planned, with no date, and only after tests, domain review and an independent safeguard.

Simulatorsarm models, a simulated machine tool, observe-only mocks
Safety envelopeapprovals tied to the exact proposal, a stop that needs no approval
Gate before equipmenttests, domain review, independent safeguard

RagLeap Core

Self-hosted app, MIT

46 role-based AI employees that ask before they act, an approval gate, an audit log that stores hashes only, and the AI Office dashboard.

Libraries

17 in Python, plus 6 Java and 1 TypeScript

  • RAG and retrieval: rag, graph, vectorstores
  • Agents and tools: tools, integrations, agents
  • Speech: voice
  • Memory, security, cost: memory, security, trace, optimizer
  • DevOps: ops, observability, app-chart, terraform, ansible
  • Physical AI: physical (pre-alpha, simulation only)

Browse the library

Where to read

Three sites

RagLeap Core documentation is at docs.ragleap.com. Library documentation is at packages.ragleap.com. The project site, roadmap and tests are here on ragleap.com.

Roles it can take

Assistantplanned: your assistant, with your consent
Colleaguetoday: 46 AI roles that ask first
Managerplanned: managing staff, executive view
Guardianplanned: watches and warns, read-only first

Work areas: today, planned, not promised

Works today
Planned, no date
Not promised
Office work
Email and SlackCRM, calendar, n8n
Office managerruns office tasks
Guaranteesagainst injection
Company
Sales and supportapproved actions
Company managerback office
Own company
None
Own companythe owner approves
Spending aloneneeds approval
Employees
46 AI rolesmemory, approvals
Managing staffroles and hand-offs
Self-rewritingskills
Autonomy
Off, semi, fullfull is opt-in
Real colleagueautonomy set by the owner
Sensitive roles on fullnever fully autonomous
Actions
Approved actionsemail, Slack, CRM, calendar
Computer and browser useno date
File writes alonealways need approval
Thinking, teams
9 agentic patternsreasoning, reflection, routing
Agents that discussthen give one answer
Research
Document Q&ARAG libraries
Researcherworks in parallel
Voice, phone
Voiceearly stage, one model verified
Phone callsadapters only, no date
Presenter
None
Presenternarrated slides first, avatar later
Cost, visibility
Budgets and audittoken caps, audit log, Prometheus
Waste, time, errors
None
Waste and errorsmaterials, energy, hours; advice first
Plant controlnot planned
Mechanical work
Simulators onlypre-alpha
Read, then adviseno date
Real controlneeds safeguards
Equipment
None
Real equipmentplanned, no date, after the gate
Works todayPre-alphaPlannedNot promisedOut of scope

Presenter on video: roadmap issue #733 and research issue #1229. Not started, no model selected. Narrated slides come first; a talking avatar needs a GPU or a hosted service, and every result must carry an AI-generated label.

Planned, no date: multi-tenant use inside ragleap-core. Physical systems are simulators only.

Aim: people and AI employees working together, in the open

Open scope tracks: ideas anyone can propose, no date

Financeinvoices, books
Peoplehiring, staff
Customer caretickets, chat
Marketingdrafts, capped
Researchparallel work
Educationteaching aids
Logisticsplans only
Engineeringcode and docs

Who can help now

SecurityReview #800
Physical AIDomain engineers
CompaniesPilots, funding
InfrastructureCI and labs

Built in the open on GitHub: engineers and companies anywhere can contribute.

Gate before any equipmentTests, domain review, independent safeguard
Out of scope, alwaysLife-safety systems, medical devices, public-road vehicles, weapons
Security model

How does RagLeap stay safe?

A chat reply is free. Anything that sends an email, posts to Slack, calls a webhook, or changes a setting is not — it stops here first, every time.

Employee proposes

One action, from what you've configured — never a destination it invents itself.

Owner is asked

A message goes to the exact channel and contact you set as the approver.

YES or NO

Checked against that one configured owner — a reply from anyone else changes nothing.

Runs, or doesn't

Only on YES. Every step is logged either way.

01

Sensitive roles can't opt out

Legal, medical, tax and compliance-flavored employees are permanently held to semi-automatic or fully manual mode — including any role you create yourself.

02

Every call is metered

A usage ledger records every LLM call an employee makes, with optional daily and monthly token caps — per employee or across the whole deployment.

03

Webhooks verify who's really talking

Platform signatures are checked on every inbound message; an unsigned request is rejected rather than silently trusted.

04

Untrusted content taints a run

Fetched pages, tool results and, since v0.13.0, answers built from your documents start a run as tainted, so outbound actions ask even in full autonomy. A 100-run test on two real models found none followed a hidden instruction; it is small, and not a certification. Details.

05

An approval runs once, from the right place

Since v0.13.4 an approval is claimed in one atomic step, and Telegram and Discord approvals count only from a private chat. Since v0.13.5 an approval expires after 7 days by default.

06

File actions always ask

Forced approval covers both the action label and its channel. File writing is off by default and has not had an outside review (#800).

07

Everything leaves a trace

Audit lines record each agent action with hashes, not text, with request ids and opt-in retention. Details.

08

Credentials fail closed

Without ADDON_ENCRYPTION_KEY a connector credential is refused, not stored in plain text (v0.13.5).

09

An outside assessment, and what is not done

Aleksei Musienko (AMQIC) sent a static assessment; we checked each finding and fixed the confirmed ones. It is not a certification. Read the page and the security page.

Direction

One open project, many parts: what exists and what is planned

RagLeap's Direction

RagLeap is an open-source, MIT-licensed, self-hosted AI platform.

Our priority is to build a strong, independent open-source ecosystem that individuals, developers, researchers and organizations can run on their own infrastructure.

We are focused on improving the core platform, libraries, integrations, security, memory, observability and physical AI capabilities.

There is no planned RagLeap-managed cloud SaaS launch. Our focus is the open-source, self-hosted project and its community.

RagLeap Core is the self-hosted app, with 46 role-based AI employees that ask before they act. Around it, separate open-source libraries cover retrieval, agents, memory, security, token cost, tracing, speech and physical-system simulation. Each card says how far it has got. Plans have no dates and are not promises.

Released

Libraries on PyPI, each with a page, its tests and its limits

ragleap-rag, ragleap-graph, ragleap-agents, ragleap-memory, ragleap-security, ragleap-tools, ragleap-integrations and ragleap-vectorstores, plus the new ragleap-trace 0.1.0: dependency-free tracing that records no content by default. Browse the library.

Early stage, labelled

Pre-alpha or alpha

ragleap-voice: open, local speech models: one model, whisper-large-v3, is verified against the project rules (not a claim of accuracy), the others are not. ragleap-optimizer: a measure-first layer that reports what each step changed and whether it can lose information; not independently audited. ragleap-physical: a bridge between AI agents and simulators only; nothing controls real hardware.

Planned, no dates

Nothing here is released yet

ragleap-phone (phone calls without Twilio; design discussion #814; only adapter interfaces are merged on the main branch, with no backend, and nothing is released), multi-tenant use and hosting inside ragleap-core, and the longer-term themes on the Vision page. The roadmap lists what is shipped, experimental and planned.

How we check claims

Proof before wording

Every number on this site comes from code, CI, a release note or a changelog, and test counts are labelled by what they measure. One community tester has run the Windows installer with the Ollama option on one machine: what was shown and what was not.

What people outside the maintainer team have said about RagLeap is on the blog: two public LinkedIn posts.

FAQ

Common questions

Is RagLeap free to use?

Yes. It's MIT licensed and free to self-host. You pay only for the AI provider keys you use. Chat can run on a local Ollama model. Embeddings use Gemini by default (Google AI Studio issues free keys) and can be switched to Ollama, OpenAI, Mistral and other providers with EMBEDDING_PROVIDER.

Can it take real actions on its own?

By default, only with your approval. It can propose one action from tools you've configured, and in approval mode nothing runs until you reply YES from the exact channel and contact you set as the approver. Full autonomy is an explicit opt-in, and sensitive roles can never run fully autonomously.

Is this a cloud service?

No. There's no RagLeap account and no RagLeap-hosted database. It runs on your own server via Docker Compose.

What if I want to build my own AI employee role?

Add one through the API at runtime, or contribute a built-in role — both paths are covered in the CONTRIBUTING guide, and a guard test stops a half-configured role from shipping without safety checks.

Which AI providers are supported?

20 model providers, including Gemini, Anthropic, OpenAI, Groq, Mistral and DeepSeek, local models through Ollama (on your own NVIDIA GPU too: documented, not yet tested on a real GPU), and any OpenAI-compatible endpoint. Embeddings use Gemini by default and can be switched to Ollama, OpenAI, Mistral and other providers. You can configure a fallback chain between providers.

How does RagLeap keep actions safe?

Every real action stops at an approval gate first. An approval runs once, counts only from a private chat on Telegram and Discord, and expires after 7 days by default. Untrusted content taints a run, so outbound actions ask even in full autonomy. It is not certified.

Has RagLeap been security reviewed?

An outside researcher, Aleksei Musienko (AMQIC), sent a static assessment in November 2026. We checked each finding and fixed the confirmed ones in v0.13.4 and v0.13.5. That is not a certification, and the outside review of file writing (#800) has not happened.

How do I install RagLeap?

Run the one-line installer shown above (read the script first), or use Docker Compose. It needs Docker. The install guide covers both.

Community

Built in the open

Every contributor is pulled live from GitHub — including community fixes like improved short-query language detection. Open an issue before a large change; the project deliberately stays narrow in scope.

View all contributors
Grid of GitHub avatars of everyone who has contributed to ragleap/ragleap-core
Get started

Three steps to a running stack

1

Clone and create your .env

git clone https://github.com/ragleap/ragleap-core.git
cd ragleap-core && cp .env.example .env
2

Add your keys and start

Put your GEMINI_API_KEY in .env (embeddings use Gemini by default; set EMBEDDING_PROVIDER to use another provider). Pick the chat model with LLM_PROVIDER: 19 options including Anthropic, OpenAI, local Ollama, or any OpenAI-compatible endpoint. Then run docker compose up --build -d.

3

Upload a document, ask a question

The app runs at localhost:8000. Ingest a file, then chat with any of the built-in employee roles.