RagLeap
Open source · Self-hosted · MIT licensed

AI employees that ask before they act.

RagLeap is free, MIT-licensed software you run yourself for building AI employees.

  • 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.
  • Optional power toolsSandboxed tools, token budgets and Graph RAG (an optional Neo4j knowledge graph beside vector search) are part of the core.
  • LibrariesThe same engine ships as Python, Java and JavaScript libraries for RAG, memory, voice and security.
  • Physical AI (pre-alpha, simulation only)ragleap-physical is a safety bridge for putting AI to work on machines carefully: the AI can only propose a change, a named person approves that exact change, and the limits are checked again before it is applied. The aim is fewer errors and a safer workplace. Today it runs in simulators only.
# 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 →
What we are

One sentence, no fine print

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 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
New in 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.
Why not just use…

Not another agent framework

OpenClaw

A personal, always-on agent — broad reach across shell, browser and channels, built for one person's own machine. No concept of a business owner approving what it's allowed to do.

Paperclip

An orchestration layer that sits above agents like OpenClaw — org charts, budgets, governance. Closer to a management console than to a set of employees who actually do the work.

RagLeap

AI employees that already know your business — your documents, your policies — and a rule underneath every one of them: by default, anything that reaches outside a chat reply waits for you to approve it first. Full autonomy is an explicit opt-in, and sensitive roles can never run fully autonomously.

How it works

Every action passes through one gate

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.

Under the hood

What's actually in the repo

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.

Roadmap

Shipped, in progress, and next

Every item below reflects the real state of the repo, not a projection. See the latest release notes for exact PR references. A dated roadmap page lists what has shipped, what is experimental and what is planned (no dates).

Shipped

All 9 agentic patterns — reasoning, reflection, routing, sub-agents, memory, tools
Approval-gated actions — webhook, Slack, email senders
Usage ledger + token budgets — global and per-role caps
Runtime role safety — auto-detected sensitive roles
Optional API-key auth — global middleware, off by default
AI Office dashboard — overview, approvals, employees by department, task board, agent runs, activity and settings (v0.9.0)
Agents — act-observe loop, sandboxed code and shell, read-only page fetch, MCP client (v0.9.0)
Task tickets and scheduled triggers — cron and time zones (v0.9.0)
Approval inbox — approve or reject in the dashboard or over the API (v0.9.0)
Pluggable embedding providers — Ollama, OpenAI, Mistral and more (v0.9.0)
Installer and ragleap command — keys generated for you (v0.9.0)
Login throttling and Setup tab — ten wrong API keys lock a client out for fifteen minutes; the dashboard shows what is configured, never secrets (v0.10.0)
Free ports and key rotation — the installer picks the next free port; ragleap key --rotate issues a new API key (v0.10.1)
Documents tab — list, upload and delete documents; deleting also removes the document's entries from the knowledge graph (v0.11.0)
28 file types and web pages by address — added from the dashboard (v0.11.0)
Proactive and Connectors tabs — in the AI Office (v0.11.0)
Offline language detection — LANGUAGE_DETECTION_MODEL=lite works without internet (v0.11.0)
Safer container — the app runs as a non-root user with pinned dependencies (v0.11.0)
One scheduler — only one process runs the background jobs, so extra web workers no longer repeat scheduled triggers (v0.11.0)
New provider — DemonRoute, an OpenAI-compatible hosted service (v0.11.0)
Telegram long polling answers only the owner private chat — a safety fix for v0.13.8 polling, which is off by default (v0.13.9)
Sub-agent start records in an append-only table, and opt-in Telegram long polling — sub-agents stay off by default; apply db/schema.sql first (v0.13.8)
Sub-agent start gate and signed start records — sub-agents stay off by default; apply db/schema.sql first (v0.13.7)
Two sub-agent fixes (sub-agents are off by default) — a child with no tool answers its task, and a slow provider is cut off after 45 seconds by default (v0.13.6)
More fixes from the outside assessment — approvals expire after 7 days by default, Discord requests need a fresh timestamp, connector credentials are refused without an encryption key (v0.13.5)
Security fixes after an outside assessment — approvals run once, file actions always need approval, chat approvals only from a private chat; named with the reviewer's agreement; not a certification (v0.13.4)
File writing by agents (off by default) — agents can propose writing and deleting files in folders granted with write access, always with the owner's approval; not independently reviewed, keep it off in production (v0.13.3)
Audit retention and sign-in rate limit — opt-in audit retention (off by default), a request id in AUDIT lines, and a rate limit on single sign-on that is on by default; deleting history removes evidence; not a compliance claim (v0.13.2)
Structured audit log lines — every agent action also writes one JSON line (ragleap.audit logger, off with AUDIT_LOG_LINES=false); the text itself is never written; not a compliance claim (v0.13.1)
Documents are untrusted content for actions — answers built from ingested documents now need owner approval for outbound actions, even in full autonomy (v0.13.0)
Stress Office guardrail test — small and open: two models, 100 counted runs, none followed the hidden instruction; not a security certification (v0.13.0)
Voice channel secret token (security fix) — the voice WebSocket now needs a secret in its address; upgrade and set VOICE_WS_TOKEN (v0.12.1)
Single sign-on with OpenID Connect — off by default; per the v0.13.0 release notes, tested on Keycloak for sign-in and refusals only, not on Entra ID or Okta (v0.12.1)
Folder auto-ingest — off by default; needs computer control switched on and the owner’s approval for the first read (v0.12.0)
Four roles, personal keys and an audit log — records who made each state-changing request; single-tenant; single sign-on arrived in v0.12.1 (v0.12.0; updated 2026-11-03: this said “no single sign-on”)
Meta WhatsApp, Google Calendar and HubSpot items — listed from merged pull requests, not separately tested for the release (v0.12.0)

In progress

Installer verification — tested by the maintainer on one Windows laptop and on Linux servers; the Ollama option on Windows was tried by one community tester on one Windows 11 Pro machine and reviewed by the maintainer, so it is community-tested (one environment), see issue #781 and its evidence files and the write-up; macOS and Linux desktops are not verified yet (v0.11.0; updated 2026-11-06: this said “macOS, Linux desktops and the Ollama option on Windows are not verified yet”)
Computer control (experimental, off by default) — folders are shared with AI employees only by a command run on the machine (ragleap files), a sandbox runner reads them read-only by default, and every access request needs the owner's approval. Since v0.13.3 agents can also propose writing and deleting files in folders granted with write access, always with approval (updated 2026-11-15: this said only that the runner reads them read-only). Not independently reviewed: do not switch COMPUTER_CONTROL on for real data (v0.11.0)

Not built yet

Public access — the dashboard is local or SSH-tunnel only for now
An interactive browser — agents can fetch pages read-only today
More channels — WhatsApp, Telegram, Discord and voice exist today
Multi-factor sign-in of its own — not built; with single sign-on the identity provider enforces the second factor (single sign-on shipped in v0.12.1; updated 2026-11-03: this line said “Single sign-on and multi-factor sign-in — not built yet”)
An independent security review — a full one is not done yet. An outside static assessment by Aleksei Musienko (AMQIC) in November 2026 led to fixes in v0.13.4; it is not a certification, and the review of file writing (#800) has not happened (updated 2026-11-17: this said “none yet”)
A random graph-database password per install — planned; the compose file still ships a public default for Neo4j, which listens on localhost only
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
Direction

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

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, every model still unverified. 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.

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.