Leuria documentation
Leuria lets a website offer AI features that run on the visitor's own AI, instead of the site's API keys.
Build with Leuria
- Quickstart: a first AI feature in plain HTML, with a bundler, or in React.
- The core SDK: how
@leuria/clientfits together, and where to go next. - Ask AI for your Docusaurus site: an assistant and search by meaning for your docs, on each reader's own AI.
- Guides: providers and the cascade, conversations, tools, structured output, embeddings and search, the Connect UI, React, your own provider.
- Going to production: the cascade to ship, what visitors see, privacy, CSP, tool safety.
- Examples: small recipes you can run with your own AI on the portal.
- Run Leuria from a terminal: the engine without the app, to test your site, in CI, or on Windows and Linux.
- Engine protocol: the HTTP, SSE and WebSocket API between pages and the engine, for writing another client.
Use Leuria
People who use Leuria get the app and its help on leuria.eu.
Security
- Security notes: what Leuria protects against today, and the known gaps.
Contribute
- Architecture: how the engine and the SDK are organized.
- Development: setup, tests, the fake agent, running with a real agent.