How IZ Code works
In IZ Code you talk to a coding agent in the chat, and IZ Code gives that agent everything around the conversation: your project's instructions, a code index, a memory, a set of tools and a permission system. This page explains how those pieces fit together, from your message to a change in your files.
From your message to a change#
sequenceDiagram
participant You
participant Agent
participant Model
participant Tools as IZ Code tools
You->>Agent: Message + context
loop Until the agent answers
Agent->>Model: Request
Model-->>Agent: Next action
Agent->>Tools: Tool call
Tools->>Tools: Permission check, then run, ask or refuse
Tools-->>Agent: Result
end
Agent-->>You: Answer- You type a message in the chat and pick an agent. Everything the agent needs to know about your project is added at the start of the session by the Context Engine.
- The agent sends your request to its model. The model decides what to do next: read a file, search the code index, run a command, edit a file.
- Each of those actions is a tool call. IZ Code checks it against your permission settings and Workspace Trust. It runs it, asks you, or refuses it.
- The result goes back to the agent, and the loop continues until the agent answers.
The parts#
| Part | What it does for the agent |
|---|---|
| Agents | Each coding agent (Claude, Codex, GitHub Copilot and others) is an extension that runs that agent's own command-line tool. IZ Code talks to all of them over the Agent Client Protocol (ACP), so they share one chat, one set of tools and one memory. |
| Context Engine | Builds the context a session starts with: project instructions, Git branch and changed files, the workspace's folders, MCP servers, and short guides to the tools that are switched on. |
| Code Intelligence | A local index of symbols, references, callers and callees. Agents query it with code* tools instead of reading whole files. |
| Agent Memory | Remembers decisions, a project persona, skills and a wiki between sessions, and recalls the relevant parts into new prompts. |
| Tools | IZ Code's own tools server gives every agent the same tools: files and terminal, Git, specs, tasks and workflows, the integrated browser, the debugger, the database and session tools. |
| Permissions | Decides for each tool call whether it runs, needs your approval, or is refused. |
The Context Engine#
When a session starts, the Context Engine gathers the context the agent receives once, before your first message:
- Project instructions from
AGENTS.md,CLAUDE.mdor.izcode/instructions.md. See Steering. - Git state: the current branch and the changed files.
- Workspace folders, when the workspace has more than one.
- MCP servers from your configuration and IZ Code's own. See MCP servers.
- Tool guides for the features you have switched on: Code Intelligence, the browser, Git, Run and Debug, Specs and Agent Memory.
The context has a size budget. If it is too large, the least important parts are cut first and the long list of changed files is shortened.
Agents that already read some of this on their own are not sent it twice. The Claude agent reads CLAUDE.md and Git information itself, and the Codex agent reads AGENTS.md itself, so IZ Code leaves those parts out for them.
You can see every source, switch sources off and see the whole message an agent would be handed in Settings → Context Builder. See Context Builder.
Code Intelligence and Agent Memory#
Both are local SQLite databases on your machine. Nothing is uploaded to build them.
- Code Intelligence indexes your repository when you open it and keeps the index up to date as you edit. Agents call tools such as
codeSearch,codeCallersandcodeImpactto find the right code quickly. See Code Intelligence. - Agent Memory records conversations (when capture is on), extracts facts and decisions from them, and adds relevant memory to later prompts. Agents can also search memory, skills and the wiki with tools. See Agent Memory.
Each has a master switch: izcode.awe.index.enabled for Code Intelligence and izcode.ame.enabled for Agent Memory. Both are on by default.
Permissions#
Every tool call passes through a few checks, in order:
- Workspace Trust: agents cannot edit files or run commands in a folder you have not trusted.
- Permission Policy in Settings → Agents: Default, Ask before changes, Auto-allow everything or Deny all.
- The chat's approval level: Default Approvals, Auto-approve Edits or Bypass Approvals, picked in the chat input.
- Special cases: Plan mode refuses edits and commands, and a session that has read untrusted web content always asks before sending data out.
When IZ Code asks, you choose Allow, Allow for this session or Deny. See Permissions and tools.
Where the work happens#
On your own computer, the agent, its tools and the index all run locally. When the folder is on an SSH host, another computer of yours or a cloud workspace, the same core runs there instead: the agent works next to the files and only the window stays on your machine.