Chasqui is an open-source, self-hosted stack for custom AI chat agents: conversation engine, memory, RAG, human handoff and a pluggable tool system — wired and ready, so your energy goes into your agent's logic. WhatsApp today, more channels on the roadmap.
uvx chasqui new my-agent Apache-2.0 · beta · one command scaffolds and provisions the whole stack
The plumbing decisions are made — Postgres + pgvector, one canonical message contract, conventions over configuration. You build what makes your agent different.
A LangGraph orchestrator keeps one continuous thread per contact — context, silence handling and delivery errors are already solved.
Long-term memory and a grounded FAQ knowledge base on Postgres + pgvector. Answers cite your content, not hallucinations.
Images, documents and voice notes — understood on the way in, sent on the way out.
The agent detects when a person is needed; operators take over and reply from the panel, media included.
Self-contained packages the core auto-discovers: tools, tables, routes and config forms the panel renders for free.
Gemini, Claude, GPT, OpenRouter or local Ollama. Change provider and the next message uses it — no redeploy.
Channels are thin, stateless gateways that translate their platform to one canonical contract — two endpoints and you've added a channel. Handoff, media, silence and delivery errors are expressed once, inherited by every channel for free.
/ingest · /send Every non-obvious decision is written down as an ADR — read the architecture.
uvx chasqui new my-agent The wizard asks: LLM, embeddings, Postgres, ports, WhatsApp credentials (skippable), language, first admin — then provisions deps, database and migrations.
cd core && make dev
cd whatsapp && make dev
cd admin && npm run dev API, WhatsApp gateway and operator panel — each a one-liner.
docs/WHATSAPP-SETUP.md A free Meta developer app is enough to start. Step-by-step guide included, ngrok webhook auto-registration in dev.
Prerequisites: uv, Node 22, PostgreSQL with pgvector (or the generated docker-compose).
Issues and ideas welcome — join in on GitHub.
We build custom agents on Chasqui and help teams get theirs running. Bugs and ideas go to GitHub issues — for everything else, talk to us: