Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Context engineering for AI agents. ~80% fewer tokens. Fix tool overload. Skills and memory with in-process BM25 and semantic retrieval. Progressive Disclosure. No vector DB.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Knowledge & memory.
Connect agents to 6DuckLearn memory, approvals, and runtime control.
Same catalog task: Knowledge & memory.
Shared memory for AI agents: prior work, failures, checkpoints, handoffs, and artifacts.
Same catalog task: Knowledge & memory.
Read and edit your Acorn Reply knowledge base from any MCP client.
Fetched from the repository for this visit.
See what your AI agent gets wrong, and what to change. On your own infrastructure.
Ratel is a self-hosted platform for AI agents. Your agent sends it traces and its catalog of tools and skills. Ratel reads that traffic and shows you what the agent gets wrong, what people ask it for, and which changes would make it find and finish more.
It is for anyone building or running an agent who wants to see how it behaves and keep that data on their own machines. It runs as one application and one Postgres database, and it needs nothing else:
Model keys are optional. With no key, Ratel makes no outbound model call. The readings that need a model report themselves skipped, workflows keep their tool-order names, and topics are named from their own asks.
You need Docker with Compose 2.24 or later, network access to pull images, about 5 GB of free disk in the Docker VM (the app and Postgres images take under 1 GB, the optional demo image 1.2 GB more, plus your data) and 4 GB of RAM for Docker (8 GB is comfortable). There is no build on your machine.
curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/install.sh | sh
The installer works on macOS and Linux, on your machine or on a cloud VM. It checks Docker, Compose, RAM and disk, clones the repo at the latest release into ~/ratel (/opt/ratel as root), creates .env with random secrets, pulls the published image of that release, starts the stack and waits for /api/health. On a Linux server with no Docker it offers to install Docker with Docker's get.docker.com script. On a cloud VM it prints the ssh -L tunnel command to reach the console. Run it again to upgrade: it pulls the image of the latest release and restarts. This also upgrades an install that was built from source. It keeps the data volume and the values in your .env (it sets RATEL_VERSION and COMPOSE_FILE), and it stops if the checkout has local changes or is newer than the release.
Options, after sh -s --: --version <X.Y.Z> (default: the latest release; edge is the last build of main), --ref <branch|sha> (build that from source instead, about 5 minutes), --dir <path>, --yes (ask nothing) and --demo (load the demo data). For example:
curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/install.sh | sh -s -- --yes --demo
On a server with a public IP, --access public puts Caddy in front of the console, on ports 80 and 443, with a Let's Encrypt certificate and a login (basic auth, user ratel). The password is new and printed once. --domain <name> sets the site name (default <public-ip>.sslip.io), --tls internal uses Caddy's own CA in place of Let's Encrypt, and --auth-hash <bcrypt> sets the password's hash. The routes that SDKs and MCP clients call with project API keys (/v1, /v2, /api/v1, /api/v2, /api/mcp) and /api/health pass without the login. A rerun keeps the mode, and --access private turns Caddy off. The installer writes Caddyfile and adds docker-compose.caddy.yml to COMPOSE_FILE in .env, so every docker compose command in the directory includes Caddy. The containers restart after a reboot.
From your laptop, one command creates a VM in your cloud and installs Ratel on it:
curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/deploy.sh | sh
deploy.sh finds the cloud you are logged in to: AWS (aws sts get-caller-identity), Google Cloud (the account and project of gcloud), Azure (az account show), DigitalOcean (DIGITALOCEAN_TOKEN or doctl) or Hetzner (HCLOUD_TOKEN or hcloud). With several, it asks, or takes --cloud. It uses OpenTofu (tofu), or Terraform when OpenTofu is not installed. It creates one Ubuntu 24.04 LTS VM with 2 vCPU or more, 8 GB of RAM and 30 GB of disk or more, a firewall, a static IP and a dedicated SSH key. It shows the plan and a rough monthly cost per size, and asks before it creates anything. Then it follows the install and prints how to open the console. The modules are in deploy/terraform/.
There are two access modes:
--access public (default): Caddy with TLS and a login, as above. Ports 80 and 443 are open to all, or only to the --allow-cidr ranges (for example a VPN), and then Caddy uses its own CA because Let's Encrypt cannot reach port 80. SSH is open only to your current IP. The certificate is for --domain, or for <ip>.sslip.io with no domain. The login password is printed once, and stays only on your laptop, in ~/.ratel/deploy/<name>/login.--access private: no web port. SSH is open to your current IP and the --allow-cidr ranges, and you reach the console through a tunnel: ssh -i ~/.ratel/deploy/ratel/id_ed25519 -N -L 3000:127.0.0.1:3000 ratel@<ip>.Other options, after sh -s --: --region, --size, --name (default ratel, for more than one deploy), --version or --ref (passed to install.sh; the default is the latest release), --iac terraform|tofu and --yes. The state, the SSH key and the password stay on your laptop in ~/.ratel/deploy/<name>/ (owner-only), so the other commands need no flags:
curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/deploy.sh | sh -s -- status
curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/deploy.sh | sh -s -- up # upgrade to the latest release
curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/deploy.sh | sh -s -- destroy
up on an existing deploy upgrades it: it reruns install.sh on the VM over SSH with --version, or with the latest release. A deploy made with --ref <branch> stays on that branch. If your IP changed, it first opens SSH to the new one. destroy deletes the VM, its disk with all Ratel data and its IP, then the local state. Back up first (see On a server).
Each button opens your cloud's console with Ratel's template, in your account. Nothing is created until you confirm there. The VM runs install.sh, as deploy.sh does, in the public mode (Caddy with TLS and a login for user ratel, with the password that you type) or in the private mode (no web port, an SSH tunnel). The template's version parameter (default latest) sets the release; its ref parameter builds a branch or commit from source instead.
| Cloud | Button | What it opens |
|---|---|---|
| AWS | ![]() | CloudFormation quick-create, with deploy/cloudformation/ratel.yaml (default VPC, t3.large, Elastic IP) |
| Azure | A custom deployment, with deploy/azure/azuredeploy.json (its own network, Standard_B2ms, static IP) | |
| Google Cloud | Cloud Shell, with a tutorial that runs ./deploy.sh up --cloud gcp |
The password is in the user data of the VM (AWS) or in its custom data (Azure), base64-encoded. Anyone who can read the VM's configuration in your account can read it. Use deploy.sh when that matters: it gives the VM only the hash.
The manual steps:
git clone https://github.com/ratel-ai/ratel.git
cd ratel
docker compose up -d --wait
This pulls ratelai/ratel at RATEL_VERSION: the value in .env, else the default in docker-compose.yml, which each release sets. Open http://localhost:3000. No configuration is needed.
To run your own changes, build from the checkout with the override file:
docker compose -f docker-compose.yml -f docker-compose.build.yml up -d --build --wait
Or put COMPOSE_FILE=docker-compose.yml:docker-compose.build.yml in .env, and each docker compose command uses it.
If port 3000 or 5432 is taken, set RATEL_PORT and RATEL_DB_PORT in .env (copy .env.example) and set BASE_URL to the address you open, such as http://localhost:3950. The console's snippets and the demo's links use BASE_URL.
If docker compose up --wait fails, read docker compose logs db web worker. A full Docker disk shows up only in the db log (No space left on device). On a small machine the worker can report unhealthy for the first minutes after a restart, while it catches up on queued jobs; it usually settles by itself.
Each release publishes the image docker.io/ratelai/ratel for linux/amd64 and linux/arm64, tagged with its version (0.3.0), its minor (0.3) and latest. edge follows main. The image needs a Postgres 16 database:
docker run -d -p 127.0.0.1:3000:3000 \
-e DATABASE_URL=postgres://ratel:ratel@<db-host>:5432/ratel -e DATABASE_SSL=disable \
-e DATABASE_MIGRATE_ON_BOOT=1 ratelai/ratel:0.3
Without APP_ROLE, the one container serves the console and runs the jobs. GET /api/health answers 200 when it is ready. RELEASING.md tells how releases and images are made.
202. Set RATEL_API_KEY to the key.POST <BASE_URL>/api/mcp with Authorization: Bearer <project key>. The console's Integrations page has copy-paste setup for Claude Code, Claude Desktop, Cursor and VS Code, for example claude mcp add --transport http ratel <BASE_URL>/api/mcp --header "Authorization: Bearer $RATEL_API_KEY". Details are in web/src/lib/mcp/README.md.Tasks and Ship, testing a fix before it ships, session replay and the improvement-loop MCP tools are off by default. Add RATEL_EXPERIMENTAL_FEATURES=1 to .env and run docker compose up -d --wait to turn them on; remove the line (or set 0) and run it again to turn them off. With them on, Tasks becomes a page of its own in the rail and replaces the Tasks tab under Agent health, and the MCP server lists 9 more tools (40 without).
docker compose --profile demo run --rm demo
A fresh install seeds this sample project, Site Copilot, by itself the first time the console opens with no project: 30 days of agent activity, marked as sample data, seeded once per organization (deleting it does not bring it back). Some pages fill in over the next couple of minutes. This command replaces it with a fresh copy, or restores it after a delete.
The console has no login. Anyone who reaches it is an admin. Ratel binds to
127.0.0.1only: keep it behind your own proxy with authentication and TLS.
The one-command installer does the steps below for you, with random secrets. With --access public it also sets up the proxy (Caddy). Then set RATEL_ORG_NAME and BASE_URL in .env and run it again. By hand:
git clone https://github.com/ratel-ai/ratel.git
cd ratel
cp .env.example .env
Set these in .env before the first start. Generate each secret with openssl rand -hex 32:
RATEL_ORG_NAME=Acme
BASE_URL=https://ratel.example.com
POSTGRES_PASSWORD=<generated>
TRACE_SIGNALS_HASH_SALT=<generated>
RATEL_SECRET_KEY=<generated>
Then start it with docker compose up -d --wait. Point your proxy at 127.0.0.1:3000, and configure it so that:
/v1, /v2, /api/v1, /api/v2 and /api/mcp pass through without your login, because the SDKs and MCP clients authenticate with API keys (bearer project keys). /api/health can pass too, for your monitor./api/cron/drain, which only matters if you set RATEL_CRON=external; it takes CRON_SECRET as a bearer, so give your scheduler that route and nothing else.Host or sets X-Forwarded-Host, otherwise console actions fail.Model keys are optional, and every field is explained in .env.example.
TLS. Terminate it at the proxy and keep BASE_URL on the https:// address, since the console's snippets are built from it.
Backups. All state is in the Postgres volume (ratel_pgdata). Dump it with docker compose exec -T db pg_dump -U ratel ratel > ratel.sql, and restore into an empty database with docker compose exec -T db psql -U ratel ratel < ratel.sql. Keep .env too: a lost TRACE_SIGNALS_HASH_SALT splits old hashes from new, and a lost RATEL_SECRET_KEY cannot open the stored Slack secrets.
Upgrades. Rerun the installer. By hand: check out the release's tag, set RATEL_VERSION in .env to the same version and run docker compose up -d --wait. The volume stays, also when the running version was built from source: its old ratel-web and ratel-worker images can then be deleted. Migrations run on boot and only add to the schema, so a rollback means restoring the dump you took before the upgrade and running the earlier version.
docker compose up -d --wait # start, or move to a new RATEL_VERSION; migrations run on boot
docker compose down # stop, keeping your data
docker compose logs -f web worker # follow the logs
docker compose down --volumes # stop and DELETE ALL DATA
Two containers run the app from the same image: web serves the console and the API and only queues background work, and worker runs it (analysis, sweeps, model calls), so a slow job never holds up a request. To run everything in one container instead, start the image without APP_ROLE.
POSTGRES_PASSWORD is read only when the database is first created. Changing it later means deleting the data with the last command.
An organization holds projects, and each project is one agent's view:
| Page | What it shows |
|---|---|
| Overview | The project at a glance: activity over the last 7 or 30 days, and what needs attention. |
| Agent health | What your agent gets wrong. Summary lists the issues, Tasks follows what people tried to do down to each session, and Self-corrections lists the times the agent retried, switched tools, gave up or apologized. The Summary also prints as a report. |
| Traces | Every run step by step, with spans, operations and logs, and two traces side by side. |
| Catalog | Every tool and skill your agent can use, and how each one is found. Test a search ranks a prompt against the live catalog, with what-if edits. |
| Intents | What people ask for. All intents lists the topics, Flows shows what people want next, ask after ask, and Map lays the intents out. |
| Improvements | Fixes is the one list of changes that would make your agent find and finish more. Quality measures how well searches find the right tool, with misses, description rewrites and experiments. Adaptive ranking puts the tool your agent needs first, using what people asked before. |
| Settings | Projects general settings, API keys, SDK events under Developer, and a danger zone. |
web/ # @ratel/platform: the console and APIs (code in web/src)
mcp-apps/ # @ratel/mcp-apps: the MCP Apps views, built for web/'s MCP server
packages/
├── brand/ # @ratel/brand: palette, fonts and logo assets
└── design-system/ # @ratel/design-system: semantic tokens and UI primitives
scripts/ # Repository checks
docs/
├── adr/ # Architecture decision records
└── assets/ # Images and other static assets
ee/ # Manifest for the Enterprise modules
The SDKs (the Rust core, the TypeScript and Python SDKs, adapters, rankers, telemetry and the catalog protocol) live in ratel-ai/ratel-sdk.
The application's own layout and commands are in web/README.md, and the layers of its core in web/src/lib/README.md.
Prerequisites: Node 24+ and pnpm 10.28+, with Docker for the platform's Postgres.
The SDKs are developed in ratel-ai/ratel-sdk. The platform uses the published @ratel-ai/sdk and @ratel-ai/telemetry packages from npm.
The ratel-ai-core engine, now in ratel-ai/ratel-sdk, is licensed under Apache-2.0, an explicit patent grant for the engine others embed. Everything else (the platform application, SDKs, telemetry helpers, examples) is MIT. See ADR-0006 for the rationale.
Loading reviews...
GitHub checked 567h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.