Evokai is an open-source AI agent backend service whose goal is to integrate AI assistants into any product completely and in a governable way. It packages the agent backend, chat and voice interfaces, admin console, governance, and monitoring into a single service; once an application connects with a key, its users get an assistant that works based on their own data and operations, under their own identity, and within set limits.
Key capabilities
- Agent as the user: invokes application tools via MCP using the logged-in user's own credentials, filtered by user; the agent cannot see or perform anything beyond that user's permissions; tools that modify data pause the turn and wait for user confirmation.
- Per-application authorization: each application receives explicit authorization for models, tools, skills, voice, channels, and code execution, each with its own key and limits; anything not authorized is off.
- Budget control: hard limits per application, defaults per user, enforced monthly and daily, taking effect before every model call; users only see a quota percentage, not amounts.
- Data protection: data residency, jurisdiction, and retention policies configured per application, applying to all external processors such as models, embeddings, classifiers, code sandboxes, and voice; providers that cannot prove compliance are excluded; history is always sent by Evokai or the application and is not stored on the provider side.
- Security layer: maps to the OWASP LLM Top 10, including prompt injection and jailbreak checks, marking tool output and emails as untrusted data, personal data redaction or tokenization, blocking secrets and unsafe links, tool policies, and abuse limits; each control can be turned off, monitored, or enforced, and a red-team test suite is provided.
- Pre-release evaluation: each agent's test cases run against new versions and are compared with the previous version to catch regressions early.
- Accountable operations: the console uses single sign-on, with viewer, operator, and owner roles, and all changes go into an audit log.
- Compliance documentation: generates AI Act (classification, Annex IV-style documentation), GDPR (processing records, DPIA templates, rights, DPA annexes), and ISO 27001 / SOC 2 mappings based on the actual configuration, with a source attached to every statement, plus snapshots and diffs; personal data can be exported or deleted on request, with retention periods set by data type.
How to use
- Connect an application in the console: obtain a server key, its agent (models, instructions, optional MCP servers, skills from the allowlist), and limits; list page origin addresses as allowed origins, and Evokai rejects browsers from other origins.
- The backend mints a token for the logged-in user: use @evokai/evokai-client/server's EvokaiServer, calling mintSessionToken with subject, agent, and an optional conversationId.
- Embed the interface into the page: install @evokai/evokai-ui and @evokai/evokai-client, register the elements, then use the <evokai-chat> component, specifying base-url and token-url. Bare imports require a bundler or import map.
Quick start Start in five minutes with Docker, open http://localhost:8787/agent/admin/ Enter the operator key, and the console setup creates the first app, its agents, and the server key, with no YAML needed. Testing models require no account; pass OPENAI_API_KEY, MISTRAL_API_KEY, AWS credentials, or OLLAMA_BASE_URL to use real models. Starting from the source tree is also supported, as is applying app configuration as infrastructure as code via a YAML file.
Client and UI @evokai/evokai-client is a headless TypeScript client that provides everything the UI needs but draws nothing; see API.md for all exports and events. @evokai/evokai-ui provides ready-made interfaces: <evokai-chat> (launcher orb and chat panel, with Markdown, tool activity, charts, questions, confirmations, usage share, history, feedback, dictation, and voice mode) and <evokai-voice> (full-screen voice stage), as Web Components with React wrappers, themeable via CSS custom properties, with support for English and Italian.
Use cases Suited to teams that want to embed an AI assistant in their product, need to securely call app tools as the user, need budget and data governance, and care about EU data residency and AI Act/GDPR compliance.
Limitations Evokai is in an experimental early stage; the HTTP API, configuration, and clients may change between 0.x versions, so read the changelog before upgrading, as manual migration may be required. Production use is at your own risk; the software is provided "as is" under Apache License 2.0 Sections 7 and 8, without any warranties or liability. The name, logo, and mascot are unregistered trademarks, are not covered by the license, and forks and derivative works must use their own name and branding and retain the copyright notice.