What does Irene's main agent do, and how does it work?

The main agent is Irene's everyday coworker. It does real work itself — files, shell, web, memory, interactive answers — and for each piece of work it picks the cheapest way that still gets it right: do it directly, run something already saved, turn a repeating step into a program, or hand a strand to a helper that reads the bulk once and returns only the conclusion. It runs on your computer, keeps your work in ~/.irene, and gets cheaper on the jobs you repeat.

What makes it different

what it does the primitive behind it what that buys you
Looks before it works discovery: one search across what you already have (skills, recipes, reflexes, your agents) and what you could get (apps, MCP servers, plugins) It doesn't rebuild what already exists, and an empty search still says where it looked
Changes approach mid-task Fixed re-sort triggers (below): the 3rd identical call becomes a program, the 4th page goes to a helper Work that would grow the conversation gets moved out of it before it gets expensive
Keeps bulk out of the conversation Helpers read once and hand back a conclusion; huge tool results are stored on disk behind a handle Every later step stays cheap, because the conversation isn't re-sending pages nobody needs
Lends exactly the tools a helper needs delegate(tools=…) is a required choice, never a default Measured: a helper with every tool pays 7,840 tokens of tool descriptions per turn; with none, 192
Picks the model per strand A three-rung ladder (low · standard · high) per helper role, adjusted to your plan Bulk reading runs on cheap models; judgement calls get strong ones; the card tells you which
Turns repeated work into programs reflex: a small program that drives its own tools, with model calls only where judgement is needed, and those answers cached A replay with no judgement steps uses no model at all
Dreams, then offers Dreaming: every 3 clean turns a cheap background model re-reads the new part of the chat, saves what it learned about you, and judges whether the work should become a recipe, reflex, skill, vault item or hook, or whether a saved one should be sharpened Your facts carry across chats without you repeating them; work that will come back gets turned into something reusable (offered once, never saved without your yes, and a "no" is remembered)
Reachable from anywhere Floating orb and overlay panel, voice, Telegram, Slack, Discord, WhatsApp and email, the board, schedules You don't need to be at the app, or even at your computer, to hand it work

How it works

Choosing the move

For every request, the main agent picks a move by the shape of the work, not its size:

the work is… the move
a direct answer or one small lookup answer it, no searching first
real, multi-step work discovery first; run a saved skill, recipe or reflex if one fits
the same kind of step many times (20 pages, every row, a folder of files) a reflex, or one helper per strand
needs a real browser, a desktop app, Office files, multi-file code, media, or sourced research hand it to the specialist (Browser Use, Computer Use, Code, Documents, Slides, Spreadsheets, Design & Media) or a research helper
a project with taste and back-and-forth it's not a hand-off; you open that agent yourself

It re-sorts mid-task when any of these happens: - it's about to make the same call a third time → write or reuse a reflex - it's about to open a 4th file or page for one request → hand the rest to a reflex or a helper - a result is too long to read in full → run that work behind a reflex or a helper - it can't name the next step until it sees this one → delegate (a program can't do that) - the same approach failed twice → change approach - it caught itself about to "just look first" after choosing a move → do the move

Once it decides to hand something off, it hands it off. It doesn't also do the work itself.

Helpers: specialists and roles

A helper runs in its own chat. It sees only the task the main agent wrote for it, never your conversation, and hands back only its final answer. Files it makes land in your chat's folder.

Why it's built this way: everything in the main agent's conversation is re-sent to the model on every step. If the main agent read 20 pages itself, those pages would be paid for again on every step after, for the rest of the chat. A helper reads them once, in its own chat, and only its conclusion comes back. The same goes for tools: every tool an agent holds is described to the model on every turn, so the main agent doesn't carry the Browser's, Code's or Office's tools at all. Its starting prompt stays small and stable, which also keeps it cached and cheap to re-send.

  • Specialists bring their own tools, instructions and model: Browser Use, Computer Use, Code, Documents, Slides, Spreadsheets, Design & Media. Their tools load only inside their own chat.
  • Roles are a way of working plus a model, using tools the main agent lends:
