Open source · MIT · Self-hosted

The website server with an AI agent built in.

Emissario serves your site from git and answers your visitors with an AI agent that follows your instructions and your token limits. Analytics without cookies, a contact inbox, two-factor sign-in, backups and LGPD/GDPR privacy controls come in the same binary.

  • One binary
  • No database server
  • No cookies
  • The host only needs git
agent · POST /api/agent/messagesAI agent

You are chatting with an AI, not a person. It can make mistakes. Your messages are sent to an AI provider (see Privacy): do not share sensitive personal data.

    Open the full chat

    A real conversation with this site's agent, served by Emissario. How it works

    • 1 binaryWebsite, backoffice and agent API. The host only needs git.
    • 0 cookiesPage views are recorded by the server, with no tracking script.
    • XChaCha20Every database encrypted at rest, backups included.
    • HMAC-SHA256The chat history is signed and stays in the visitor's browser.
    • TOTPTwo-factor sign-in for every backoffice user.
    01 · The AI agent

    An agent that speaks for your site — on your terms.

    Write its instructions in a git repository, pick any OpenAI-compatible model and decide how many tokens it may spend. Emissario signs the history, enforces the limits and never stores a conversation.

    Watch every token from the backoffice.

    The agent overview shows whether the chat is answering, the tokens used today against the daily limit, the IPs that reached their own limit and the latest summaries. The usage page breaks it down by day and by IP.

    • OpenAI
    • OpenRouter
    • Groq
    • Ollama (local)
    /admin/agent Agent overview: chat state, tokens used today, IPs at their limit and the latest summaries
    The agent overview, with demo data.
    02 · How it works

    Two repositories in. A complete website out.

    Your site and your agent's instructions live in git. Emissario pulls both, serves the pages, answers the API calls and keeps every record encrypted in one folder.

    Website repository

    frontend/: static files, as committed. Publishing is a git push.

    Agent repository

    instructions/: README.md, SUMMARY.md and any file the agent may read.

    Emissarioone binary · start-server
    • Website
    • AI agent API
    • Contact API
    • Analytics
    • Backoffice
    • Backups
    ./data — every database embedded and encrypted

    Visitors

    Pages, the AI chat and the contact form. No cookies.

    AI model

    Any OpenAI-compatible provider, or a local Ollama.

    Your team

    The backoffice at /admin, with two-factor sign-in.

    03 · Everything in one place

    Everything a serious website needs. Nothing it doesn't.

    No database server, no analytics service, no runtime to install. Every feature below ships in the same binary and is documented on GitHub.

    04 · Security

    Built to be trusted with your visitors' data.

    Security and privacy are the defaults, not add-ons. Every risky choice comes with a notice that names the law it touches.

    the key stays with you
    $ export EMISSARIO_ENCRYPT_KEY=$(emissario generate-encrypt-key)
    $ emissario add-backoffice-user --username admin \
        --email admin@example.com --role root
    $ emissario start-server
    All the security features
    • Encrypted at restXChaCha20-Poly1305, under a key only you hold.
    • Two-factor sign-inTOTP, with any authenticator app.
    • Hashed IPsHMAC-SHA256 under a random key, by default.
    • Strong password hashesPBKDF2-HMAC-SHA256, 600,000 iterations.
    • Sign-in limitsFailures counted per IP and per account.
    • Short, strict sessionsHttpOnly, SameSite=Strict cookies of 30 minutes.
    • No inline scriptA Content Security Policy on every backoffice page.
    • Signed chat historyNo visitor can forge an answer of the agent.
    05 · Get started

    Two ways to get started.

    Install it yourself at no cost, or have its creator set it up for you.

    Free · MIT license

    Use it free

    Emissario is free under the MIT license. Install the binary, create a backoffice user and point it at the repository of your site.

    • Released binaries for macOS, Linux and Windows, or a build from source with Go 1.25+.
    • Every database embedded in one folder: nothing else to run.
    • Every feature documented on GitHub.