# Troubleshooting

> Common situations in AgentForge and what to do: MCP tools, profile arguments, shortcuts, agent browser error codes, token use and web mode start-up.

- Canonical: https://www.zekfy.com/docs/troubleshooting/
- Türkçe: https://www.zekfy.com/tr/dokumanlar/sorun-giderme/
- Last updated: 2026-12-04

This page lists the most common situations when using AgentForge, their causes and what to do.

## An agent does not see the board tools

If an agent has no tools such as `board_list`, check these in order:

| Cause                                                     | What to do                                                                                       |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| `node` is not installed on the machine or not on the PATH | Install Node.js; the [MCP](https://www.zekfy.com/glossary/#mcp) server runs on the system Node                                          |
| The engine is not connected to the board tools            | The board tools are connected only to Claude Code, Codex CLI and Gemini CLI panes                |
| Gemini does not trust the project folder                  | Gemini loads `.gemini/settings.json` only in a trusted folder; the trust decision is yours       |
| The session was opened by hand outside AgentForge         | Start the agent from a pane in the application; identity and role come from the pane environment |
| The MCP server was updated                                | The change reaches only agent sessions opened afterwards; close and reopen the pane              |

"Test tools" in the Plugins view (`Ctrl+P`) probes an MCP server live.

## A profile marked "not installed"

A [profile](https://www.zekfy.com/glossary/#profile) whose CLI cannot be found on the machine is marked "not installed" under Settings › Agents and models. Open the setup screen from Settings › General › Setup: **Install** installs a missing CLI with npm or winget, and a tool the button cannot install keeps a copyable command. Signing in stays with you. If the command is still not found after an install, close AgentForge and open it again.

## Profile arguments do not work

Windows profiles run the command wrapped as `powershell.exe -NoLogo -Command <cli>`.

- In the arguments field, **quote a value that contains a space**: `-NoLogo -Command "claude --resume"`.
- The `--model` and `--permission-mode` flags are added to task panes automatically.
- A change applies only to a **newly opened** terminal; close the open pane and open it again.

## Terminal shortcuts do not work

While a terminal is focused, combinations such as `Ctrl+D`, `Ctrl+W` and `Ctrl+L` go to the shell: end-of-file, delete-word and clear-screen. For the application shortcut on the same letter use `Ctrl+Shift+key`; for example `Ctrl+Shift+B` opens the [Board](https://www.zekfy.com/agentforge/features/board/) view. Outside a terminal, `Ctrl+key` works directly.

## A "no room" error

A [workspace](https://www.zekfy.com/glossary/#workspace) holds at most 16 panes and at most 32 terminals are kept alive across the application. Exited terminals are cleaned up automatically when a new pane is opened; to clean up by hand, use the close button in the pane header.

Your plan also limits how many agent consoles can be open at the same time: 3 on Lite, 6 on Pro and 16 on Ultra. When the limit is reached a new agent console does not open and the app says so. Plain shell terminals do not count towards this limit.

## The same task seems to go to several agents

AgentForge assigns a card to one [builder](https://www.zekfy.com/glossary/#builder) only. Two situations are deliberate and are not faults:

- **[Reviewer quorum](https://www.zekfy.com/glossary/#quorum):** a card whose reviewer count ([quorum](https://www.zekfy.com/glossary/#quorum)) is above one goes to more than one [reviewer](https://www.zekfy.com/glossary/#reviewer) with the same review prompt; when a plan is produced, high-risk and critical-risk cards get a quorum of two by default.
- **Rework:** a reviewer rejection returns the card to the same builder as a new round.

If you see the same message in every agent, an agent has sent a [broadcast](https://www.zekfy.com/glossary/#broadcast) to `all`. A broadcast reaches recipients with an information label and cannot assign work. The message stream in the [Swarm](https://www.zekfy.com/agentforge/features/swarm/) view and the `.forge/events.jsonl` file show which agent sent the broadcast.

## Old messages reach agents at start-up

At start-up AgentForge begins reading the message queues from the end of each file, so old messages are not delivered again. If you see this, check whether a file under `.forge/mailbox/` was edited or shortened by hand: a file becoming shorter resets the read position.

## Token use rises quickly

- Broadcast less. A status report belongs in a card comment, not in a message.
- Do not raise the reviewer count without need; as many reviews run in parallel as the quorum.
- Put dollar and token ceilings on the [mission](https://www.zekfy.com/glossary/#mission); when a ceiling is exceeded AgentForge pauses the mission and assigns no new cards.
- Set the [coordinator](https://www.zekfy.com/glossary/#coordinator) checkup interval (5 minutes by default) to the pace of the work.

## Metrics shows "cannot be measured"

When AgentForge cannot match a usage record to a pane reliably, the [Metrics](https://www.zekfy.com/agentforge/features/metrics/) view does not write zero; it writes "cannot be measured" and gives the reason. Common causes: several panes of the same CLI open in the same folder, no record existing, or the record format not being recognized. In isolated mode each builder works in its own folder, which makes the match easier.

## A card does not become done

An agent cannot move a card to the done column until the card's required [evidence](https://www.zekfy.com/glossary/#evidence) is verified and the required reviewer approval is complete. The most common causes: the verifier's request to run a script is awaiting approval, the project has no npm test or build script, the project is not a git repository, and the team does not have enough reviewers. The detailed table is in the [Evidence and review gates](https://www.zekfy.com/docs/evidence-and-review-gates/) guide.

## The agent browser tools return an error code

| Code           | Cause                                                               | What to do                                                  |
| -------------- | ------------------------------------------------------------------- | ----------------------------------------------------------- |
| `no_browser`   | The desktop application is closed or the executor is not responding | Keep AgentForge open                                        |
| `desktop_only` | Web mode is in use                                                  | Have the test done in the desktop application               |
| `disabled`     | The "Agent tests in the built-in browser" setting is off            | Turn the setting on; it applies to agents opened afterwards |
| `tab_busy`     | The tab belongs to the user or another agent                        | The agent opens its own tab with `browser_open`             |
| `not_found`    | The tab was closed                                                  | The agent opens a new tab with `browser_open`               |
| `bad_url`      | The address is not http or https                                    | Only http and https addresses are opened                    |
| `timeout`      | The command did not finish in time                                  | The default is 15 seconds and the maximum 60 seconds        |

A change to the setting does not change the prompt of agents that are already open; it applies to agents opened afterwards.

## A draft disappears while editing a note

When an agent updates the same note, AgentForge shows a "file changed on disk" warning and keeps your draft. You can choose to load the version on disk.

## Web mode does not start

| Symptom                                            | Cause                                                                      | What to do                                                         |
| -------------------------------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| `Port 4765 kullanımda` (port in use)               | The port is used by another program                                        | Give another port with `PORT` or close the program using the port  |
| Weak-key error                                     | The key does not meet the criteria on an address open to the local network | Give a random key of at least 32 characters or leave the key empty |
| A `401` response                                   | The request has no access key or the wrong one                             | Enter the key printed to the console                               |
| Agents start on their own when the interface opens | Default web mode restores saved consoles                                   | Use `AGENTFORGE_NO_RESTORE=1` and a separate data folder           |

See the [Web mode](https://www.zekfy.com/docs/web-mode/) guide for details.

## The phone cannot reach the computer

| Symptom                               | What to do                                                                                    |
| ------------------------------------- | --------------------------------------------------------------------------------------------- |
| "Can't reach the computer"            | Put the phone and the computer on the same network, or turn Tailscale on                      |
| No QR code is shown                   | Choose a listening address under Settings › Remote access, save and generate the code again   |
| A certificate warning                 | Compare the fingerprint with the one in Settings › Remote access; continue only if they match |
| The microphone does not work          | Open the `https://` address shown in Settings, or scan the QR code                            |
| "The desktop window is closed"        | Open the AgentForge window on the computer and try again                                      |
| "This phone's key is no longer valid" | Generate a new code on the desktop and pair again                                             |

See the [Remote and phone access](https://www.zekfy.com/docs/remote-and-phone-access/) guide for details.

## A service connection does not work

The connection in Settings › Accounts & devices › Integrations shows its state. With **Key rejected**, create a new key at the service and paste it with **Change key**. With **Missing permission**, add the named permission to the key at the service and press **Test again**. With **Unreachable**, check the internet connection and the server address. If the agent says a write is waiting for approval, approve the card marked **Written by the app** on the desktop. See the [Service connections](https://www.zekfy.com/docs/service-connections/) guide.

## A "License required" banner in the packaged application

The packaged application validates its license on the server and renews it once a day; if it cannot reach the server, it keeps working offline for at most 6 days. Without a valid license, starting new consoles, agents and missions is disabled and an open console cannot be typed into; reading, exporting and settings stay available. The license screen states the reason: the term has run out, the license was revoked, or the server no longer recognizes the activation on this device. If the term ran out and the license is still valid, the app renews it by itself once it is online. The check is not applied in development mode from source (`npm run dev`).

## All seats on the license are in use

When you activate on a new computer and every seat is taken, the app lists the computers on the license. Press **Remove this device** next to a computer you no longer use; the seat frees at once and this computer activates on its own. A seat can be freed this way at most 2 times in 30 days. When those moves are used up, choose **Deactivate on this device** on the old computer: the seat frees within 3 days at most without using a move. See the [Getting started and installation](https://www.zekfy.com/docs/getting-started/) guide.

## Windows shows a warning during installation

Code signing is configured for the installer, but no signed package has been produced yet. Windows may show a SmartScreen warning at first install and when an update installs. Whether a package is signed is checked in PowerShell with `Get-AuthenticodeSignature`.

## An update does not arrive or does not install

The **Settings › General › Updates** card shows the state and the time of the last check; **Check now** checks without waiting.

| What the card shows                                         | What to do                                                                                                               |
| ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Could not reach the update server                           | Check the connection. A failed check is retried by itself in the next period                                             |
| The downloaded update failed verification and was discarded | An update whose signature or file hash does not match is not installed and is deleted; the next check downloads it again |
| Updates are off in a development build                      | An application run from source does not update itself; use the installer from the Download page for a new version        |

If you use a version from before automatic updates, move to the new one once with the installer from the [Download](https://www.zekfy.com/agentforge/download/) page. If you close the app without pressing "Restart and install", the update installs on exit and the app does not reopen by itself; the next start runs the new version.

## Diagnostics bundle

Errors are written to size-limited log files. A diagnostics bundle with secrets masked can be created from Settings with one click.

## Related pages

- [Getting started and installation](https://www.zekfy.com/docs/getting-started/)
- [Agent integration over MCP](https://www.zekfy.com/docs/agent-integration-mcp/)
- [Frequently asked questions](https://www.zekfy.com/faq/)