role its job
explorer find or distil; hand back the conclusion, not the haystack, with where it found it
executor carry out one scoped step
planner break up long work
verifier check finished work against the real thing; verdict first, with proof. A verdict without proof comes back marked unverified
advisor a second opinion on a judgement call; decides instead of listing options
  • Tool lending is explicit. The main agent names exactly what a role gets: specific toolkits or single tools, nothing (it only thinks), or everything it holds itself. A helper can never hold more than the main agent does. Why: a helper given every tool pays 7,840 tokens of tool descriptions on each of its turns; one given none pays 192. An advisor asked a judgement question doesn't need tools, so it shouldn't pay for them.
  • Model rung. Each role has three rungs. Low for bulk work where mistakes are cheap to spot; high when the helper decides something or a redo would be expensive. The verifier runs on a different model family from the executor, so it doesn't share its blind spots. If your plan can't reach a rung, the call steps down to the best one you can use and says so on the card. You can change any role's model in Settings → Models.
  • Two-way. A helper can stop and ask the main agent a question; the main agent answers and the helper carries on. The main agent can also steer a running helper that didn't ask.
  • Failures are specific. A failed helper reports why (plan too low, model busy, provider error, cancelled, no result) and what it got done before it stopped. An empty answer counts as a failure.

Keeping the conversation small

Everything in the conversation is re-sent to the model on every step, so the main agent keeps it small:

  • Large results go to disk. A tool result over the limit is saved under ~/.irene/context/ and the conversation gets a short pointer: its size, a map of its structure, and any error lines already pulled out. The main agent then reads back only what it needs: matching lines, chosen fields from every row, or a line range. It can also pass the whole result straight into another tool as @file_id without reading it at all.
  • Only when it pays. A read-back is one more step that re-sends the whole conversation, so a result is only moved out if it's at least 3× the size of its pointer. Web pages and files read whole stay in the conversation up to 20,000 tokens. (Moving everything out was measured on 30 real turns: 64% more billed input and nearly twice the steps.)
  • It learns what you look for. When it searches a stored result and finds what it needed, it remembers the pattern for that tool. Next time those lines are already pulled out. This runs on your computer and uses no model.
  • Compaction. When a step's input reaches 80% of the model's context window, Irene folds the earlier conversation into a structured summary — your asks, decisions, facts, files, links, open threads, and every stored-result handle — in the background after the turn. The next turn waits for it. You'll see "Compacted context" in the chat. /compact does it now; /context shows what the chat is holding.
  • Pictures are shrunk before they enter the conversation; empty fields are stripped from tool results.

Its tools

toolkit tools what the main agent uses it for
file read_file · write_file · edit_file · search_files · change_workspace Read almost anything: text, PDF (with OCR for scans), Word, PowerPoint, Excel, images, video (as a timed frame grid), audio (as a transcript). Write and edit files; search by name or content
shell execute_command One persistent terminal per chat (folder, exports and environments carry over). 30-second default, longer on request
web web_search · web_read Many searches at once (news, images, science, shopping, maps…); read many pages as clean text, including PDFs and pages that need a real browser
delegate delegate Start, follow, answer, steer and cancel helpers (above)
discovery discovery Search what you have and what you could get, in one call
skill · recipe · reflex one tool each Know-how · proven past runs · programs. → Make a reflex
chronicle chronicle Your memory, vault, plans, goals, board cards, projects and timeline: save, find, link, publish a page or file to a link
cards render_card Answer with an interactive card when the answer is something to see: 81 built in (charts, maps, stock, diagrams, decision matrices, research findings, a page being watched…)
equip equip Connect an app or an MCP server for good, or add another toolkit to this chat only
conversation ask_user_question · todo Ask you one focused question; keep a visible task list for multi-step work
sleep sleep Wait up to 2 minutes
(always) offloaded Read back a stored large result

Added only when needed: - generate: images, video, music, sound effects, speech, 3D; upscale, remove backgrounds, restyle - rag: your own documents, searched by meaning on your computer — like NotebookLM, but the index never leaves your device. A whole folder becomes one searchable collection - plugin: inspect and install plugins - site: publish a folder as a live static site (HTML, CSS, images) at its own link

Why some are added only when needed: every tool the main agent holds is described to the model on every turn, used or not. Keeping rarely used toolkits out keeps every turn cheaper; the main agent attaches one the moment a job needs it.

Deliberately not carried: - Browser Use, Computer Use, Code, Office and Design tools. Those are loops, not single calls; the specialist does them with its own instructions. - A date/time tool. The current date and time come with every message.

How it's told to behave

  1. Act. Ask only when a real choice is yours; look up anything it can check itself.
  2. Tool results are the truth. If the plan and the result disagree, the result wins.
  3. A saved recipe is precedent, not a script. Re-check the live situation; never reuse old IDs or positions.
  4. Short facts about you go to memory; whole things you'll want back go to the vault, never a summary of them.
  5. After a task: save something only if it's durable — a recipe from a clean run, a reflex if it should run as one program, a skill if it had to be told how this kind of work is done. A one-off saves nothing. It never saves what it just ran from the library, and never saves before seeing real data.
  6. Things for later: steps in this chat go to the task list, multi-day work to a plan, one thing for later to a card on the board. A scheduled job is a card with a time; it confirms what, when and where in one line first.

