Kotoba

Where to start

What Kotoba isWho she is and where she runs, in one page
InstallingOne package, two commands
First runA key, a model, her first words
The approval gateHow she asks before she acts
The two voice modesLocal voice, or the agent tunnel
The soul fileChange who she is
RoadmapWhat grows next, and what was cut on purpose

Or a section

↑↓ move openesc close124 pages
All pages

Documentationsection 4 of 13

Security

10 pages, in reading order

  1. 1The security model

    Kotoba runs on your machine. It holds your API keys, reads and writes files, and — on the default setting — runs shell commands and Python as your own user…

  2. 2The approval gate

    The approval gate decides whether a command may run. It sits in front of exactly two tools — shell and execute_code — and it is the control that everything…

  3. 3Dangerous commands

    A command that matches one of fourteen patterns is labelled dangerous. Nothing about it is automatic: it never auto-runs, no saved grant of either kind covers…

  4. 4The sandbox setting

    KOTOBA_SANDBOX takes three values. It decides where — and whether — her shell and execute_code tools run anything.

  5. 5execute_code

    execute_code runs a Python snippet. On KOTOBA_SANDBOX=local that is the host, in the working directory, with the scrubbed environment described in Secrets. On…

  6. 6Secrets

    Three separate things are meant here, and they are protected differently

  7. 7The web gate

    The backend serves an API that can run commands on your machine. With no password set, it is open. That is fine for a laptop bound to localhost. It is not…

  8. 8What leaves your machine

    Kotoba runs locally and talks outward. Nothing reaches in unless you deliberately configure it to (the ElevenLabs agent voice path is the one such case, and…

  9. 9Fetching and third-party content

    Two guards sit between the outside world and the agentic loop. Both are filters, and both are described here as filters rather than boundaries.

  10. 10Reporting a vulnerability

    Do not open a public issue for a security problem.