Euron Code
An AI coding agent for your terminal, made for Euron students. Ask it to explain a codebase, fix a bug, write tests or build a feature: it reads your files, proposes edits, runs commands and checks its own work, asking you before it changes anything.
Euron Code runs on your computer. Only the conversation goes to Euron's model servers.
Requires Euron Plus or Super 30. Euron Code is included with both. Get Plus at https://euron.one/plus
Install
Python 3.9 or newer, on Windows, macOS or Linux.
pip install euron-code
# or, to keep it isolated from your projects:
pipx install euron-code
Optional database drivers for the database explorer:
pip install "euron-code[postgres]" # Postgres
pip install "euron-code[mysql]" # MySQL / MariaDB
Check the install with euron --version and euron doctor.
Log in
euron login
Your browser opens a Euron page that shows a code (for example WXYZ-1234). Check that it matches
the code in your terminal and click Approve. The terminal finishes by itself. If no browser opens
(SSH, WSL), copy the link it prints into any browser where you are logged in to euron.one.
Your key is saved in the system keychain (Windows Credential Manager, macOS Keychain, Linux Secret
Service). If there is no keychain it goes in ~/.euron/credentials.json, readable only by you.
euron whoami # who you are logged in as, and your plan
euron logout # remove the key from this computer
Use it
Open a terminal in your project folder and run:
euron
Then type what you want, for example:
explain how authentication works in this projectthe tests in tests/test_api.py fail, find out why and fix itadd input validation to the signup form and a test for it
Euron Code works step by step: it looks around, reads files, shows you a diff before each edit, and asks before running commands. Answer:
| Key | Meaning |
|---|---|
y |
yes, once |
n |
no (you can then tell it what to do instead) |
a |
always allow this for the rest of the session |
p |
always allow commands starting the same way (e.g. every npm test ...) this session |
s |
always, and save the rule to .euron/settings.local.json |
Press Esc or Ctrl-C to stop a reply; the session stays open. Ctrl-D or /exit quits.
Esc then Enter inserts a newline.
Commands inside a session
| Command | What it does |
|---|---|
/help |
list commands |
/usage |
plan, tokens used today and your daily limit, reset time, last 30 days |
/cost |
tokens used in this session |
/model [id] |
show or switch the model |
/compact [focus] |
summarise the conversation to free context |
/clear |
start a fresh conversation |
/memory, /memory edit |
show or edit EURON.md memory |
/init |
let Euron Code explore the repo and write EURON.md |
/permissions |
show rules; /permissions mode acceptEdits, /permissions allow "Bash(pytest:*)" |
/thinking show|collapse|hide |
how the model's reasoning is displayed |
/todos |
the current task list |
/doctor |
check your setup |
/login, /logout, /exit |
|
# some note |
save a note to memory (asks: project or user) |
The bar at the bottom shows the model, tokens used this session, how full the context is, and how many tokens you have left today.
Continue later
Every session is saved under ~/.euron/sessions/.
euron --continue # pick up the latest session in this folder
euron --resume # choose from a list
Usage and limits
euron usage
shows your plan (Euron Plus / Super 30), tokens today out of your daily limit, what is left, when it resets (in your local time), all-time totals and a day-by-day table for the last 30 days. The daily allowance resets at midnight IST.
Euron Code sends one request at a time per student. When the servers are busy it waits and retries by itself, and tells you.
Memory: EURON.md
Put project instructions in EURON.md at the project root (commands to build and test, conventions,
things to avoid). Euron Code reads it at the start of every session, together with EURON.md files in
parent folders up to the git root and your personal ~/.euron/EURON.md. Run /init to have a first
version written for you.
Non-interactive use (scripts, CI)
euron -p "summarise what this repo does"
git diff | euron -p "review this diff"
euron -p "run the tests and fix failures" --allowed-tools "Edit,Bash(pytest:*)" --max-turns 20
euron -p "list the API routes" --output-format json
In -p mode nothing can ask you, so anything that needs permission is refused unless an allow rule
covers it (--allowed-tools, or settings). --yolo skips all prompts: only use it in a throwaway
folder or container.
Exit codes: 0 ok, 1 error, 2 bad usage, 3 no Euron Plus / Super 30 access, 4 not logged in or
key rejected, 5 daily token allowance used, 6 --max-turns reached, 130 interrupted.
Database explorer
Euron Code can look at your app's database while it works. SQLite files inside the project work
directly (look at app.db and tell me which tables have no index). For Postgres or MySQL, name a
connection in your settings; ${VAR} reads from the environment so passwords stay out of the file:
euron config set --project db.connections.app "postgresql://dev:${PGPASSWORD}@localhost:5432/app"
It is read-only: only SELECT, WITH, EXPLAIN, SHOW, PRAGMA and similar are allowed, and
the connection itself is opened read-only. To let it write (local dev databases only), run
euron config set db.allowWrites true; every write statement still asks you first.
Settings
euron config set <key> <value> writes ~/.euron/settings.json (add --project for
.euron/settings.json in the current folder). euron config list shows the merged result.
| Key | Default | |
|---|---|---|
model |
your account default | model id |
reasoning |
collapse |
show, collapse or hide the model's thinking |
permissions.allow / permissions.deny |
[] |
rules like Edit, Bash(npm test:*), WebFetch(domain:docs.python.org), Read(~/notes/**) |
permissions.defaultMode |
default |
default, acceptEdits (edits inside the project need no prompt) or yolo |
bashTimeout |
120 |
seconds before a command is stopped |
shell |
auto | PowerShell on Windows, bash/zsh elsewhere; or cmd, bash, a path |
autoCompact |
true |
summarise old turns when the context is 75% full |
webFetch |
true |
allow the web page tool (it still asks per site) |
db.connections.<name> |
database DSNs |
Environment variables: EURON_CODE_API (gateway URL, default
https://api.euron.one/api/v1/code-agent), EURON_API_KEY (use a key without logging in, for CI),
EURON_HOME (instead of ~/.euron), EURON_NO_BROWSER=1.
In VS Code
Open your project folder in VS Code, then open the integrated terminal (**Ctrl+**, or **Terminal > New Terminal**) and run euron`. It works in the folder VS Code opened, and edits show up
in the editor straight away. Tips:
- On Windows the integrated terminal is PowerShell by default; Euron Code runs commands with
PowerShell too. To use Git Bash instead:
euron config set shell bash. - If
euronis not found afterpip install, the PythonScriptsfolder is not on your PATH. Usepython -m euron_code, or install withpipx(pipx ensurepath), then restart VS Code. - Keep your edits saved before asking Euron Code to change the same file.
Troubleshooting
| You see | What to do |
|---|---|
You don't have Euron Plus access... |
Euron Code needs Euron Plus or an active Super 30 enrolment: https://euron.one/plus |
not logged in / key was rejected |
run euron login again (keys can be revoked at euron.one/code-agent) |
servers are busy, retrying |
normal at peak times; it retries for you. If it gives up, try again in a few minutes |
Rate limit reached |
too many requests in one minute; it waits and retries |
today's token allowance |
you used today's limit; it resets at the time shown (midnight IST) |
The response stopped part-way |
the connection dropped mid-answer; nothing more was applied, send your message again |
euron: command not found |
see the VS Code tips above, or run python -m euron_code |
| garbled colours on old Windows consoles | use Windows Terminal or VS Code's terminal |
euron doctor checks Python, the connection, your login and plan, ripgrep (faster search; optional)
and the keychain.
Privacy and safety
- Your files are only sent as part of the conversation with Euron's model, and only what the agent reads. Nothing is uploaded anywhere else. There is no telemetry.
- Your key is never printed in full and never logged.
- Edits and commands ask first. Files outside the project folder always ask, even to read.
- Text inside your files, web pages and command output is treated as data, not instructions.
Licence
Copyright (c) 2026 Euron. All rights reserved. See LICENSE.
Metadata
Release files for euron-code 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| euron_code-0.1.0.tar.gz | 85.5 kB | Without provenance | Details for euron_code-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| euron_code-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for euron_code-0.1.0-py3-none-any.whl |
Total release size: 165.5 kB
Release files / euron_code-0.1.0.tar.gz
| Download URL | euron_code-0.1.0.tar.gz |
|---|---|
| Size | 85.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a51407b542a0f16059e73ca881084c5a2b95a5390eeb9c514c9744732aa63d57
|
|
BLAKE2b-256 checksum How to use checksums |
6b47b080acc22f479f702a575702a4cc08deb4351c5eceb3b241ab4dc3073fd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / euron_code-0.1.0-py3-none-any.whl
| Download URL | euron_code-0.1.0-py3-none-any.whl |
|---|---|
| Size | 80.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6e24d8ea3aa5b06f0518d6435fd0ed8bc410b5e294675c07b4db0c48fcd4f0a
|
|
BLAKE2b-256 checksum How to use checksums |
7edb36633250610787af16c628698371da19dfdb5dcb59e9b155891158470b6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for euron-code 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.