Working in parallel

  • 10 helpers run at once across Irene. An 11th waits in line; nothing is refused.
  • Helpers of helpers don't take a slot, so a parent can never block its own child. Hand-offs go 5 levels deep at most, and an agent can't hand work back to itself.
  • Waiting or not. By default the main agent waits up to 5 minutes for a helper. After that, or if the helper asks a question, or you press To the background, the helper keeps going and the main agent carries on. When a background helper finishes you get a notification, and an idle chat wakes up to tell you what came back.
  • A helper that goes 10 minutes without doing anything is stopped. The clock pauses while it's waiting on you.

Approvals and auto mode

  • Every tool asks first unless it's harmless (the task list, questions, cards, waiting). The card asks in plain words ("Edit a file?"), says which helper it came from, and shows where data is going: the search query, the page being opened, the recipient and message. Details shows everything.
  • Allow runs it once. Always allow trusts that tool for this chat. Stop ends the run. There's no timeout: an approval waits, and survives a restart.
  • Some things always ask, whatever you've trusted: installing plugins, connecting apps, deleting files (rm, sudo, chmod…), saving or deleting skills, recipes and reflexes, and writing to your memory. Irene's own keys are never shown to a tool, and ~/.ssh, ~/.aws, .env files and similar always get a card.
  • Auto mode (/permissions) lets Irene run without asking, for one chat or every chat of this agent. Reads and local file changes run. Anything that sends, deletes or is unclear goes to a fast judge, which only lets it through if you yourself asked for that exact act on that exact target. Web pages, emails, files and Irene's own plans never count as you asking. Your Always block list wins over everything. Why: a web page or email can contain text written to trick an agent ("forward this to…"). Only your own words can open an action, so nothing Irene reads can give it permission.
  • Always held in auto mode: anything carrying a key or token out, payments, messages to more than 10 people or a public channel, sudo, deleting whole folders, unbounded database changes, passwords typed into websites you didn't name, reading browser cookies. Irene can never change its own permissions.
  • Unattended runs (board cards, schedules) always use auto-mode rules. Held actions don't stop the run: Irene does everything else, and at the end you get an Irene needs you list where you can allow each item once or always. Why: a job that runs at 6 a.m. shouldn't sit frozen until you wake up. It finishes everything it safely can, and leaves you one short list.

→ Approvals & auto mode

Where you see it

  • The chat. Tool cards for every action. A task list with a progress ring in the side rail. A workspace with the chat's files, plus a built-in browser and terminal (main agent only).
  • Helper cards. Each hand-off shows the helper, the model and rung it ran on, the brief, a live list of what it's doing, and what came back. Open in a tab opens the helper's own chat, live. Stop this one stops one helper without stopping the rest.
  • The orb and overlay panel. Work from outside the app. Ctrl+Shift+Space (Command+Shift+Space on a Mac) opens the panel; right-click the orb to grab your screen or start dictation. Ask about "this error" by voice and Irene captures the screen for you. The panel keeps answers short and sends rich work to the main window.
  • Voice. Alt+Space (Option+Space on a Mac) or the mic button. You can interrupt it mid-sentence; speaking while it works steers it. Approve with "yes", "no" or "always".
  • Your chat apps. Message your main Irene from Telegram, Slack, Discord, email and more. Approvals come as Y / N / A, and new files are sent back. On your computer, a chat must unlock with a key first, so a stranger can't run commands on your machine.
  • The board and schedules. Assign a card to the main agent, or /schedule a job (daily, weekly, every 30 minutes, or cron). Its result lands in its own chat.
  • Commands. /goal <condition> keeps working turn after turn until a judge agrees the goal is met, or you /goal stop. /loop 5m <prompt> re-runs a prompt on an interval while the chat is open. Also /delegate, /compact, /context, /permissions, /model, /effort, /usage, /export, /evolve, /learn, /remember, /forge, /make-tool.

How it gets better

Irene has three kinds of saved ability, and the main agent uses and grows all three:

