Skip to content
Nilay Kabariya

Part 05 of the notebook

AGENTS

Agents

Coding agents run for real: Claude Code, Codex and MCP servers, the errors they hit and the fix. The message an agent prints rarely names the cause. "Not compatible with the version of Windows" came from the npm install, not from Windows. "Prompt is too long" was one oversized file. An MCP "Connection closed" hides the server's real error somewhere else. Each post shows where to look.

press / and paste the message your agent printed.

Entries

  1. No.114

    Codex: Error loading config.toml, each message and its fix

    Codex CLI 0.171.0 won't start on a bad config.toml. Common mistakes tested on Linux and Windows, from Windows paths to profiles: each message and fix.

    > Error loading config.toml:

    AGENTS6 min
  2. No.111

    Codex MCP startup incomplete: what each failure prints

    Codex 0.171.0 hides MCP startup errors behind a warnings count. Tested: a crash, a missing key, a bad command, an npx 404, a slow server, and the fix for each.

    > ⚠ 2 warnings · f2 to view

    AGENTS4 min
  3. No.101

    Claude Code custom themes: five free ones, checked

    Custom themes are real, one JSON file each, and all five below load in the real /theme picker.

    AGENTS3 min
  4. No.039

    Fix: Claude Code "Prompt is too long"

    Claude Code fails every message with Prompt is too long, or asks for usage credits. One oversized file did both in my tests, and Claude Code's guard missed it.

    > Prompt is too long

    AGENTS4 min
  5. No.036

    Fix: Claude Code "not compatible with the version of Windows"

    Windows says claude.exe won't run right after an npm install of Claude Code. Your Windows is fine. Reproduced on npm 12, with the reinstall that fixed it.

    > This version of C:\...\claude-code\bin\claude.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

    AGENTS5 minWindows
  6. No.035

    Fix: Claude Code "Invalid API key · Fix external API key"

    Invalid API key · Fix external API key, Please run /login and 401 in Claude Code: every auth message reproduced on 2.1.314, and the Windows quoting trap.

    > Invalid API key · Fix external API key

    AGENTS5 minWindows
  7. No.031

    Fix: Codex CLI error "stdin is not a terminal"

    Codex CLI stops with stdin is not a terminal in scripts, pipes and CI. The command that works, and the 2 errors that come next, tested on 0.167.0.

    > Error: stdin is not a terminal

    AGENTS4 min
  8. No.030

    Fix: MCP error -32000 Connection closed / Failed to connect

    An MCP server fails with Connection closed or Failed to connect and never says why. Where the real error is hiding, and the fixes, tested in Claude Code.

    > MCP error -32000: Connection closed

    AGENTS4 min

Post card · Every Sunday

What broke this week.

One email on Sundays: the Node, TypeScript, Python and AI SDK releases that broke builds that week, each one reproduced, with a link to the fix that worked. Never shared, and you can leave any time.

— Nilay

or follow by RSSor on X

By subscribing you agree to the privacy note. One click to leave.

tip: paste the exact error text