Elaia
Beta. Elaia is not finished yet. Expect bugs and changes between versions.
Please report problems on GitHub issues.
Elaia is a VS Code extension that runs many tickets at once, in as many projects as you add. Each
ticket gets its own git worktree and chat, and runs its own agentic workflow.
The workflow comes from a tool, which Elaia reaches through a plugin. The default is
glafka. The chats run on your own Claude Code, or on GitHub Copilot (elaia.chatAgent).
Elaia (ἐλαία) is Greek for olive tree.
+ New chat
Chat: why is it slow ×
shop ×
Project chat
▾ Epic: Checkout v1 1/3
✔ Ticket: Total with VAT
⏳ Ticket: CSV export
Ticket: Receipts
+ Add project
project chat ·
epic ·
idle ticket ·
your own chat ·
⏳ working · ✔ closed · a dot: something you have not seen
┌──────────────────────────────┬───────────────┐
│ shop › Ticket: CSV export │ Steps │
│ │ ✓ Plan │
│ you, the agent, and short │ ● Build │
│ lines like "Build done" │ ○ Review │
│ │ buttons │
├──────────────────────────────┤ Open diff │
│ > type a message │ Tokens │
├──────────────────────────────┴───────────────┤
│ ▸ Terminal │
└──────────────────────────────────────────────┘
Install
You need VS Code 1.95+, Node 22.12+, the code command, and claude (or copilot, for chats on
Copilot). Agents run inside a lock, so you also need macOS, or Linux with bubblewrap (bwrap). On
Windows, open your projects in WSL2 (VS Code's WSL extension) and install bubblewrap there.
npm install
./run install-ext
- In VS Code, run Developer: Reload Window.
- Click the olive tree in the left bar, or run Elaia: Open Panel.
- Press
+ Add project.
Elaia then looks for the project's workflow tool:
- The tool saved for this project.
- The first plugin that says it is installed there.
- A plugin that starts, in a repo not set up yet: tell the project chat "set up this project".
- No plugin: the project chat shows how to install the default tool.
Elaia never runs an install or a setup by itself.
How a ticket goes
- Ask the
Project chat for a ticket. It works like Claude Code, with the tool's skills.
- A ticket made there gets its own chat, which plans it with you and stops at the plan.
- An epic: its file
docs/elaia/epics/<slug>/epic.json starts its chat. Press Cut the tickets.
Approve whole epic: each written plan builds by itself, once.
Approve tickets: you press Build on each one.
- Press
Build. The tool makes the worktree. The coder, review and tests run in the background.
- If the tool stops for you, the ticket's chat says why and what comes next.
- When the ticket is ready, VS Code shows a notification. Press
Create the PR.
- Merge on GitHub, then press
Close ticket. Elaia saves the chat in the repo, then deletes its
own copies for that ticket.
On the loop (when the project's tool says it works that way): a ticket's chat asks nothing and
waits for no approval, and its written plan builds by itself. An epic is cut with no brainstorm and
approved by itself. The tool raises the PR, and the chat asks whether you want to test it. You still
merge.
Buttons sit in the right column. They show only when they fit, and never while the chat answers or
a coder works. If a worktree folder is gone, you get Close ticket and Cancel ticket.
Typing push or close alone in a ticket's chat runs that step. Any other words are just a
message: "ok" or "yes" starts nothing.
In a chat
+ New chat opens a chat with no ticket, in the project of the chat you are on, else the first
project. × deletes it and keeps a copy in .elaia/chats/.
- Words you type while the agent works go into the running turn (Claude; on Copilot they wait for
the next turn).
- The bar under the box picks the model and effort (Claude), and if this chat's agent may commit.
- The top of the sidebar shows your plan's limits, as the agent last reported them. Hover for what
Elaia spent. Elaia starts no model just to read them.
Only one VS Code window runs Elaia. Others show "Elaia is open in another window." and take over
when that window closes. Elaia: Open in Own Window moves the tab to its own window.
What Elaia writes in your repo
.elaia/chats/<chat>.jsonl each chat, only what was shown
docs/elaia/epics/<slug>/epic.json an epic
docs/elaia/inbox/ files dropped on a project chat
commit-msg git hook removes AI co-author lines
.elaia/ and docs/elaia/ each hold their own .gitignore. They stay on this machine, so a new
clone starts without them.
- If the repo has its own
commit-msg hook, Elaia leaves it and says so in the project chat.
Agents search all this with the elaia command, which Elaia puts on their PATH:
elaia recall vat rounding # this project
elaia recall vat rounding --all # every project in Elaia
elaia show thread:epic-checkout-v1
Permissions
- Chats run with
bypassPermissions, so nothing asks you first.
- Ticket and epic chats run inside a lock: the macOS sandbox, or bubblewrap on Linux. It cannot
change your settings, the tool's rules, Elaia's own files and code, VS Code's settings, or
Claude's and Copilot's settings. Everything else it may write. No lock on this system: those
chats start no agent.
- Free chats (the main chat, and each one from +) run like Claude Code: no lock, no deny rules,
and they start even when the tool is broken. They get only three extra texts: no pop-ups, the
tool's setup words, and your persona.
- In ticket and epic chats, deny rules block recursive
rm, sudo, curl, wget and
npm publish. They match text, so a command written another way can still run.
- While a coder works, its ticket's chat may read but not write in the ticket's folder and the main
project folder. The edit tools, MCP tools and
EnterWorktree are blocked too.
- Claude's and Copilot's own sandboxes are off: a sandbox cannot start inside the lock.
Settings and rules
- ⚙ Settings under each project lists every setting the tool has. Save writes it.
- A ticket or epic chat cannot change a setting or a rule. It asks (
elaia setting <name> <value>,
elaia rule <text>), and a card shows the change. Only your click makes it. A free chat can.
- When a ticket's agents learned rules, Close asks: keep them, or drop them.
Plugins
Elaia ── MCP over stdio ──► plugin ──► workflow tool
A plugin is an MCP server, in any language. Only its describe tool is required. A tool it leaves
out turns that feature off. How to build one: docs/build-a-plugin.md.
Add it in your User settings. A repo can never add a plugin.
"elaia.plugins": [{ "id": "mytool", "command": "mytool-elaia", "args": [], "env": {} }]
Settings
Only your User settings can set these.
elaia.defaultWorkflow: the tool tried last: its plugin command, and how to install it.
elaia.plugins: the plugins you add.
elaia.chatAgent: who answers the chats: claude (the default) or copilot.
elaia.claudePath: the Claude Code command. Default: claude.
elaia.copilotPath: the GitHub Copilot CLI command. Default: copilot.
elaia.allowedTools: tools Claude may use in chat turns without asking.
Limits
- The chat runs Claude Code, or GitHub Copilot through ACP (
copilot --acp). A coder is whatever
the workflow tool runs.
- On Copilot there is no model picker and no plan-limit bar, and words you type while it answers
wait for its next turn.
- Chats and epics do not travel with the repo.
- The lock does not cover git hooks and git config, MCP servers in
~/.claude.json, skills, or a
command put earlier on your PATH. On Linux, a locked file that does not exist yet is not locked,
and a symlink's target is locked, not the link.
Develop
./run check # format, lint, typecheck
./run test # unit and webview tests
./run test:vscode # a throwaway VS Code with Elaia loaded
./run test:e2e # the whole flow, no VS Code: real tool, real agent, costs tokens
./run package # dist/elaia.vsix
./run test:e2e needs the plugin on your PATH. It stops at Create the PR and never opens a PR.
ELAIA_E2E_DIR=<folder> keeps its files there, and a second run goes on from them.