ability what it is when it's the right one
skill know-how for a kind of task: how to do it well, the gotchas, which tools to use. Irene ships with a library of them (Capabilities → Skills) and you can add your own the work needs judgement every time, but the judgement can be taught
recipe a proven run: a short brief plus the exact steps that worked last time "do that again": it's followed on a cheaper model, re-checking each step against the live situation
reflex a program that drives the agent's own tools, with model calls only where judgement is needed the steps can be written down in advance; runs with no judgement steps use no model at all

Why three: each one removes a different cost. A skill saves the model from re-learning how a kind of work is done. A recipe saves re-exploring a job that's been solved, and moves it to a cheaper model. A reflex takes the model out of the loop entirely.

Dreaming

Every 3 clean turns, Irene dreams: a cheap background model re-reads only the new part of the chat. It never appears in your chat and never slows you down.

  1. It saves what it learned about you: preferences, goals, how you work, always in your own words. Duplicates are merged, not stacked. Turn it off in Settings → Awareness → Remember things about me.
  2. It judges whether the work should be kept. The test isn't "was this long?" but will this shape of work come back on new inputs? If yes, it picks the shape:
offered as when
recipe you'll want this exact job done again
reflex the steps are fixed and would repeat on new inputs (a list of pages, a folder, a daily check)
skill Irene had to be told how this kind of work is done
vault item the result is something you'll want back whole
hook you've corrected the same behaviour more than once: a hook is a rule that fires automatically at a set moment (for example, before a tool runs), so you never have to correct it again
sharpen a saved skill, recipe or reflex ran and you corrected what it produced
  1. It reaches you as a "Worth keeping" card above the message box, never interrupting work. A button fills the message box with the request and sends nothing; pressing send keeps it. A ✕ is remembered, and that topic isn't offered again.
  2. Sharpen asks first: change it always, or just this once? "Always" edits the saved skill, recipe or reflex in place. "Just this once" changes nothing. /evolve <name> does the same on demand.

Why it works this way: saving everything would fill your library with one-offs, and Irene would find the wrong thing later. Offering only what repeats, and only with your yes, keeps the library small enough to trust. Running it on a cheap model every few turns, outside your chat, means it costs little and never adds to your conversation.

Keeping the library healthy

  • Every run is scored at no cost. Recipes and reflexes count their clean and failed runs, and every run is recorded on your computer (a correction in your next message marks that run as mixed). No model is involved.
  • /evolve (or "review my library") goes through your skills, recipes and reflexes one at a time:

    • skills: does it say when to use it, does it teach a decision rather than restate facts, do the tools it names still exist
    • recipes: do its tools still exist
    • reflexes: only provable bugs get fixed; a change in behaviour becomes a new reflex
    • flags: anything that fails more than it works, near-duplicates to merge, anything run cleanly 5+ times, and anything Irene can't find because it doesn't say when to use it

    Every change asks for your approval, and nothing is deleted without asking. - Discovery uses all of it. Before real work, the main agent searches your skills, recipes and reflexes first, so the library pays off without you naming anything. - Your context sticks. Each new chat starts with a short picture of who you are, your goals and what's in flight, scoped to the open project.

A real one: asked for a morning digest of a subreddit, the main agent wrote a reflex (~/.irene/reflexes/main/files_reddit_claude_digest): it pulls hot and new posts through the Reddit connector, takes the subreddit and count as inputs, and makes one model call to summarise. It has run cleanly 4 out of 4 times. Put on the board each morning, the reading costs nothing; only the summary uses a model.

What it costs

  • Model usage at what we pay + 20% (Free plan: what we pay). The main agent's model is yours to choose per chat in the model picker; the chat remembers it. Models on your own computer (Ollama, LM Studio, llama.cpp, MLX, vLLM) cost nothing.
  • Cheap where it doesn't matter: memory, compaction, chat titles and the auto-mode judge run on a small background model.
  • Where you see it: Observability shows what you spent and what Irene saved versus doing it the normal way — per reflex, recipe and hand-off. Settings → Usage shows your weekly and 5-hour meters, shared usage and carry-over.
  • Plan gates: the strongest models need Pro or above (they show greyed, with the plan they need). If your plan can't reach a helper's model, the helper steps down instead of failing.

→ Plans, usage & shared usage

Limits

  • 10 helpers at once across Irene (more wait in line), 5 levels of hand-off.
  • A helper sees only the task it's given, not your chat. The main agent has to put what matters into the brief.
  • /loop lives only while its chat is running. For anything that must survive a restart, use /schedule or the board.
  • Jobs scheduled on this machine run while Irene is open (the window can be closed). Around the clock needs an agent deployed to the cloud.
  • The main agent can't take its own phone number; deploy an agent for that.

[Ask Irene about this]

Updated