Changelog
Every agentty release: added, changed, and fixed. Sourced live from CHANGELOG.md in the repo.
- (HEAD, tag: v0.9.72)Seventeen new thinking animations+1~8!1
- (tag: v0.9.71)Settings → Prefill: choose what each turn sends before your prompt+2~2!3
- (tag: v0.9.69)[[Ctrl+E]] edits the prompt in your editor+1!1
- (tag: v0.9.68)Windows builds again!1
- (tag: v0.9.67)Fill is the default shape, and the first-run welcome screen says how+7!7
- (tag: v0.9.66)A settings file agentty can't read is never overwritten~3!10
- (tag: v0.9.65)The changes strip is one row, shown or hidden~2!5
- (tag: v0.9.64)The changes strip has a compact form~1
- (tag: v0.9.63)Subagent reads no longer fail as not found on paths like~7!3
- (tag: v0.9.62)The agent can ask you to choose+1!5
- (tag: v0.9.61)An oversized SKILL.md no longer costs a real skill its place+4!3
- (tag: v0.9.60)ACP agents are first-class+4!7
- (tag: v0.9.59)OpenCode Go provider+4!17
- (tag: v0.9.58)Environment variables setting+9~9!5
- (tag: v0.9.57)Hooks speak Claude Code's protocol, so RTK works as is+3~3!3
- (tag: v0.9.56)A command the sandbox blocks now says so~1!2
- (tag: v0.9.55)The ChatGPT model list no longer comes back empty~1!2
- (tag: v0.9.54)The review pane (^R) shows what changed in a line~4!1
- (tag: v0.9.53)Credit the model in commits+2!1
- (tag: v0.9.52)^U reads thinking in full+1~2!4
- (tag: v0.9.51)Reasoning off really is off on Claude 5 models~4!4
- (tag: v0.9.50)Tool cards got a full visual pass+1~8
- (tag: v0.9.49)Settings stopped reverting when you run several agentty sessions at~2!2
- (tag: v0.9.48)Setting up a provider no longer switches to it~2!3
- (tag: v0.9.47)The provider picker (Ctrl+P) shows what you've set up, not the whole~3!11
- (tag: v0.9.46)Allowed hosts+1~2!4
- (tag: v0.9.45)macOS builds again. 0.9.44 shipped without macOS binaries: release!7
- (tag: v0.9.44)Smaller release binary: release builds are compiled for size (-Os),~3!7
- (tag: v0.9.43)Appearance → Scrollback+2~2!1
- (tag: v0.9.42)Over SSH, the end of a reply animates again instead of appearing all!2
- (tag: v0.9.41)OpenRouter~5!7
- (tag: v0.9.40)Continue your Codex and Claude Code conversations+4~3
- (tag: v0.9.39)Resizing the terminal keeps the whole conversation in scrollback!2
- (tag: v0.9.38)One bad MCP tool no longer breaks every request~3!5
- (tag: v0.9.37)Every MCP tool is usable, however many a server has~2!3
- (tag: v0.9.36)Routing gateways keep a conversation on the backend that served it+1!1
- (tag: v0.9.35)Models that need their earlier reasoning back no longer get stuck on~1!4
- (tag: v0.9.34)The Hardened and Airgapped sandbox presets run commands again!8
- (tag: v0.9.33)Parallel tool calls over ACP keep their own arguments~1!5
- (tag: v0.9.32)The Windows release binary starts again+4~3!3
- (tag: v0.9.31)Windows: a child process no longer holds another one's pipes open~1!4
- (tag: v0.9.30)Shell commands no longer wait out their timeout~2!6
- (tag: v0.9.29)^J shows which thread is which+2~1!3
- (tag: v0.9.28)Threads name themselves+6!5
- (tag: v0.9.27)Gemini quota errors show at once (#102)~2!10
- (tag: v0.9.26)Web Search: more settings per service+1~5!5
- (tag: v0.9.25)Tools work like Zed's agent~2!4
- (tag: v0.9.24)Reading a file by symbol no longer breaks later reads of it!4
- (tag: v0.9.23)Favorites lead the model picker+4!8
- (tag: v0.9.22)Sandboxed commands get the environment the tool asked for!8
- (tag: v0.9.21)0.9.20 shipped without macOS binaries!1
- (tag: v0.9.20)Zed / JetBrains: pick model and thinking per session+24~5!29
- (tag: v0.9.19)The sandbox refused to run anything on hardened Linux hosts+2!2
- (tag: v0.9.18)Windows had no binary in 0.9.16 or 0.9.17, and the check that was supposed~1!4
- (tag: v0.9.17)Reasoning effort defaults to auto, so Smart Mode's classifier can actually~1!2
- (tag: v0.9.16)Windows had no artifact in 0.9.15~1!4
- (tag: v0.9.15)The read tool could refuse to show you a file, forever~1!7
- (tag: v0.9.14)A hook whose signature drifted was silently absent, not a compile error!1
- (tag: v0.9.13)agentty run --events jsonl+2~3!3
- (tag: v0.9.12)agentty now runs on jaal, a typed Elm runtime, instead of its own hand-rolled one~1!4
- (tag: v0.9.11)Long threads no longer slow down as they grow~1
- (tag: v0.9.10)Local router: context window now tracks which model is actually loaded!4
- (tag: v0.9.9)Windows: agentty no longer crashes when it exits right after starting~1!3
- (tag: v0.9.8)Headless runs now resolve the real context window, including on custom hosts!1
- (tag: v0.9.7)Type an endpoint into ^P and it offers to connect+2~3!4
- (tag: v0.9.6)An image pasted into Zed's agent panel now reaches the model+2!7
- (tag: v0.9.5)agentty run takes its arguments in any order!1
- (tag: v0.9.4)Local servers now report the context window they actually serve+4~1!4
- (tag: v0.9.3)Every outbound request is audited before it goes out+3~2!9
- (tag: v0.9.2)A skill can declare what it will do, and agentty gates on the content+1!5
- (tag: v0.9.1)Provider API keys were resting in plaintext in settings.json!4
- (tag: v0.9.0)rm -rf / was reachable through the shell guard+3~5!13
- (tag: v0.8.0)The shell tool now reads images+3~3!4
- (tag: v0.7.0)[[Ctrl+B]] — loop mode: send a message, and keep sending it until you stop+2~1!3
- (tag: v0.6.0)Smart Mode is now one switch and three slots — four rows, down from eleven+2~4!8
- (tag: v0.5.0)Tool cards render with real precision, prioritized by how often each tool is used+6!5
- (tag: v0.4.0)Six more built-in providers+3~2!1
- (tag: v0.3.1)Tool-heavy turns finish faster — parallel batches + speculative reads+2!2
- (tag: v0.3.0)GitHub Copilot as a first-class native provider (agentty login → GitHub Copilot, or --provider copilot)+4!7
- (tag: v0.2.12)Composer editing hardened — a queued-message data-loss bug, per-keystroke undo, and three input papercuts+4~2!1
- (tag: v0.2.11)Model picker now sorts by actual strength, not a hardcoded family bucket+3~2!1
- (tag: v0.2.10)Windows: the MSI now installs per-user with no admin / UAC prompt~1!3
- (tag: v0.2.9)Retrieval got faster without getting weaker — one batched embed round-trip, and two research-backed vector-cost levers+5
- (tag: v0.2.8)The prebuilt Linux binary itself is now a *real* standalone binary — v0.2.7's curl \| sh crash is fixed at the root, not just papered over+4~2!3
- (tag: v0.2.7)First-run onboarding starters+1~1!2
- (tag: v0.2.6)One-command release cut (scripts/cut-release.sh / .cmd)+1~2!1
[Unreleased]
Added
ctest -L toolchainruns every test of the wire tools. The new prompt-vs-wire matrix (every prefill profile x provider shape x loading mode), the planner,tool_search, encoders, schemas and every built-in tool end to end. Nightly reports it as its own gate.- Tool-chain measurements with ceilings. Prompt and schema tokens per
profile, the heaviest tools, lean's share of the full wire, and whether
the prompt's own words for a tool find it through
tool_search.
Fixed
- The prompt names only tools the request can carry. Profiles that turn
on a section but not the tools it named told the model to use tools it did
not have: Draft named
find_definition, Refineremember,web_fetchandprocess_poll, Build alsotaskandskill. Each such clause now falls back to wording that needs no tool, a block about a tool you turned off (editfor file editing,shellfor the shell block) is not sent, and the Prefill pane says which rows are shorter. Subagents are no longer told to fan outtask, and read-only ones get no edit or shell advice. With every tool on the prompt is unchanged, byte for byte. - A request that carries no tools says so. Compaction, ACP's tool-free
retry, a model that declares no tool support and a subagent's final report
used to get the full prompt, tool advice and Smart Mode's "delegate with
task" included. They now get the "No tools are available" line and no advice about calling tools. - Read-only subagents keep their working advice. Explorers and reviewers still get context economy, batching and search guidance; only the editing and shell advice they cannot use is left out.
- A misspelled tool name in the built-in prompt is a build error.
tool_searchfinds built-in tools again. Under the lean tool profile the built-ins outside the core are on demand, but the search skipped every built-in, soselect:web_fetchand every keyword search came back empty when no MCP server was connected.tool_searchonly returns tools this turn may use. It searched the whole catalog, so it could load a tool the prefill, the weak-model list or a subagent's type had left out. It now searches what the request left on demand.select:of a tool that is already loaded says so instead of reporting no match, and an exact name wins over another server's tool with the same short name (select:readisread, notmcp__fs__read).- A stale tool reference no longer breaks an Anthropic thread. A
tool_searchresult is sent astool_referenceblocks only when the request defines every tool it names; otherwise it goes as text. This covers requests with no tools (compaction, a subagent's final report) and tools that left the catalog, each of which the API rejects with "Tool reference ... not found in available tools" (a reference that stays in history fails every later request).
v0.9.72 · 2026-12-03
Added
- Seventeen new thinking animations.
plasma(a flowing plasma field, two pixels to a cell),fractal(a dive into the Mandelbrot set),helix(a double helix twisting in braille),fireworks,orbit(planets circling a sun),automaton(rule 30 and kin growing down the row),neural,warp,rocket,sonar,prism,rain,fireflies,gravity,lava,glitchandpacman. Pick one in Appearance → Thinking animation.
Changed
- Proactive retrieval skips tasks for the tools. Messages that start
with a workspace lookup (
list ...,show me ...,find ...,search ...) now skip it, as file-changing commands already did: their words often occur in the docs without the docs answering anything. - Proactive retrieval asks whether your docs answer the question at all.
Its confidence bar never rejected anything: the score is relative to the
query, so the best hit is near the top for any question. It now also
needs the best passage to reach 0.35 of the most the question could score
in your docs, and the question to have at least three terms
(
AGENTTY_RAG_PROACTIVE_SUPPORT/AGENTTY_RAG_PROACTIVE_TERMSoverride them for a run). - Retrieved passages no longer start with front matter. The context
each passage carries took the document's first line as its title, so
docs pages began with
---and memory facts were sent twice. It now takes the title from front matter and leaves out what the passage already holds. The docs and code indexes rebuild once on the next start. - The shell-detour tip names the calls and stops there. It no longer says how they run ("in parallel, each with its own card"); the prompt and the reminder say that, per profile.
- The shell-detour reminder follows your prefill. After three detours
in a row it used to say native calls run in parallel, even on the
localprofile, whose rules ask for one call at a time. It now says what the prompt says, or nothing when the prompt is silent on it. - The
localprompt says how to reachsearch_docs. Local models usually get the lean tool set, wheresearch_docsis not sent; the rule that tells them to search the user's docs first now says to load it withtool_searchwhen it is missing. - Prefill → Wire tools lists tools only. The
all <group>switch that headed each group is gone; groups are headings, and each tool keeps its own switch. randomonly picks the showpieces. The simple styles (spinner, dots, shimmer, scanner, flow, typewriter, quiet) are still yours to choose by name, but random no longer lands on them.
Fixed
- Proactive retrieval no longer repeats facts the prompt already shows.
It was meant to leave out a remembered fact that the prompt's learned
memory already lists, but it never recognised one, so such facts were sent
twice. They are now left out, and only when the prompt really shows them:
profiles without learned memory (
local,buildand below) still get them.
v0.9.71 · 2026-12-03
v0.9.70 was tagged but never published (its Linux builds failed to compile with clang 22); this release ships the same changes.
Added
- Settings → Prefill: choose what each turn sends before your prompt.
Pick a profile (
none,chat,draft,refine,build,local,agentty) or switch individual prompt sections and tool groups on and off; the pane prices each part in tokens for the current session. Saved as"prefill"in settings.json (omitted while it's the default);AGENTTY_PREFILL_PROFILEpins a profile for one run and locks the pane. Thanks @sail3r (#141). - A custom identity from
~/.agentty/IDENTITY.md. Replaces agentty's identity line once you approve the file; any edit needs approval again. Capped at 64 KiB, UTF-8 only, and on Claude OAuth the login's required preamble is still sent.
Changed
- Self-hosted models get the full prompt by default. Ollama and LAN
servers used to get the short prompt chosen by address; they now follow
the prefill profile like every model, and a one-time notice suggests
local, which carries the short prompt (now tagged, and the same for Ollama and OpenAI-compatible servers). Hosted models' prompt is unchanged byte for byte. - Settings panes with sections draw their headings in the accent colour, and General lists its sub-pages first, then its rows, each alphabetical.
Fixed
- Scrolling up onto a section's first row shows its heading. Grouped panes and pickers used to stop one line short, leaving the heading out of view.
- AGENTS.md, CLAUDE.md and memory can't close agentty's prompt blocks,
in any letter case or with whitespace after
</. - Anthropic requests no longer send an empty system text block.
v0.9.69 · 2026-12-01
Added
- Ctrl+E edits the prompt in your editor. The composer text opens
in
$AGENTTY_EDITOR(else$EDITOR) on the real terminal; save and quit to put it back, Ctrl+Z undoes it. The buffer is a temporary.agentty/cache/agentty_<time>.md, deleted afterwards. Prompts with attachment chips are refused. Not on Windows yet.
Fixed
nativestays readable on palettes with a too-dark bright-black. When the terminal reports its colours, palette entries that don't reach their contrast floor on its background (hints, placeholder, borders, dim hues) are lifted to the same hue at a readable lightness; entries that already read keep their palette name. On kitty's Neon Dusk, for example, hints were near-invisible and the fill shape's cards (composer, status bar, tool panels) had vanished into the background.
Removed
- The "taller composer" toggle. Ctrl+E had done nothing since the composer started growing with its content; the key now opens the editor.
v0.9.68 · 2026-12-01
Fixed
- Windows builds again. 0.9.67 shipped without Windows binaries: a
colour helper named locals
far/near, which<windows.h>defines as macros.
v0.9.67 · 2026-11-30
Added
- Fill is the default shape, and the first-run welcome screen says how
to change the theme (^K → Settings → Appearance). The theme stays
native. - Under
native, diffs use the terminal's own green and red. Bands are computed from the colours the terminal reports at startup; with none reported, a diff is green / red text. No fixed RGB is painted anywhere under native any more. - Lean tool profile for small and local models. The full built-in tool
set costs ~14k tokens of schemas on every request, and small models pick
tools worse the more they are offered. Lean sends eight core tools with
short schemas in the argument names most models are trained on (~2k
tokens), and
tool_searchloads the rest on demand. Auto (default) picks lean for servers you run, models of 32B or less, known-weak models and windows of 64k or less.Settings → Tool profile, orAGENTTY_TOOL_PROFILE. - Other harnesses' tool names work.
Read,Write,read_file,str_replace,str_replace_editor,execute_command,run_command,ls,list_filesand more run the matching agentty tool. - Shapes (Appearance → Shape). Two looks for every frame, rail and
prompt: stroke (square-cornered lines) and fill (the default), which draws
no lines at all: tool cards, the composer and the status bar become
filled panels with soft half-block edges, the turn rail a solid bar. It
switches live, and both lay out in the same rows, so the screen never
jumps. A saved
guiloads as fill; the older line styles load as stroke. - Thinking animations (Appearance → Thinking animation). Twenty styles for the row above the composer while the model works: the hex tape (default), shimmer, spinner, dots, aurora, wave, trace, bars, ember, scanner, flow, pulse, comet, pong, ripple, stars, matrix, decrypt, typewriter and quiet. They take the model's accent and your theme's colours, shed their art before their word on a narrow terminal, and sleep between frames. Hover each one in the docs (Interface → Thinking animation) to watch it.
- A running tool shows how long it has been running next to its name
in the fill shape (
● Shell 4.2s cd …), ticking with the spinner.
Fixed
- The sandboxed shell no longer fails now and then with errno 30. A file handed into the workspace read-only (a trusted file) made the sandbox open an existing file for writing on a read-only mount while it set up, so starting a command failed with EROFS depending on which files existed. (claybin)
- The loop guard no longer turns "done but can't stop" into a failure.
agentty runand subagents now warn first and stop only if the model repeats after the warning; a model that kept re-running a passing check and then answered counts as done; a shell the environment can't start is reported as the environment, never as the model looping. - The compact prompt for local models tells them to verify once and stop.
- Fill cards no longer have a 1px notch at each corner in kitty (the corners were quadrant glyphs, cut at a different pixel than the edges).
- The bottom-right cell of the screen no longer goes blank after a full redraw under tmux.
jaal: slow update/jaal: faultlines no longer print into a full-screen maya app's frame; they are held and printed on exit.- Durations past a minute read
1m05s, never1m5sor1m60s.
v0.9.66 · 2026-11-28
Fixed
- A settings file agentty can't read is never overwritten. A typo in a
hand-edited settings.json made it load defaults, and the next save (any
model switch) wrote them over every setting. Now nothing is saved until
the file parses again, and a copy is kept as
settings.json.unreadable-*. - Settings from a newer agentty survive an older one's save. Keys this build doesn't know used to be dropped on every save.
- Two agentty windows on one thread keep both sides' messages. A save only knew what its own process wrote, so it could cut off messages the other window had just added. A log someone else changed is now added to, never cut or rewritten from a stale copy; the same holds when the file lock can't be had in time.
- Editing an earlier message can't lose the rest of a thread on a crash. It used to cut the log at the edit and re-append; it is now one atomic rewrite. New messages are still a cheap append.
- Provider keys added in two agentty windows are both kept, and a key removed in one isn't restored by the other.
- With the OS keystore on, a stale keystore copy can no longer shadow a newer login (credentials and provider keys read the file first).
- Session ids from an editor (ACP) and
--resumecan't name files outside the threads folder.session/deletewith../xdeleted files there. - A corrupt
acp_sessions.jsonis no longer replaced by a one-session file, the Claude login requires the code's#statepart, and a thread index left short by a full disk is rebuilt on open. - Undo removes files the agent created. ^X (undo all) and undoing every change of a new file in the review pane wrote its "original" back -- which for a new file is nothing -- so it stayed behind as an empty file. It is now deleted, so undo really puts the tree back the way it was.
- Thread loading uses every core outside the TUI too. The thread-log
parser borrowed the renderer's parallel hook, which only exists inside
the TUI, so ACP,
agentty runand tests parsed on one core, and the save path did a blocking fork-join under the thread-log lock unchecked. It now uses jaal'sparallel_for, which is ranked like any other wait.
Changed
- All UI is drawn by maya. agentty fills widget Configs and draws
nothing itself, now with no exceptions: the Ctrl+G runner's frames and
pinned status row, the coloured lines inside retrieval, fork and Smart
Mode cards, search hits in the output viewer, and every
config,skills,plugin,hooks,sessionsandmcplisting come from maya widgets. Output looks the same; tables now align by display width everywhere, so non-ASCII cells no longer go ragged. A lint (no_ui_in_agentty) fails the build on any raw escape, hand-built styled text orprintfcolumn layout in agentty. - The whole look is one folder. agentty no longer picks a colour,
weight or glyph anywhere: it names roles from
maya::look(ink,tone,mark) and passes facts (a tool's category, a model's family), and the folder decides what they look like. Restyling agentty, down to the check mark, is an edit tothird_party/maya/.../widget/agentty/alone. Seedocs/LOOK.md. - Pane rows are named, not drawn. Every header, footer and body row in
agentty's panes (positions, empty states, warnings, text fields, numbered
output, an agent's child calls) is a
maya::rowskind that agentty fills with data; the row's layout lives in the folder. Rendering is unchanged.
v0.9.65 · 2026-11-27
Changed
- The changes strip is one row, shown or hidden. Ctrl+K → Changes strip
now toggles show / hide; the bordered file list and its scrolling are
gone, since the review pane (Ctrl+R) is where you read the files. It is a
one-row box above the composer: what changed on the left, the keys flush
right in the review pane's words —
✎ 12 files changed · +65 −73…^R review ^A keep all ^X undo all. On a narrow terminal the keys drop off from the right and the row never wraps. - The review pane never outgrows the screen. Its code follows Settings → Appearance → Panel height, and the list of changes in a file is a window too (a third of that setting), so a file with 40 separate edits no longer makes a 40-row list. On a short terminal the list shrinks first, then the code; the keys stay on screen.
Fixed
- ^R / ^A / ^X from the changes strip always land. They were decided late, after any open prompt, so a permission request or question above the strip swallowed them, and ^R was handled in a different place again. All three are now decided first, by one decoder that understands every way a terminal sends them (raw control bytes, kitty, xterm modifyOtherKeys, Esc just before). ^A keeps the changes at any time; ^X mid-turn says it will work once the turn ends instead of reverting files the agent is still writing, and a ^X armed before a turn never fires after it.
- ^A under a permission prompt no longer grants "always allow". On
kitty-protocol terminals Ctrl+A arrives as
a+ Ctrl, and the prompt only looked at the letter. Prompts now answer to plain letters only. - "Waiting for the first token" no longer shows while a model reasons. Only answer text ended the wait, so thinking models (shown or hidden reasoning, on Anthropic, OpenAI-compatible, Responses, Ollama and ACP) sat on "Streaming · waiting for the first token" through their whole reasoning pass. Any reasoning now ends it, and the chip says Thinking until the answer starts.
- The welcome screen fits narrow terminals. Below about 50 columns the
pixel logo was clipped to "agen" and the key hints lost their labels
(
^K · ^J · ^T), which told a new user nothing. The logo now falls back to a one-line» A G E N T T Ywhen it doesn't fit the width, and hints always keep their labels; if they would wrap past four lines, the least important ones at the end are left out instead. - Ctrl+Tab works in the model picker. Its footer offered
^Tab prev, but the open picker swallowed the key. It now swaps to the previous model and closes the picker, like Enter.
v0.9.64 · 2026-11-26
Changed
- The changes strip has a compact form. A long editing session made the
"pending changes" box one row per file, so 26 files pushed the whole
transcript off the screen. The setting (Ctrl+K → Changes strip) now cycles
hidden → compact → full. Compact is a single line:
✎ 26 files +1048 −966 ^R review ^A accept ^X reject. Full shows a window of at most 8 files with a scrollbar, and Alt+↑↓, Alt+PgUp/PgDn and Alt+Home/End scroll through all of them. A footer shows where you are ("↑↓ 9–16 of 26"). Paths are relative to the workspace and shortened in the middle so the file name stays visible, and the +/− counts line up in one column. The header always shows the totals for every file.
v0.9.63 · 2026-11-25
Fixed
- Subagent reads no longer fail as
not foundon paths likemain.go}},{. OpenAI-family models asked to batch reads sometimes wrote their internal multi-call wrapper ({"recipient_name":"functions.read","parameters":{…}}) inside one call's arguments, and a host that holds output to the tool schema turned it intopath: "main.go}},{",symbol: "recipient_name". agentty ran that and the model only heard "not found". Now a single wrapped call to the right tool is unwrapped and runs. Anything else (several packed calls, a call to another tool, wrapper debris in a path or symbol) is refused as invalid arguments that tell the model to send each call separately. The check is in the one place every tool body runs, so it covers the main agent, subagents, ACP andmcp-servealike. Subagent arguments that don't parse at all now fail as bad arguments (with the same hint when they are a wrapper) instead of running with{}. - A leaked
multi_tool_use.parallelcall runs as the calls it holds. When that pseudo tool (or atool_useslist under a real tool's name) reaches agentty, it is split at the stream into one real call per entry, for the main agent and subagents alike, instead of failing as "unknown tool". Ordinary calls are held only until their first argument key arrives.tool_args.wrapper_leak/tool_calls.parallel_fanoutlines in agentty.log say when and with which arguments it happened. - Project agents created mid-session are always seen. The agent discovery cache keyed on file mtimes only, so an agent file caught while still empty could be skipped for the whole process. It now keys on name, size and mtime.
Changed
- Built on the latest jaal, with the platform decided in one place.
jaal now decides which OS, compiler and CPU agentty is being built for
(
jaal/meta/target.hpp), and agentty sees that only through maya (maya/core/target.hpp, theMAYA_OS_*andMAYA_CC_*macros). About 550 checks of raw compiler macros (_WIN32,__APPLE__,_MSC_VER,__x86_64__, …) in agentty and maya were rewritten to those names. A script compiled every changed file for 15 targets (Linux, Android, macOS, the BSDs and Windows, on x86-64, arm64 and i386, with MSVC, clang-cl, GCC and clang) and confirmed the same code is chosen on each one. The build scripts ask the same headers too:cmake/AgenttyTarget.cmakeinstead ofif(WIN32)/if(APPLE). Newone_osandone_os_cmaketests keep it that way. - Slow updates are logged with their message name. jaal's kernel times
each update and reports the specific message type that ran over budget,
e.g.
loop.slow update msg::OpenPalette 23.1 ms. Before, agentty timed updates itself and logged a domain plus an index (ComposerMsg#7). Errors that jaal catches inside an update (an exception thrown while handling a message) are now written to agentty.log asloop.faulttoo. Before, they went only to stderr.log. - Crash handlers use
std::atomic_flagas the re-entry guard instead ofvolatile sig_atomic_t. It is just as signal-safe, it is also correct if two threads crash at once, and it passes jaal's concurrency checks. - The activity bar explains what the stream is going through. Retries,
stalls and slow starts are shown inline next to the phase indicator
instead of in a banner that covered the bar:
⠋ retry 7s HTTP 503: service unavailable · 2/6 ━━━━━━━───. It shows the provider's reason and which attempt this is, and the bar runs down until the next try. After that it reads "… · trying again" and goes away at the first token. A stalled stream shows "no data for 47s · reconnecting". A slow first token shows "waiting for the first token", or "the model is reading the prompt" on a local model. A working stream shows nothing extra; the token chart says enough. On a narrow terminal the token counts drop before the reason does. - A message in the status bar no longer hides the gauges. Toasts used to take over the whole row, so the context and cache gauges disappeared for every "copied to clipboard" and for as long as any message stood. The message now sits on the left and the gauges stay on the right. On a terminal too narrow for both, the message wins.
- Retry countdowns update live. "retrying in 21s" counts down to the next attempt, then shows "retrying now" while it connects, instead of holding the first number for the whole wait. The phase chip counts down too ("retry 12s"), so the wait is visible even after the message fades.
- Banner colours match what happened. Rate-limit retries are amber, not the calm blue they had been painted (the line read "rate_limit —", and the colour check missed it; it now reads "rate limited —"). "giving up after …", "could not …" and "… failed" are red.
Fixed
- Switching to a large thread is fast, and tmux no longer redraws the whole conversation. Opening a thread used to print its entire history into the terminal again, about 14 MB for a 2,200-message thread. That took 3 to 5 seconds and showed every row scrolling past in tmux. Now only the newest four screens are drawn, about 45 KB, and the thread is on screen about 30 ms after Enter. The ^J preview starts loading the moment the picker opens and settles 40 ms after you stop on a row (it was 90), and a thread file is parsed on all cores, about 85 ms for 16 MB instead of 280. The thread was also being read from disk twice: once for the ^J preview and again on open. It is now read once, reused if the file hasn't changed since the preview read it, and pressing Enter while the preview is still loading waits for it instead of starting a second read. Appearance › Scrollback decides how much history is reprinted on open: on Auto (the default) none is, which makes switching instant; a fixed level (1k, 5k, 20k rows or the whole thread) reprints that much, which is slower on a big thread. Older messages are still in the conversation (^O) and in the file.
- The plan counter in the composer footer no longer jumps around while it updates. Each todo update rewrites the whole list, and the partly-sent list used to replace the plan every 120 ms. A plan at 3/5 showed 0/1, 1/2, 2/3 and so on while the update arrived, and a finished step whose status hadn't arrived yet showed as undone. Now the items received so far are combined with the rest of the current plan, so the total stays put and a step's status changes as soon as it arrives. The exact new list takes over when the update finishes, before the tool has even run. An update that sends an empty list now clears the plan; before, it was ignored.
- A retry message can't outlive its turn. When the turn ends, any "retrying …" line goes with it. That includes "reasoning used the whole budget · retrying with less…", which nothing had ever cleared.
- "in progress" lines leave when the work does. "refreshing OAuth token…", "compacting context…", "rewinding to checkpoint…", "retrieving context…" and the self-update download line are now tied to the work they describe. Before, they cleared only on the success path, so a refresh that turned out not to be due left "refreshing OAuth token…" up all session.
- OpenCode Go and Zen show the cache in the status bar. OpenCode
reports its cache only in its own
usage.opencode.tokens(cache_read, cache_write_5m/1h), not in OpenAI'sprompt_tokens_details, so agentty saw no cache at all and hid the CACHE gauge. It is read now. - "retrying (upstream cut off)…" no longer sticks. On OpenAI-style providers (OpenCode Go, OpenRouter, custom hosts) one retried request left the banner up for the rest of the session, however well things went after. It now clears as soon as the retried stream produces anything, and lapses on its own after a few seconds regardless.
v0.9.62 · 2026-11-22
Added
- The agent can ask you to choose. When a request is ambiguous or a
decision is yours (which design, whether to delete something), the model
can stop and ask up to four multiple-choice questions in a card under the
turn. It starts on the model's suggestion (★); pick with the arrows and
Enter or a digit, tick several with Space where it allows, or type your
own answer in the usual message box and press Enter. Several questions get
tabs and a review page before anything is sent. Esc stops the turn, as it
does mid-reply. The finished card keeps question →
answer in the transcript.
Like OpenCode's
questionand Claude Code's AskUserQuestion. Don't want it?Ctrl+K → Settings → Ask clarifying questionsturns it off entirely: the tool is no longer offered to the model. It never appears inagentty run, ACP sessions or subagents, where nobody could answer.
Security
- MCP servers, ACP agents and retrieval helpers run in the sandbox. They
used to start with your full authority — an
npx some-mcp-servercould read~/.ssh,~/.awsand every repo, and reach your LAN. Now each gets walls for what it is: MCP servers get the workspace and the proxied network; ACP agents also get their own sign-in directory (and only their own); retrieval helpers get a read-only workspace and no network. With the sandbox on, a server that cannot be sandboxed is refused with the reason, never started without one. Linux; macOS and Windows next. - Nothing agentty runs can change agentty's own config.
~/.agenttyholds the sandbox policy, the MCP servers, hooks and agents that start without asking, and the approval store. The agent's file tools now refuse to write, delete or move anything there under every Trust handoff setting,allowincluded, and through symlinks; sandboxed commands see it read-only even with the workspace at$HOME. Writing another agent's server list (.mcp.json,~/.claude.json,.codex/,.gemini/,.junie/) is now a trust handoff too. - The sandbox says what it stopped and what this host can't do. Files a command was refused now appear in the Sandbox pane's blocked list by path (only ones you could have written yourself). On a host without user namespaces the banner names what is missing in words — "other processes: visible", "protected files: tool gate only" — and the model is told what that means for its commands. On Linux 6.15+ the kernel's audit log records each denial too.
- The sandbox works, and holds, on hosts without user namespaces. Ubuntu
24.04's AppArmor default denies them, and on such a host every sandboxed
command failed to start; underneath that, a masked
.envcould be read in full and "network: Full" meant the open host network. Now, with Landlock alone: secrets stay masked, read-only paths like.vscode/tasks.jsonand.git/hooksstay read-only, and commands reach the network only through agentty's proxy (private ranges and cloud metadata refused) — or not at all under None. Where the kernel is too old to keep a promise, the command is refused with the reason. The startup banner now names any wall this host could not build, and--sandbox onrefuses to start if the configured posture cannot be built. A new CI job runs the sandbox's attack tests on every push with user namespaces disabled.
Fixed
- The cache gauge works on every provider, not just Anthropic. It was only armed by an event that OpenAI-compatible hosts (OpenRouter, DeepSeek, Groq, …) and Ollama never send, so on those it stayed blank.
- A provider that reports
cached_tokens: 0every turn now showsmiss, notn/a. Zero counts were mistaken for "doesn't report a cache". - Ollama's cache is counted. Ollama 0.40+ reports
prompt_eval_cached_count; it was ignored, so every local cache hit read as fresh input. DeepSeek'sprompt_cache_hit_tokensand a top-levelcached_tokensare read too. - Stats → Tokens "In" counts the whole prompt. It showed only the uncached part, so on a warm session "In" and "Total" read several times too low.
- Turns from a host with no cache no longer drag down the hit rate. A thread that switched providers counted those prompts as cache misses.
v0.9.61 · 2026-11-21
Fixed
- An oversized SKILL.md no longer costs a real skill its place. Files too
large to load are kept so
agentty skillscan name them, but they used to count againstAGENTTY_MAX_SKILLS— three of them at the cap silently pushed three working skills out of the catalog. Only loadable skills count now. - A buffering gateway no longer hides the status bar. When a proxy holds
the model's output back, the whole status row used to turn into "network
gateway is buffering output — waiting…", re-armed every 15 s, so the
context gauge and everything else vanished for the length of the stream.
The phase chip now just reads
buffered…until the burst lands. - The Skills panel stays inside the terminal. Its header and its detail footer are rows the list does not get, and the shared viewport estimate only knew the two-row hint chrome — so on a short terminal the panel grew taller than the screen and painted the list straight over its own footer, which is where the description, the findings and the caveat live. The list budget is now derived from what the panel actually spends, blank spacer rows yield first when it is still too tight, and a footer line that wraps keeps its indent instead of snapping back to column 0.
Added
- The prompt cache sits next to the context gauge.
CACHE 94%on the status bar: how much of the prefix the last request left warm was served from cache. A healthy hit is just the number, in green. Anything else says why in one word, so a0%never leaves you guessing:0% newfor an expected cold start (new thread, compaction, a model switch),3% idlewhen a long pause simply outlived the cache, and2% missin amber when a prefix that should have been warm was re-priced from scratch — the one that costs you 10-20x on time-to-first-token. Hosts that never report cache use readn/a. Judged against what the previous request left warm, so a big new tool output does not look like a miss. On narrow terminals the word goes first, then the number, before the phase or the context gauge. The context bar itself now shows the same split: the part of the window served from cache draws as▓, the part paid in full this request as█— same width, readable without colour. - The plan is always in view. The composer footer's empty middle now
carries the agent's plan: a task meter,
3/7and the item in flight (●), or the next one up (○) between steps — no^Tneeded. It is responsive at every width: the label shortens with…, then drops to the meter and the count, and steps aside entirely before it would ever push the model badge or the mode chip off the row. An unfinished plan stays when the agent stops ("stopped at 3/7"); a finished one shows its✓for the rest of the turn and then goes quiet. Switching threads swaps in that thread's plan instead of leaving the last one up. - The skill catalog says what it is leaving out.
agentty skillsand the Skills panel (Ctrl+K) now reportN of M cataloged · cap C · K not catalogedinstead of listing a truncated catalog as if it were the whole library — the failure mode where a skill you installed is simply absent. The installed count rides along with the cached discovery, so it costs no extra walk, and the panel stays silent when everything fits. Every other reason a skill is missing gets its own line and its own fix — too large to load, unreadable or nameless, hidden by a same-named skill — and the cap knob is only suggested when the cap is the reason (#134, thanks @davidwed). - The Plugins pane shows the tool cap and what it refused. The header now
names the per-request maximum (the provider's limit, your
AGENTTY_MCP_TOOL_BUDGET, or "no cap" on providers that defer schemas), how many tools are deferred and addressable by name, and how many were left out — split into "by the cap" (pin it withp) and "by an invalid schema" (only the server can fix it). Previously a tool the cap refused looked exactly like one the model searches for.
v0.9.60 · 2026-11-19
Added
- ACP agents are first-class. Devin, Claude Code, Codex, Gemini and
OpenCode over ACP now sign in with the agent's own method (or say "run
devin auth login"), fill the model picker with the agent's models (kept across ^Tab and reopened threads), and ask permission with the same y/a/n card agentty's own tools use. ACP CLIs found on PATH show in the provider picker as "installed - Enter to set up", so no hand-writtenacp-agents.jsonis needed. The agent's stderr stays off the TUI (AGENTTY_ACP_STDERR=1shows it). - A subagent's answer types out live under its calls in the Agent card.
- Open a subagent's call in ^O: Tab / Shift+Tab pick a nested call, Enter opens its output.
- Panel height has four steps: compact 10, normal 14 (default), roomy 20, tall 28 rows. The ^O / ^U reader and the accounts list follow it too.
Fixed
- ACP: an agent's prose and reasoning after a tool card no longer render one fragment per line above the card; they continue below it.
- ACP: agents' shell commands run. A whole shell line sent to
terminal/create(ls -la | head -3) was quoted as one program name. - ACP: the model picker works before the first turn, and sending never blocks on "no model selected" for an agent with its own default.
- Esc on a running subagent settles its nested calls, and a cancelled call shows ⊘ instead of a red ✗.
- Subagent card polish: "starting…" instead of a guessed role, a "⋯ N more lines · ^O to read" hint on long reports, a clock-first progress row, and fixed-width rows in narrow terminals.
- ^U / ^O no longer lag on long reasoning. A streaming thinking block is extended instead of rebuilt each frame (about 25x faster).
- ^O / ^U: a long entry opened after a short one no longer keeps the short one's height.
v0.9.59 · 2026-11-19
Added
- OpenCode Go provider (
OPENCODE_API_KEY). It sends thex-opencode-sessionheader OpenCode Go now requires, from the first request. - Every gateway gets its session id the way it wants it. agentty sends a
stable per-conversation id so routing gateways keep a conversation on one
backend. The header name now fits the host: your pin, else one learned from
the host, else the provider's, else
x-session-id. A host that refuses a request for a "missing x-...-session" header has that name learned and the same request resent, so the turn just works, and agentty remembers it. Hosted vendors get an opaque id that differs per vendor; your own hosts get the thread id. Pin one under"session_headers"insettings.json. - A subagent's own tool calls show inside its Agent card, one row each (icon, tool, detail), newest five with older ones folded into "N earlier".
- ^O on a subagent lists every call it made, then its report as formatted prose (headings, bold, code, bullets) instead of numbered raw markdown.
Fixed
- Settings search finds the General toggles such as "Keep retrying on errors", and picking one lands on that row (#133).
- The composer no longer bounces while a subagent runs. The Agent card now only grows a row at a time.
- Session-header errors no longer say "check the API key".
- Subagents read in parallel. Independent read-only calls in one turn (several greps or reads) run side by side instead of one after another.
- The tool panel footer shows the real elapsed time while tools run (it
read
0msfor a whole agent run), plus the agent's turn when one is running:0/1 action · turn 7/80 1m12s. - Windows and macOS build again after today's speed work (an MSVC-only builtin and a Linux-only sync call).
- Subagents no longer die after doing the work. A reply too long to
stream (a big
write) used to end the whole run at the 8k output limit; write-capable agents now get the model's output ceiling (up to 32k), and a cut-off turn is retried smaller instead of failing the run. - A subagent always ends with a report. When it runs out of turns or time mid-work, it gets one last turn with no tools to write up what it changed or found, instead of returning an activity log.
- Coder subagents start editing. They were spending 40-77 turns reading and returning "no edits made"; the coder role now reads narrowly and edits early, and every subagent is told its turn and time budget.
- The Agent card got a redesign. While it runs: a budget bar and
turn 7/80 · 9 tools · 1m 12spinned above the feed, one line per tool call that turns from○to✓ 14.2sor✗ — whyin place, and the agent's current sentence last. When it settles: the report with markdown cleaned up (no stray**,##or table pipes), a partial result (out of turns or time) in amber with its findings instead of a red "failed", and a provider failure explained in a sentence with what to do. A failed run's report carries the last dozen steps, not the whole log. - Live
shelloutput streams again (to the card and to ACP clients); it showed only the newest chunk since the background-on-timeout change. editnever silently overwrites someone else's change. If the file is written by another process between edit's read and its write (a formatter on save, your editor), the edit is refused and nothing is lost.editandwritekeep read-only files read-only and hard links linked. The atomic rename replaced a0444file straight through its permission bit, and split a hard-linked file from its other names.- A long
shellortestcall is no longer killed at 330 s. The no-progress watchdog now waits for the timeout the call asked for (plus slack), sotimeout: 600ortimeout_seconds: 1800runs to its own deadline instead of losing its output. cdcarries over betweenshellcalls inside the sandbox. It was saved to a file the sandbox's private/tmpcouldn't reach, so every call printed "No such file or directory" and the directory never stuck.- A glob can reach into
third_party/,vendor/,build-*/and the like.replace,grep,glob,extract,aggregateand the structural tools skipped those directories even when the glob named them, andreplacejust said "No files to scan". An empty scan now says why. - Globs mean the same thing in every tool:
*.{ts,tsx}alternation andsrc/**/*.gopaths work insearch_structuralandrewrite_structuraltoo, which only matched file names.
Performance
editon large files is ~9x faster (38 ms to 4 ms for a one-line edit in a 1 MB, 30,000-line file; 0.4 ms on a typical 2,000-line file). Edits splice in place, only the changed region is diffed, and the file is diffed once instead of three times.editis ~13x faster (8 ms to 0.6 ms for a one-line edit in a 2,000-line file): Myers diff instead of a full LCS table, no zero-filled multi-megabyte read buffer, and no redundantfdatasync/directoryfsyncwhen replacing an existing file on btrfs or ext4, which already order the data before the rename.- Sandboxed
shellis ~45% faster (22 ms to 12 ms fortrue). It no longer forks a fresh host probe per command, re-walks the workspace for the secret mask (an inotify watch answers "nothing changed"), binds missing optional paths, watches git's.samplehooks, or re-sorts the seccomp table on every insert. grepis ~40% faster (32 ms to 19 ms on this repo), from the same spawn savings.
v0.9.58 · 2026-11-18
Added
- Environment variables setting (Settings → Sandbox):
toolchain(default),essentialorhost, plus a Custom variables list. A token you export in your shell no longer reaches the agent's commands unless you pickhostor list it.toolchainstill passes what builds need: compiler and linker variables (CC,CFLAGS,LD_LIBRARY_PATH), an activatedVIRTUAL_ENVor conda env,CMAKE_*,PKG_CONFIG*,npm_config_*,PYTHON*and CA bundles. Inside those families a secret-looking name (npm_config__authToken, matched regardless of case) or a URL with a password in its value (PIP_INDEX_URL=https://user:pw@…) is still dropped. - What
.git/configmakes git run is protected too: thecore.hooksPathfolder (.husky,.githooks) and the scripts named bycore.fsmonitor, filters,textconv,sshCommandandcredential.helper, for the shell and for the file tools alike. Moving or replacing a.gitis blocked where the sandbox can, and reported where it can't. - A global-only git identity works under
hardenedandairgapped. Onlyuser.nameanduser.emailare handed over; a repo's own identity still wins. A change to your global identity applies to the next command, without a restart. - A git
include.paththat does not exist yet is protected too. git skips a missing include, so creating one later was a way to add ahooksPathwithout touching the protected config. json_queryruns real jq. A new engine implements the jq language agents actually write:select,map,..,//,?,reduce/foreach,if,try,as $x, string interpolation,@csv/@tsv/@sh/@base64, assignment (|=,+=,//=), regex with named captures, and about 110 builtins. A conformance test diffs 300 queries against jq 1.8 byte for byte. Step, depth, size and regex guards stop runaway queries.- Multi-file
apply_patch. One call can add, update, move and delete files, as a Codex-style*** Begin Patchenvelope or a multi-file unified diff. It is all-or-nothing, with rollback if a write fails. shellkeeps going instead of being killed. A command still running at its timeout becomes a background session you can poll (on_timeout: "kill"opts out). The maximum timeout is now 600 s. Acdcarries over to the next call, inside the workspace.- Full logs for background processes. Every
process_startsession (and everyshellcommand that outlives its timeout) has its complete output in a private log file (0600, capped at 64 MiB, under$TMPDIR/agentty-proc-<uid>/), so a build error that scrolls out of the on-screen tail is still there. The host's pump writes it, so no byte is missed between polls. web_searchtakesallowed_domains/blocked_domains.web_fetchpages long documents (max_chars,start_char) and serves repeat fetches in the same session from a cache.forgettakes ascope.
Changed
- Upgrading changes what commands inherit. A saved setup that matches a
preset keeps that preset's environment scope (
permissivekeepshost). Acustomsetup gets the new default,toolchain, so exported tokens stop reaching commands; set Environment variables tohostto keep the old behaviour. - Allowed ports and Allowed hosts show only where Access uses them, and your lists are kept while hidden.
- Edits say how they matched.
editandapply_patchreport exact, indentation-relative, whitespace-normalised or fuzzy (with a score) for every change, and flag the inexact ones. A miss shows the closest real lines. Fuzzy matching is stricter: 85% similarity unless a nearbylinehint is given, never forreplace_all, never overlapping another edit, and never on a file that changed since it was last read. grepuses smart case, likerg -S: lowercase patterns ignore case, and an uppercase letter makes the search exact.- Edits no longer erase what the model just read. A
readfollowed by aneditof the same file used to replace the read with a pointer to a later read that didn't exist, so the model re-read files after every edit. Now the read stays, marked stale. A read and an edit in the same parallel batch also no longer hide the read before the model has seen it. web_fetchnever sends pages to a third party on its own. Rendering a JavaScript page through r.jina.ai is now opt-in (render: "jina"), and it is refused for URLs carrying tokens or naming internal hosts.process_start,testanddiagnosticsget the same non-interactive environment asshell(no pager, colour or git credential prompt).- Project-defined subagents are read-only by default. A
.agentty/agentsfile inside a cloned repo gets read-only tools until you trust it, and then only the tools it lists. forgetmatches case-insensitively, and "Always X" and "Never X" are no longer merged as duplicates.
Security
- Redirects now drop
Authorization,Cookieand API-key headers when they change origin, and a 301/302/303 turns a POST into a GET, as browsers do. The per-hop SSRF check is unchanged. web_fetchdecodes Latin-1 and Windows-1252 pages instead of passing their bytes through as replacement characters.
Changed (build)
- Building from source no longer needs babysitting. Configure fetches any
missing submodules (pinned commits; never moves one you've checked out), so
a plain
git clonebuilds. Ninja parallelism is now sized from RAM as well as cores: a full-j12build had filled a 31 GB machine and thrashed swap. It now peaks around 20 GB. Override withAGENTTY_COMPILE_JOBS/AGENTTY_LINK_JOBS. The newscripts/build.shbuilds at-j12by default (AGENTTY_BUILD_JOBSoverrides) and locks the build tree, so two builds of one tree take turns instead of tearing.ninja_deps. A torn file made ninja rebuild the same objects on every run. The script also repairs the logs after an interrupted build.resync.shnow builds through it at-j12as well.
Fixed
- git works in the sandbox again. Commit, add, switch, rebase, stash and
gc failed under every preset, because git's own state files (
HEAD,index,packed-refs) were bound read-only. Only.git/config,.git/hooksand.git/info/attributesare protected now, and files that merely share a name (src/hooks/,deploy/config) are ordinary. - https works under
hardened. Port-restricted network no longer points tools at a proxy that is not running. - Saving the Sandbox pane keeps resource limits it could not show. On a
host where claybin cannot start, the locked memory, process, CPU and
/tmprows were saved as 0 (or 512 MB), not as configured. - Secret files under
vendor/are masked. The secret scan skippedvendor/, where Go and PHP projects keep checked-in code. - Removed an unused MCP tool-route helper that produced a
-Wunused-functionwarning in every build.
v0.9.57 · 2026-11-16
Added
- Hooks speak Claude Code's protocol, so RTK works as is (#128). A
hooks.jsoncan use Claude Code's shape (PreToolUse,PostToolUse,PostToolUseFailure). Hooks get the event as JSON on stdin and can deny, ask, allow, rewrite a call before it runs, or replace its output before the model reads it.PreToolUseruns before the permission prompt, so the prompt and the card show what will really run. Hooks now also run inagentty runand in subagents. The oldpre_tool/post_toolformat still works. See Hooks. - Delete, Home and End work in the prompt, the login box and the settings add field (#129). Thanks @sail3r.
- 32-bit programs run in the sandbox on x86_64 Linux with multilib (#130).
Thanks @lukerb52. They get their own syscall filter, which allows exactly
what the 64-bit one does by name; claybin's new
x86_audittest keeps the two equal.
Changed
- The ^U thinking reader ends like the transcript's block:
Reasoned · 216 tokens · 4.3s · 50 tok/s, and a long block gets a scrollbar. - Overlay scrollbars are a block thumb in the panel's colour, with no track line beside the border, and move in half-cell steps.
- Stats columns are sized to their content. Text and donuts take what they need, charts take the rest, so the gap beside Latency is gone.
Fixed
- Common tools no longer fail inside the sandbox. sqlite said "disk I/O
error", git with
core.fsyncdied on fsync, andflock, file watchers (tsc --watch, vite), Rust panic handlers and node timers all hit "Operation not permitted". The sandbox now allows those calls (fsync, flock, inotify, sigaltstack, umask and others); each one only acts on what the program can already reach.niceworks on the program itself. - The ^U reader no longer cuts lines with
…or draws empty rows after the text. - A sandboxed hook can read its input. It used to get a payload file in a
/tmpthe sandbox couldn't see.
v0.9.56 · 2026-11-13
Fixed
- A command the sandbox blocks now says so. The note telling the model
the sandbox was the likely cause never reached it, so it blamed your
machine instead (#125). Now it hears that, hears that approving doesn't
widen the sandbox, and offers a way out. The card shows you two short lines:
likely blocked by the sandbox, then run it yourself, allow it in
Settings › Sandbox, or use
--sandbox off. On macOS,openand Finder errors count too. - The model picker no longer warns about an Ollama you don't use (#126). The error still shows in ^P, and once Ollama is active.
Changed
- The permission prompt for a sandboxed command says approving doesn't widen what it can reach, and Shift+Tab says the sandbox still applies.
v0.9.55 · 2026-11-13
Fixed
- The ChatGPT model list no longer comes back empty. The server hid models
from the client version agentty reported, and one bad field in any row threw
away the whole list. Both are fixed, and
AGENTTY_CODEX_CLIENT_VERSIONlets you report a newer version if it happens again. Thanks @cloudbouz53 (#124). - Pinning a tool that fails now shows a toast instead of doing nothing.
Changed
- The docs are rewritten to be easy to read, and checked against the code. Quick Start is a short path from install to first answer, with a section on turning the sandbox off when you need full access.
v0.9.54 · 2026-11-12
Changed
- The review pane (^R) shows what changed in a line. On an edited line only
the changed words get the strong band (bold underline below 256 colours), so
= 30to= config().timeoutreads at a glance. Each change names its function when that line isn't already in view, new and deleted files say so, the code window fills the terminal instead of 24 rows, and file tabs are pills with green/red+N −N. - The ^U reader makes it obvious when the model is thinking and when it's
done. "Thinking ⠋" with
● LIVEand a timer that ticks every second, then "✓ Done thinking" in green for a moment, then "✓ Reasoned" with the final time. - The startup line says how to turn the sandbox off:
agentty: sandbox: active (claybin) · turn it off entirely with --sandbox off. - The README is half the length, and its key table is current.
Fixed
- The keymap doc listed
Ctrl+Las redraw; it's Stats, and redraw isCtrl+Y.
v0.9.53 · 2026-11-11
Added
- Credit the model in commits (#59). Settings › General, off by
default. On, commits the agent makes end with
Co-authored-by: agentty (<model>) <[email protected]>(aider's shape), naming the model that wrote that turn. Works inagentty runand subagents too. - The ^U reader shows what's known about the thinking on its header row: model, effort, full text or summary, time and tokens (the billed count when the provider reports one). Turns now record their effort.
Fixed
- The ^U reader follows streaming thinking while you're scrolled to the bottom.
v0.9.52 · 2026-11-11
Added
- ^U reads thinking in full (#123). On an empty composer it opens the
newest thinking block over the screen; ←/→ go to older ones, Esc lists
them all, ^U closes. Collapsed blocks say
⋯ N lines above · ^U to read, and the palette has "Read thinking". A live retrieved-context card still takes ^U first.
Changed
- The ^O and ^U viewers don't move under you. On the newest entry while
it runs, scrolled to the bottom, you follow new tools or thinking blocks.
Anywhere else you stay put and new ones show as
↑ N new;tgoes to the newest. - Text arriving in those viewers types in with the transcript's typewriter and pacing. The Motion setting turns it off the same way.
Fixed
- Collapsed thinking counts its hidden lines right. Long blocks said "24 lines above" whatever their length.
-mpicks the model the TUI opens on. It was saved but the provider's saved model won at startup.- Reasoning settings take effect on the turn being written, the "Reasoned · Ns" timer starts when thinking starts and stops on errors, Hidden no longer fetches a summary it throws away, and Haiku/Sonnet 4.5 can think again.
- Alt+←/→ in threads includes threads made this session.
v0.9.51 · 2026-11-08
Fixed
- Reasoning off really is off on Claude 5 models. Sonnet 5 kept
thinking with effort off because the request left
thinkingout, and Claude 5 models think by default. Off now follows what Anthropic's/v1/modelssays each model accepts (disabled,between_toolson Sonnet 5.5), with rules matching Anthropic's per-model table as the fallback. A rejected thinking mode is retried and remembered. Models that always think (Opus 5.5, Fable, Mythos) no longer offer off at all. Smart Mode's routed off is sent explicitly too. - Switching providers keeps the right model. The saved model per
provider was looked up under the name you typed (
codex) but saved under the canonical one (openai), so switching back fell to the default. A local server (Ollama, LM Studio) that doesn't have the saved model now picks one it has and says so. - Effort survives switching models. It used to be rewritten on every switch, so off became low on a model that always thinks and stayed low after switching back.
agentty run -mno longer changes the TUI's saved model, and neither does a headless--provider.
Changed
- The tool output pane (^O) is readable and searchable. It uses the
terminal's height and never runs past it, wraps long lines and the full
command instead of cutting them off, and shows the output as you'd want
to read it: no description echo, ``` fences or notes meant for the model,
in normal text with tokens coloured. A cut is shown as a
⋯line./finds as you type,n/Nstep through matches, PgUp/PgDn page, andycopies the clean text. The list never cuts off a row's status. - The diff review panel was redone. It says up front that the edits are saved and you keep or undo each one, shows files as tabs, lists each change with real old and new line numbers, and counts kept and undone.
- Tool output reads in the normal text colour with paths, numbers, strings
and flags coloured, instead of a dull grey. Cards drop notes the tool
wrote for the model,
readopens at the top of the file, andgit statusshows just the changed files. - The status bar shows the whole thread title when there's room.
v0.9.50 · 2026-11-07
Changed
- Tool cards got a full visual pass. The header is one two-tone pill:
the tool name on a solid chip, the rest on a soft band of the same
colour, and the output below sits on a faint tint of it. Write, edit and
diff output is syntax coloured on the red/green bands, and paired lines
light up the words that changed. Grep rows are syntax coloured too, and
every match sits on an amber band. File paths get a language dot and a
dim directory with a bold file name, and edit headers end with
+3 −5. - Grep highlights whatever the pattern matched, regex included. It used
to give up on any pattern with an escape like
resolve\(. - Running tools keep their spinner whenever the whole card fits on screen, instead of a still dot, and their header has a soft shimmer.
- Permission prompts show what bash will run. bash was missing from the shell case, so approving it showed the whole args object as json.
- Every theme reads. A contrast floor lifts colours that were too dim on their own background (links, headings, hints), keeping the hue. Across the 615 bundled themes that took 870 dim colours to none.
- The native theme gets the same look on terminals that report their colours: maya asks once at startup, in the round-trip it already makes.
- Reasoning uses a quiet neutral ink instead of the theme's secondary hue, says how many lines are hidden when collapsed, and its rail is coloured again (a renderer bug left left-only borders uncoloured).
- Smaller: failed cards drop repeated
[kind]tags, the composer colours@fileand/command, nested markdown lists indent, picker rows and the diff review panel use the same tinted bands, MCP tools read asSearch Issues · github, and the──branch before each tool is gone.
Added
tool_galleryrenders every surface from real recorded tool calls (--running,--ask,--chrome,--reasoning,--prose,--welcome,--panels), and aui_snapshotstest diffs its output so a change that alters how something looks shows up in review.
v0.9.49 · 2026-11-06
Fixed
- Settings stopped reverting when you run several agentty sessions at
once. Each session reads
settings.jsonat startup and keeps it in memory, and the save-time merge treated the whole appearance block as one value. So one session setting scrollback, and another (still holding the startup copy) changing its theme, wrote the stale scrollback back over it. The setting did persist — until any other session saved anything. Appearance settings now merge field by field: a field a session did not change keeps whatever is on disk. - Setting up a provider no longer pulls you off the one you are using in two more cases. Working on Ollama with no API keys counted as "nothing configured", so adding any provider adopted it; the active local backend now counts. And an empty Anthropic key read as signed in — every other provider already required a non-empty key.
Changed
- Appearance settings are declared once. The settings writer, its loader and the save-time merge each used to spell out every field by hand, and nothing made those lists agree — a field missing from one was silently never saved, never loaded, or clobbered by another session. They now walk a single table, defaults included, so none of them names a field. Two build-time checks were added alongside it: one that every appearance field is in that table, and one that keeps UI drawing out of agentty (maya owns every pixel decision).
- The release's channel audit reads AUR's version from the RPC as well as the cgit mirror. v0.9.48 went red on a package that had published correctly 90 seconds earlier, because the mirror lags.
v0.9.48 · 2026-11-06
Changed
- Setting up a provider no longer switches to it. Adding a custom host
or pasting an API key used to make that provider active — and because a
switch has to pick a model for the new backend, it also changed the model
you were working with. Registering a spare key while mid-task ended your
session. The credential is saved and the toast offers
Ctrl+Pto switch when you actually want to. First run still adopts, since there is no session to protect and leaving you unconfigured would be worse. - The provider picker reads as columns. Descriptions start at a fixed
column so the provider names scan vertically, and the marker column now
carries meaning:
●for the active provider,›for "show more",+for the row that adds a host.
Fixed
- Picking a model updates the badge immediately, instead of waiting for
the next message. The badge shows the model that actually served the live
turn (they differ under Smart Mode), and that marker was not cleared when
you chose a different model — so it kept naming the previous one until a
new turn overwrote it. The same staleness made a provider switch show an
impossible pair, like
OllamabesideOpus 4.5. - A backend still loading its catalogue says so. Adding a local host
left the badge showing a provider with a blank model, which reads as a
half-finished switch; it now says
loading models…while the fetch is in flight, orno model · ^/ to pickif it finished without one. The model fills itself in when the catalogue lands — dismissing the picker is safe. - Sign-in adopts only when nothing usable is configured. A keyless local host is stored with an empty key, so the old check counted it as a working setup; someone whose only entry was such a host got no adopt and a dead session.
v0.9.47 · 2026-11-05
Changed
- The provider picker (
Ctrl+P) shows what you've set up, not the whole catalogue. It used to list all fifteen built-in providers flat, ten of them amber "set the named key first" warnings for vendors you'd never touched. Now it opens on your configured backends and collapses the rest behind one line:Show 11 more providers. PressEnteron it or^Eto reveal them. Typing still searches every provider — an unconfigured one appears as a dimEnter to set uprow, so nothing became harder to reach, and pasting a key that a provider recognises still routes it to the right place. - A multi-account provider says which account is serving. The model picker's section header and the status badge name the active account when a provider has more than one. Providers with a single account look exactly as before.
RECENTin the model picker is ordered by recency. Browsing sorted it alphabetically, so the model you picked ten seconds ago could sit below one you last used a week back. Favourites still lead the list.
Fixed
- Changing model no longer renames every turn already in the thread (#120). A turn's header named whichever model was currently selected rather than the one that actually produced it, so switching model rewrote the whole transcript — a Granite turn claiming to be Spark. Each turn now records its own model when it runs. (Turns from before this release have nothing recorded and still show the selection.)
- Switching account on the active provider reloads its models. The
model list was cached for 60 seconds and not invalidated on the switch,
so
Ctrl+/could show the previous account's models — wrong whenever two accounts have different entitlements. - Keys in the provider picker no longer appear to need two presses.
Expanding the list left the cursor clamped to the old, shorter list, so
arrowing down stopped early and
Enteron a revealed row did nothing. - The
@and#pickers show their keys.Enter,Escand the arrows all worked; nothing on screen said so. - Settings → Plugins shows
e editandd removeon an unapproved server. Both keys worked there — the footer just hid them, exactly where you're deciding what to do about the server. - Footer hints describe the highlighted row:
^Freadsunfavoriteon a model you've already starred, and^/readsall providerswhen the list is scoped to one, which is how you widen it again. - The Retrieval pane's
^E advancedreads^E hide advancedonce the advanced rows are showing. - A scoped model list no longer offers to filter "across providers" while its own title says it is limited to one.
agentty updateno longer offers a release whose binary for your platform is still building, then fails with a bareHTTP 404(#119). Releases publish each platform's binary over about an hour; until yours lands, agentty offers the newest version that is ready (or says "up to date — v0.9.46 is out, its binary is still building") and checks again within 20 minutes instead of a day. The update chip in the TUI only appears when the update can actually be installed.- Updates are checked against GitHub's sha256 for the file before anything is replaced; a truncated or mismatched download installs nothing.
install.shinstalls the newest release that has a binary for your platform, instead of failing during the same window.
v0.9.46 · 2026-11-04
Added
- Allowed hosts. Settings → Sandbox → Network → Allowed hosts limits
sandboxed commands to the sites you list:
github.comexactly, or*.github.comfor its subdomains. Leave it empty for any public site. Pasted URLs are trimmed to the host, typos and IP addresses are refused with the reason, and the agent is told which hosts it may use.
Changed
- On macOS, sandboxed commands reach the network only through agentty's
filtering proxy, as on Linux. Your local network, services on
localhostand cloud metadata addresses are refused; the internet still works forgit,curl,npm,pip, Python and Node. - The macOS sandbox no longer lets a command read your clipboard, list your keychains, or check whether files exist outside what it was granted.
Fixed
- Picking
hardenedorairgappedand restarting no longer showscustom. The memory cap was lost on every reload, so those presets came back without it. A memory cap or/tmpsize you set yourself was dropped the same way. If an older build saved one of these presets for you, pick it once more. - Picking
permissiveno longer showscustomstraight away. - Under the macOS sandbox,
/usr/bin/git,ccandpython3run again instead of failing at startup. - A command refused by the sandbox proxy now gets the
[sandbox]note, so the agent stops retrying it.
v0.9.45 · 2026-11-03
Fixed
- macOS builds again. 0.9.44 shipped without macOS binaries: release
builds moved to
-Os, and with GCC on macOS that made the static link fail on duplicate libstdc++ symbols. macOS GCC builds stay on-O3. macOS users get everything listed under 0.9.44 in this release. - A cancelled release no longer pushes a Homebrew formula with error text where the checksums should be.
- The same model id on two providers is now two models. Starring Groq's gpt-oss no longer stars OpenRouter's, and forcing reasoning on one gateway's copy (^E) no longer flips every provider serving that id. Favorites and reasoning overrides saved by older versions still apply.
- ^E on a row that isn't the active model no longer changes the active model's reasoning tier.
- Switching providers no longer carries the old provider's model-list error onto the new one.
- A custom host set as the provider in
settings.jsonby hand now shows its models instead of "sign in" once it answers. - Smart Mode routing and subagents on another provider read that provider's model facts, not the active one's.
v0.9.44 · 2026-11-03
Changed
- Smaller release binary: release builds are compiled for size (
-Os), which cut the compiled code by about 31%. The render path in maya keeps-O3. Build with-DAGENTTY_OPTIMIZE_SIZE=OFFto keep-O3everywhere. - Faster startup: the static Linux binary no longer registers every
unwind entry before
main(half ofagentty --version, ~1 ms to ~0.5 ms), and OpenSSL no longer readsopenssl.cnfat launch. - Reasoning off is now actually sent. Leaving the field out didn't stop
Qwen3, DeepSeek V3.1 or gpt-5.1+ from thinking, so off goes out as
reasoning_effort: "none", OpenRouterreasoning.enabled=false, Ollamathink:false, orenable_thinking=falseon custom hosts. A host that rejects these is remembered and the turn is resent. Models that always reason no longer offer off.agentty run --effort offworks.
Fixed
- A custom host whose
/v1/modelsfailed (e.g. a 401) looked empty and kept Claude's model list, so picking a model sent a Claude id to it. The error is now shown in the picker, and startup loads the active provider's own catalog. - A message sent while the Anthropic token check was running could stay queued forever.
- The provider picker and account list no longer show a key the host refused as ready.
- Sending with no model after a failed model list now says why (e.g. the host's 401) instead of "no model selected".
- A custom host with no saved model starts on a chat model with a usable
window, not whatever
/v1/modelslists first (an embedding or 4k model). - A model with a small window (e.g. 4k on vLLM) no longer gets a 400 for asking more output tokens than it can hold.
- A debug build no longer replaces itself with the release binary via auto-update.
v0.9.43 · 2026-11-03
Added
- Appearance → Scrollback: how much history is redrawn into the
terminal when a thread opens or the window resizes. auto (the default)
matches your terminal's own scrollback length, read from tmux, zellij,
screen, kitty, WezTerm, Alacritty, foot, Ghostty, Konsole, xfce4-terminal,
GNOME Terminal, Windows Terminal, the Windows console, iTerm2,
Terminal.app or VS Code; tiny, small, big and full are fixed
sizes.
AGENTTY_REPLAY_ROWSstill overrides it. AGENTTY_STARTUP_TRACE=<file>writes a timestamp for each startup stage.
Changed
- Opening a long thread uses far less memory: a 10 MB thread took ~670 MB, now ~120–160 MB (debug build). The redraw no longer keeps render data it can't reuse, and freed memory goes straight back to the OS.
- Faster startup: the TLS certificate bundle is read on the first
connection instead of at launch, tool definitions are built when first
used, account files are read once instead of once per provider, tmux is
asked once instead of four times, and the startup terminal queries go
out together (one round-trip over SSH, not two).
agentty --versionwent from ~27 ms to ~4 ms (debug build).
Fixed
AGENTTY_NO_SSH_THROTTLEandAGENTTY_FORCE_REMOTEare documented as doing nothing: since 0.9.42 SSH doesn't change rendering. Both are still accepted.
v0.9.42 · 2026-11-02
Fixed
- Over SSH, the end of a reply animates again instead of appearing all at once. SSH used to turn off the end-of-turn glide and slow screen updates to 80 ms, so a reply that arrived in one burst pasted in a single frame. Set Motion to Off to turn the animation off.
- ^/ opens the model picker under tmux with extended-keys on.
v0.9.41 · 2026-11-02
Changed
- OpenRouter: reasoning models keep their reasoning between tool
calls (
reasoning_detailsare saved with the thread and sent back, but not foranthropic/*models). Claude through OpenRouter now uses prompt caching. Effort is sent as OpenRouter'sreasoning.effort, so it reaches every model, and a conversation stays on one backend so its cache holds. - Gemini 3: tool calls keep their thought signature and send it back, so multi-step tool use no longer fails with a 400.
- Copilot: only the messages you type count as premium requests; tool result rounds are marked as such.
- ChatGPT sign-in: a rejected token is refreshed and the request sent again once. A login that's gone for good says why (expired, refreshed elsewhere, or revoked). Tokens refresh 5 minutes early and at least every 8 days. Login falls back to port 1457 when 1455 is busy.
- Opus 5 and Haiku 5.5 have thinking turned off when effort is off.
Fixed
- Every 5xx is retried; a plain 500 used to end the turn.
- Billing errors are never retried, even when they come as a 429.
- A reply cut off in transit is retried instead of quietly stopping half way.
- Saved reasoning the server can't read anymore is dropped and the request sent again.
- When an "input too long" error gives the model's real limit, agentty uses it and resends trimmed.
- Refusals and safety-filter stops show as refusals.
- If a host rejects one of the new optional fields, agentty remembers that for the host and leaves it out.
v0.9.40 · 2026-11-01
Added
- Continue your Codex and Claude Code conversations. They show up in
the thread list (Ctrl+J), marked
↗with the tool's name. Enter brings one in as an agentty thread you can keep talking in, on any model. Tool calls show with agentty's own cards (Codex patches with the diff it applied), readable reasoning, token counts and compactions carry over, and encrypted or signed reasoning is dropped. If you go back to the other tool and carry on, opening it again here picks that up and keeps your agentty turns after it. A→ continued in agenttyline marks where agentty took over. The other tool's files are never changed. Turn the list off in Appearance → Codex & Claude sessions. agentty sessionslists those sessions;--dump Nshows how one reads as an agentty thread.agentty mcp import --from codexcopies MCP servers from Codex'sconfig.toml. Secrets held in environment variables aren't written to disk; the import says which server needs them.- Thread list: Tab cycles all → this folder → Codex & Claude, Shift+Tab goes back, and empty lists are skipped. Shift+↑/↓ jump to the top and bottom, like Home/End, and the hint row lists them.
Changed
CLAUDE.mdis read where Claude Code keeps it:~/.claude/CLAUDE.md(or$CLAUDE_CONFIG_DIR), plus./.claude/CLAUDE.mdnext to./CLAUDE.md.~/CLAUDE.mdstill works when the new one is missing.~/.codex/AGENTS.md(or$CODEX_HOME) is used as global guidance when there's no~/.agentty/AGENTS.mdor~/.agents/AGENTS.md.- MCP servers honour
cwdfrommcp.json.
v0.9.39 · 2026-11-01
Fixed
- Resizing the terminal keeps the whole conversation in scrollback. A
width change (dragging the window edge, a cmux or tmux split, a sidebar
opening) wipes the terminal's scrollback, because every wrapped line is
wrong at the new width. agentty used to repaint only the last few
screens, so older turns were gone until you reopened the thread. Now the
whole conversation is printed back, rewrapped to the new width, in the
same frame.
- Dragging an edge replays once, at the final width.
- A resize during a reply replays again once that reply finishes, so it is rewrapped too.
- There's no cap: the terminal keeps what its own scrollback setting
allows.
AGENTTY_REPLAY_ROWSsets a limit;0turns replay off.
- Opening a thread shows all of it in scrollback, not just the last few screens. Switching back to a recently opened thread reuses what was built, so it's quick.
v0.9.38 · 2026-10-29
Fixed
- One bad MCP tool no longer breaks every request. A tool whose schema the API would reject (an invalid JSON Schema, a property name with a space) used to make every request fail with a 400, so one badly written server took agentty down. Now that tool is skipped, the Plugins pane shows it as skipped with the reason, the model is told why, and the server's other tools keep working.
- MCP tool names longer than 64 characters are shortened with a short hash so OpenAI-style providers accept them.
- MCP schemas that some providers reject are cleaned up before sending:
root
anyOf/oneOf/allOf,$ref,typearrays, old-draft spellings, and very large schemas. - A long thread that had used more than 128 tools no longer goes over
OpenAI's tool cap. The most recently used ones stay loaded; the rest are
found again with
tool_search. - Sandboxed hooks and ACP terminal commands work on macOS. They ran outside the sandbox's supervision and came back as exit 128 with no output.
Changed
- Large MCP tool results are saved to
.agentty/tool-results/and the model gets the path and a preview, so it canreadthe rest instead of losing the middle to a trim. - Each MCP server's own instructions are shown to the model next to that
server in
tool_search, so it knows what to search for. - Small local models get their tools loaded up front instead of relying
on
tool_search.
v0.9.37 · 2026-10-28
Changed
- Every MCP tool is usable, however many a server has (#98). agentty
used to send at most 16 MCP tools per request, picked by matching words
in your message, so a 75-tool server lost most of its tools, and a
different language or a typo picked the wrong ones. Now:
- Every enabled tool is callable by name, always.
- Tools load if they fit (MCP tool schemas up to 10% of the context, and
at most 128 tools on OpenAI-style providers); the rest are found by the
model with the new
tool_searchtool, which handles typos, word forms and server names. A found tool stays loaded for the rest of the thread. - On Anthropic, on-demand tools use the API's own deferred loading, so loading one doesn't break the prompt cache. This works on subscription (OAuth) accounts too.
- Settings → General → MCP tool loading: auto, all, or on demand.
AGENTTY_MCP_TOOL_BUDGETstill caps tools per request. - The Plugins pane (also
/tools) shows how many tools are loaded and on demand, what they cost, and marks each tool.ppins a tool so it is always loaded. - Each server is one row (
→shows its tools,←hides them), with what it contributes: tool count, how many are on demand, pinned, off. The focused tool shows its description, and the footer only lists keys that work on the row you're on.
mcp_read_resourceandmcp_get_promptare nowmcp__resources__readandmcp__prompts__get. Anthropic's subscription endpoint rejects any tool namedmcp_<letter>...; the old names still work when called.
Fixed
- Long replies from a local model server no longer die at 30 minutes
(#108). Streams from llama.cpp, Ollama, vLLM and other plain-http servers
had a 30-minute total cap meant for hosted APIs, so a slow model writing a
long reply was cut off mid-answer with
operation deadline exceeded. Local servers now have no total cap; 10 minutes of silence still ends a stuck stream, and Esc still cancels. - The error for a local server that answered and then went quiet no longer asks whether the server is running.
- The Sandbox pane on macOS lets you set Access to
portsand shows Scope IPC as on. It was gating both on a Linux-only kernel feature.
v0.9.36 · 2026-10-27
Added
- Routing gateways keep a conversation on the backend that served it
(#118). Every request on an OpenAI-compatible provider now carries
x-session-idwith the thread id, which bifrost, OpenRouter and similar gateways use for sticky routing. With a fallback chain, a thread that fell through to a later model goes straight there on the next turn instead of waiting through the chain again. Titles, compaction, subagents,agentty runand ACP sessions all send the same id as the thread they belong to.
Fixed
- Models that need reasoning on every earlier turn work after a model
switch (#117). Beam (and similar strict thinking models) rejected a
conversation another model had started, because those turns had no
reasoning_content. agentty now learns this from the 400, remembers it for that host and model, and retries the turn with the field filled in. Beam's known names are covered from the first request.
v0.9.35 · 2026-10-26
Fixed
- Models that need their earlier reasoning back no longer get stuck on
HTTP 400 (#117). On OpenAI-compatible providers agentty now sends each
turn's reasoning back under the field it arrived in (
reasoning_contentorreasoning), the way GitHub's Copilot CLI does. Reasoning is kept even when hidden, since the next request needs it. - Stopping an external ACP agent no longer pulls it out from under a turn that is still running. The last user of the agent now tears it down.
- Reloading MCP plugins no longer leaks a copy of the whole tool catalog each time. Old catalogs and old user-agent lists are freed once nothing uses them.
- Switching themes twice in a row can no longer leave the old palette stuck.
Changed
- More of the concurrency rules are checked by the compiler instead of by
review: shared objects must be thread-safe, blocking waits need proof that
no lock is held, and only the event loop can mark a thread as the loop.
See
docs/design/concurrency-audit.md.
v0.9.34 · 2026-10-26
Fixed
- The Hardened and Airgapped sandbox presets run commands again. Their
strict syscall mode used a profile with no
execve, so every command failed withspawn failed: execve (errno 1). - The host-readable filesystem scope runs commands again. Every spawn
failed with
bind_target: touch (errno 13). - Clearing the allowed ports no longer opens the whole network. Emptying
the list used to switch Access to
full, and closing the port editor could loosennonetoportseven with nothing changed. - On macOS, the sandbox-exec fallback now hides
~/.sshand the other credential files claybin masks. It used to allow reading everything. - Sandbox settings that did nothing now apply or say why they can't: W^X with the syscall filter off, close inherited fds = off, and Scope IPC (always on with landlock abi 6).
- Read, write and masked paths written as
~/...or relative paths now work; they used to grant nothing. - An emptied port list stays empty after a restart, and one bad value in the
sandbox section of
settings.jsonno longer drops every setting after it. - A port that isn't one is flagged while you type instead of vanishing. The port help no longer says forgetting 53 breaks everything: ports mode only filters outgoing TCP.
v0.9.33 · 2026-10-24
Fixed
- Parallel tool calls over ACP keep their own arguments. With an
OpenAI-style model that sends every call's end at the end of the turn, all
calls but the last ran with
{}(#116). - Tools an external ACP agent already ran aren't run again. Subagents and
agentty acpran every delegated tool call a second time on the host, and subagents ran them with empty arguments. - A search host typed with an octet missing (
127.0.0) is now reported as invalid instead of quietly falling back to keyword search. - A
write's live preview no longer shows the next JSON field stuck onto the file content. - Very long numbers in model ids, tool output and diff headers no longer overflow.
Changed
- The retrieval docs start with a two-command quick start, and claims that had drifted from the code are fixed.
v0.9.32 · 2026-10-23
Fixed
- The Windows release binary starts again. It quit at launch with
0xC0000409 before drawing anything:
setvbufwith size 0 is legal C but the MSVC runtime rejects it and kills the process (#115, thanks @davidwed). CI now launches the MSVC build in a real console on every push, so a crash at startup can't ship again. - Retrieval no longer aborts on a cold index, and never waits on the embedder while holding the index lock (#112, #114).
- A
/prompt typed without its arguments says so. An MCP prompt with a required argument, sent as just/explore_codebase, used to hand the server an incomplete request and show its rejection: "Missing required prompt arguments", which names neither the argument nor the shape of the line. It now answers with the argument and the line to type.
Changed
search_codefinds the right file much more often. On a judged set of questions about agentty's own code it now puts the right file first about 60-80% of the time, up from about 35%. Identifiers are split into words (onClipboardReadmatches "clipboard read"), results favour source over tests and docs, and a header lifts its.cpp.- Better embeddings with no setup. With Ollama on Auto, agentty uses
qwen3-embedding:0.6bwhen it's pulled (elsenomic-embed-textas before), and sends models the query/document prefixes they were trained with. Ollama users also stop silently falling back to keyword search while the model loads. - A saved search index is updated in place after edits instead of being rebuilt: a one-file change went from minutes to seconds.
Added
- Ctrl+V pastes images and files over ssh, in any terminal. Run
agentty paste setuponce on the machine you type on. Every ssh session then carries a socket back to a small clipboard agent there, so Ctrl+V on the server reads your laptop's clipboard: screenshots, copied files, text. It works through tmux and several hops, and needs nothing on the server but agentty. The reader is richpaste, now a submodule. It talks to Wayland, X11, macOS and Windows directly, sowl-paste,xclipandpngpasteare no longer needed. - Copied files paste. A small text file goes in as its text; any other
file is saved under
~/.agentty/paste/pastedand its path is typed in. - Settings → Paste,
agentty paste config, andAGENTTY_PASTE_*variables: turn each route on or off, force the terminal mode, set the size limits and the save folder. All insettings.jsonunder"paste". agentty paste: print the clipboard;doctorshows the route a paste takes and why;howto,page,encodeanddecodeturn an image into one line of text for terminals that never hand over the clipboard. The page is also at agentty.org/paste.
Changed
agentty airgap --clipboard-relayforwards the clipboard agent instead of sshing back into the laptop, so the laptop no longer needs sshd or ssh-agent.- Windows: copying uses the Win32 clipboard directly, so non-ASCII text no
longer gets mangled by
clip.exe.
Removed
AGENTTY_CLIPBOARD_CMD.agentty paste setupreplaces it.
Fixed
- The Web Search pane said "unsaved" after a change it had already saved.
v0.9.31 · 2026-10-21
Fixed
- Windows: a child process no longer holds another one's pipes open. Every spawn used to hand the new child every inheritable handle agentty had, so two commands started at once could keep each other's output open, and a finished command looked like it was still running. Children now get their own stdin, stdout and stderr and nothing else. airgap and the clipboard went around this path; they now use it too.
- Windows: the Sandbox pane tells the truth. It said "no sandbox backend on this platform" while commands were confined. It now shows the real walls: appcontainer filesystem, job object memory and process caps.
- Linux: a stale watch can't silence a new one. If an fd was closed while still watched and its number came back, the old watch's cleanup removed the new one, and whatever was waiting on it never woke up.
- Quit is safe when a background thread is stuck. If a thread ignored shutdown past its grace, agentty used to run static destructors under it, which could crash on the way out. It now exits without them.
Changed
- The docs say the Windows sandbox is live and bwrap is gone (#111, thanks @davidwed).
v0.9.30 · 2026-10-20
Fixed
- Shell commands no longer wait out their timeout. On a Linux host
where
pidfd_openis missing (kernel older than 5.3) or blocked (seccomp, some containers), agentty never saw a command finish. Every call ran until its timeout even though the output came back right away. The exit is now watched another way there, and a command that can't be watched fails at once instead of hanging. - Windows: agentty no longer dies on the first prompt in a git repo. Checkpoints held a lock across their git calls, which aborted on Windows. Each checkpoint now uses its own scratch index, and stale ones left by a killed process are cleaned up.
- Ctrl+V no longer freezes the UI while
wl-pasteorxclipruns. - Toggling a plugin works again after a reload that failed. Before, every later toggle silently did nothing.
- An MCP call queued behind another call on the same server now stops when you cancel it.
- Deleting a thread right after it was saved no longer brings it back.
Changed
- Faster on long threads. Each tool round used to copy the whole thread on the UI thread to save it, about 20 to 30 ms on a few thousand messages. Saves now copy only what changed.
- Smoother with chatty commands. Live output from a long command, like
a build or
find /, is cut to the visible part before it reaches the UI, instead of the UI scanning all of it ten times a second.
v0.9.29 · 2026-10-19
Added
- ^J shows which thread is which. A framed preview sits under the search box with the thread's title, age, message count, folder, what you first asked and its latest turns. ← → step through turns, Shift+← Shift+→ jump to the first or latest. The list groups threads by day, shows short ages, and search matches your first message too. Tab narrows the list to the folder you started agentty in. Turn the preview off in Settings > Appearance > Thread preview.
- Turn off auto-compaction. Settings > General > Auto-compact, or
"auto_compact": falseinsettings.json. Off, only/compactsummarizes; requests are still trimmed to fit the window.
Fixed
- Windows build. v0.9.28 shipped without the Windows binary: the
sandbox source didn't compile. It builds again, so the
.exe, the MSI, winget and scoop are back. - Names that were model errors. A thread auto-titled "(the model returned an empty or unparseable response)" now shows your first message instead.
- OpenRouter gets
x-openrouter-categories: cli-agentwith the attribution headers.
Changed
- The repo and its libraries moved to agentty-org. Old links redirect; self-update, install.sh and the packages use the new path.
v0.9.28 · 2026-10-19
Added
- Threads name themselves. After the first reply, the cheap utility
model writes a short title (3 to 6 words) and it replaces the first-line
name, the way ChatGPT and Claude name a chat. A thread that began with a
paste no longer stays
[Pasted text .... It runs once per thread, off the UI thread, and never replaces a name you chose. Turn it off with"auto_title": falseinsettings.json. - Rename a thread from the thread list. Ctrl+R in the Ctrl+J
list opens the highlighted thread's title for editing, so a thread that
began with a paste no longer has to stay
[Pasted text .... The arrow keys, Home/End, Backspace and Delete edit it, Enter saves and Esc cancels. A title is one line of up to 60 bytes, and the thread keeps its place in the list. - Serply as a web search service.
serply-apijoins the API key services in Settings > Web Search: Google results from Serply (docs), with Country and Freshness, up to 10 results a search. Country defaults to United States. The key comes from the key store orAGENTTY_WEB_SEARCH_KEY_SERPLY_API. - A
/menu in the composer. Typing/used to open the Ctrl+K palette and take your text away. Now/is just text, and a menu floats above the composer listing built-in actions (/new,/compact,/model,/rename...), your commands, skills and MCP prompts (server:prompt). It filters as you type, Tab fills in the name, Enter runs only an exact name, and Esc hides the menu and keeps the text. One resolver handles/in the TUI, ACP andagentty run. - The sandbox works on Windows (#109). The claybin backend now runs
commands under an AppContainer with a restricted token and a job object,
instead of only compiling the policy. Cancel and timeouts kill the whole
job, so a child left running (
pinginsidecmd) can't hold the output open: cancellingping -n 21took 19.9 s and now takes 0.35 s. The sandbox pane no longer says claybin can't start while it's running. Thanks to @davidwed. - The window title shows the workspace, e.g.
agentty ~/myproject, so several agentty windows can be told apart.
Fixed
- Custom hosts without a key. An https custom host (llama.cpp on RunPod, a tunnel, LM Studio) always asked for a key. Every custom host is probed first now, and the key prompt only opens on a 401. The status badge no longer shows “sign in” on a keyless host.
- Thread titles from thinking models. They used the whole title budget on reasoning and the thread got named “(the model returned an empty or unparseable response)”. Titles now ask custom hosts not to think and drop empty or cut-off replies.
- Auto-titling gaps. Forks keep their
Fork:name, a failed title request isn't retried every turn, old chats aren't renamed when you continue them, and saving an empty Ctrl+R draft clears your name. - Zed shows the profile picker. The permission mode now goes out as a config option on every ACP connection.
- Cancelling an external MCP tool call works. It used to do nothing until the 60 s timeout. A crash when an MCP connection dropped while its reader ran a callback is fixed too.
v0.9.27 · 2026-10-17
Fixed
- Gemini quota errors show at once (#102). Google sends no
Retry-Afterheader; the wait is in the error body (retryDelay, and “Please retry in 1h40m” in the message). agentty only read the header, so a daily quota looked like a short rate limit and was retried for about two minutes before showing the same error. Every provider now falls back to the body, and a wait over 15 minutes is shown straight away. Compaction follows the same rule. - Local models: subagents and
agentty runget the local prompt (#91). The main turn already gave a self-hosted model the short prompt that says to do the work with tools and never refuse a big task. Subagents andagentty runused the hosted prompt and never got those rules, so a small model there could still refuse. All three now share one rule for which prompt a model gets, including Ollama's native API. - “Could not process image” no longer kills the turn. When a provider
rejects an image, agentty drops the images and retries. It only looked
at images you pasted, so a
.pngopened by thereadtool was sent again on every retry and the turn failed each time. Tool-result images are now removed too. - ^C during a slow OAuth token refresh no longer crashes. It aborted with SIGABRT, seen on Termux.
- ^C no longer hangs for 30 s+ with MCP servers configured. Looking up a tool could start every MCP server on the UI thread; only the startup warm-up connects them now.
- Concurrency. A set of races, each with a test:
- Starting a new thread (
^N), switching threads, or a failed token refresh now stops the reply that was streaming, and its tools. Before, it kept running and could write into the next turn. - A stream retry stops the previous attempt first.
- A thread that finishes loading after you pressed
^Nno longer replaces the new thread. - Pressing Enter while a thread loads or a checkpoint rewind runs keeps your draft instead of sending it into the wrong place.
- The pre-turn context lookup only answers the turn that asked for it, so Esc and a quick new prompt can't start two streams.
- Copilot and Kimi model lists fetched before a cache clear no longer come back after it.
- A settings read that overlaps another agentty instance's save no longer caches the old settings.
- Two ACP
session/loadcalls for one session no longer drop the first. - maya's tmux capability cache is locked; it was read on the UI thread while the clipboard check refreshed it.
- Starting a new thread (
- The sandbox (claybin) builds on Termux/Android again (
ioctlis overloaded on bionic). - Sandbox masks always win. The trust-handoff binds could put
~/.agentty/memory.jsonland the credentials back on top of their masks, so a sandboxed command could read them. Masked paths are kept out of the handoff and the masks are applied after it. The masked list now also covers Codex/Claude/Copilot sign-ins, keyrings, browser profiles, shell and REPL histories and~/.agentty/credentials/. Login, session and PATH files (.profile, fish config, systemd user units,~/.local/bin, …) are read-only.socket()is limited to unix/inet/inet6, andfake_hostname=falsekeeps the real name. - A slow post_tool hook no longer holds up the turn. The tool result was sent only after every post_tool hook finished (up to 30 s each), so the card stayed on “running”. The result goes out first now.
- More concurrency fixes:
- Two saves racing a flush could run two thread-save workers at once. The flush now waits for the queue instead of restarting the worker.
- An MCP server's capabilities were read while a reconnect rewrote them. A reconnect also no longer shows the server as “not running” for a moment, or tears down a connection another call just made.
- When an MCP or ACP peer's pipe breaks, calls waiting on it fail at once instead of waiting for their timeout.
Changed
- Sleeping or waiting while holding a lock is now a compile error rather than an abort at runtime.
- Two new race tests run in the TSan CI job:
settings_cache_race_testandgen_cache_race_test.
v0.9.26 · 2026-10-16
Added
- Web Search: more settings per service. Every new setting changes which results come back, not what a search costs. Tavily (both tiers) gains Exact phrases, Language match, Country and Safe search, and Tavily Free gains Depth. Brave API gains Spell correction. Firecrawl gains Safe search, Sort (newest first) and Location. Exa gains Safe search and Country, and Perplexity gains Mode. Brave API also takes a Goggle: the URL of a hosted rules file that re-ranks its results. Goggle and Location are typed rows, saved only when the service would accept them.
Changed
- Web Search: dials list every documented value. Past hour on Firecrawl, Serper and Exa. All six Exa modes, including deep-lite and deep-reasoning (deep-reasoning can take 12-40 seconds, longer than the 30-second request limit). Brave's All regions country. All 68 DuckDuckGo regions. Firecrawl's categories are now Developer, Research, PDF and Government; GitHub is gone from Firecrawl's API, so a saved GitHub choice is no longer sent.
- Web Search: Firecrawl's Research category keeps working after 2026-11-16. From that date Firecrawl answers it with research papers instead of web pages. Each paper is shown with a link to its page on arXiv, PubMed, PubMed Central or doi.org, or to Firecrawl's own page for the paper when it has none of those, and its abstract as the snippet.
- Web Search: Never return reaches Perplexity's own domain filter.
Excluded sites used to be added to Perplexity searches as
-site:words, which Perplexity does not document. They are now sent through its documented exclude filter, as for Tavily, Firecrawl and Exa. Perplexity takes up to 20; any more are still added as-site:. - A model you pick stays picked. When a provider's model list arrived,
a model it didn't list by exact name (a
[1m]variant, another spelling, a gateway that lists only some models) was swapped for the list's first model and saved that way. Now it's kept, with a one-time note; only a[1m]window your account was refused falls back, to its own base model. - One turn runs on one model. A model picked while a turn is running now takes effect when the turn ends. Before, the rest of the turn (tool steps, retries) switched over midway, and a provider switch could send the old provider's model and key to the new one.
Fixed
- The agent re-reading the same file over and over (#104). After reading a whole file, a read of part of it came back from the cache as the whole file again, so the model never saw the lines it asked for and kept asking.
- The loop guard stopped legitimate work. It counted identical calls across the whole turn, so re-reading a screenshot after each rebuild, or polling a running job, got cut off. Now only back-to-back calls with the same result count.
- Images from tools reach OpenAI-compatible models. A screenshot read by a tool was never sent on the OpenAI chat API; the model saw only a note that an image was attached.
- Several agentty windows no longer lose each other's changes. Accounts, saved keys, OAuth tokens (Claude, Codex, Copilot, Kimi, MCP), MCP config, memory, approvals and thread saves are each changed under a cross-process lock that gives up after 5 seconds if another window is stuck. Secrets are created private (0600) instead of being tightened after writing.
- Saving a turn is about twice as fast on long threads.
v0.9.25 · 2026-10-16
Changed
- Tools work like Zed's agent.
readnumbers every line (cat -nstyle), so the model can point at lines and won't mistake the numbers for file text;editstrips them if a model pastes them intoold_text. Tools no longer echodisplay_descriptionback as the first line of their output, which wasted tokens on every call. - Waits run one at a time. Several
process_pollorshell … sleepcalls in one batch used to start together, so the sleeps didn't add up, and a poll could run before theprocess_startit was checking on.
Fixed
.env, keys and tokens can't be read by the file tools. The sandbox masked them for commands, butreadreturned them in full.read,outline,read_filter,json_queryand agrepon that path now refuse them.- Tool cards show true numbers. A ranged read says
131–135 of 349instead of349 lines; a cached read no longer shifts every line number by one; grep's card shows the lines that matched, not the top of the context block; read_filter, extract, aggregate and a capped glob report their real counts; git_status names the branch on a repo with no commits. - Edits sent as a JSON string still apply, and an edit whose first line lost its indent (copied from mid-line) is reindented correctly.
- Builds on Termux / Android. The sandbox and the event loop now build their Linux code there too.
v0.9.24 · 2026-10-16
Fixed
- Reading a file by symbol no longer breaks later reads of it. A
read symbol=Xwas remembered as if it covered the whole file, so every later line-range read returned the symbol's body as[cached]instead of the lines asked for, and the model fell back tosed. - Sandboxed commands can signal themselves. Under the sandbox a command
ran as pid 1 of its own namespace, which ignores signals it has no handler
for, so
kill -9 $$was ignored and a script that killed itself reported success. It now runs behind a small parent like bubblewrap does, and a sandboxed command can no longer read agentty's own command line. process_pollkeeps the newest output. On a busy process the reply was cut from the end to fit its size limit, dropping the latest lines.- Streamed tool arguments always parse. A stream cut mid-key, mid-word, mid-number or mid-character produced JSON nothing could read, so the live tool card lost its fields.
v0.9.23 · 2026-10-16
Added
- Favorites lead the model picker. Starred models sit in their own section at the top, across every provider, ahead of recents and in search too. (#99)
- Search every setting from the Settings hub. Type to find a setting in RAG, Smart Mode, Appearance, Sandbox or Web Search; Enter opens that pane on that row.
- Threads can be filtered by title. Letters now type into the filter, so
new and delete are
^Nand^D. - Plugins, Commands, Subagents and Hooks are reachable again from the Settings hub.
Fixed
- Context gauge on OpenAI-style servers and Codex. Cached tokens were counted twice, so a warm 33k prompt on Strata, llama.cpp, vLLM or ChatGPT/Codex read as 65k. The gauge also shows the right number after switching or forking a thread and after a compaction. (#96)
- llama.cpp picked as Ollama shows its real context window. A server started with 131k read as Ollama's 32k cap. (#73)
- Number fields take any number. Clearing a 1–65535 port and typing 8080 gave 18080, because the value was clamped on every key. It is now clamped once, when the edit ends. (#97)
- The caret shows in Konsole. The cursor vanished while typing until the window was clicked. Form fields' caret now blinks too. (#82)
- Starring a model sticks. A new favorite was dropped the next time settings saved.
- Settings save and paste works. RAG toggles, sliders and choices never saved; Smart Mode, Appearance and Sandbox ended an edit after one key; paste went to the hidden composer. Typing and paste now drop control characters and broken UTF-8, and a form's cursor never lands on a section header.
- Every list wraps the same way: ↓ on the last row goes to the first.
- The models.dev load no longer pins a core at startup, and a bad field in it no longer drops the whole catalog.
v0.9.22 · 2026-10-15
Fixed
- Sandboxed commands get the environment the tool asked for. Under
claybin (the default) a tool's env never reached the child, which ran with
agentty's own instead. Every non-interactive setting the tools rely on
(
GIT_EDITOR=true,PAGER=cat,GIT_TERMINAL_PROMPT=0,NO_COLOR, the shell tool'senvargument) was silently dropped, so git could open an editor or a pager and hang. - Killing a process you started works in the sandbox. On macOS a
sandboxed command could only signal itself, so
timeout,kill %1and builds that cancel jobs failed with "Operation not permitted". On Linuxkillof the command's own process was refused and background sessions (process_start) failed brokered syscalls outright. Signals to anything outside the sandbox are still denied. - MCP: older HTTP servers connect again. A server that rejects the 2026-07-28 protocol with a plain-text 400 made the connection hang until the handshake timed out. agentty now fails over at once and connects with 2025-11-25. (#95)
- Background processes: concurrent
process_pollcalls get disjoint output, stopping or dropping a session never blocks, and a child that survives SIGKILL is given up on after 5 s instead of waiting up to a day. - Use-after-free fixes on MCP and ACP callback threads, when a
list_changed, progress or elicitation callback arrived after its connection or server was gone. - A memory corruption in the streaming markdown view that crashed on exit with clang builds: after the view moved, its redraw flag was written through a stale pointer into freed stack memory.
- Sandboxed spawns no longer hang for 30 s on glibc 2.41+, and spawn setup is no longer quadratic in the number of protected paths.
- mcp-cpp tool fixes: crashes on huge regex arguments, CRLF corruption in
apply_patch, edit count-mismatch reporting, git option injection, and editor hangs.
Performance
- Faster shell calls in large workspaces: the protected-path walk runs
once per call instead of twice, skips agentty's own data dirs and
symlinks, and binds
.git/hooksas one directory. With about 4000 protected paths a shell call went from 808 ms to 500 ms.
v0.9.21 · 2026-10-14
Fixed
- 0.9.20 shipped without macOS binaries. The static macOS link failed
on undefined
iconvsymbols: one timestamp in the ACP server was formatted with chronostd::format, which pulls libstdc++'s locale encoding conversion, and macOS keeps iconv in its own system library. The timestamp is now formatted without it, and the macOS build links the systemlibiconvas a backstop. Homebrew on macOS failed to install 0.9.20 as a result; 0.9.21 restores it.
v0.9.20 · 2026-10-14
Added
-
Zed / JetBrains: pick model and thinking per session. The model dropdown lists every model on every signed-in provider, grouped by provider, and routes the session there. A Thinking control sets reasoning effort from the levels the model actually takes, and a Show thinking toggle hides or streams its reasoning. All of it comes back in every session/new, load, resume and set_config_option result, so editors that only read results (JetBrains) get it too. (#80)
-
ACP 1.11:
noticeupdates (context nearly full, provider errors),compaction_update/compaction_summary_chunkfor/compact, and boolean config options, each only for editors that advertise them. -
Zed: live terminals for shell commands. Output streams into a real terminal in the tool card with the exit code, while the command still runs in agentty's sandbox.
-
Editor MCP servers. Servers configured in Zed or JetBrains are passed in with each session and their tools reach the model (stdio, HTTP, SSE).
-
Sign in from the editor. With no credentials agentty offers a terminal login; after
agentty loginfinishes, it picks up the new credentials without restarting. -
Each ACP session works in its own folder, plus the editor's extra workspace folders (
additionalDirectories): tools, shell commands and the sandbox follow the session, not where the agent was launched. -
MCP elicitation reaches the editor. A server asking the user for input mid-call becomes the editor's form (ACP
elicitation/create). -
JetBrains AIR
diffPatch: edits as one exact git patch each. -
ACP: live progress in every tool card, automatic retries for overloaded or rate-limited providers before anything streamed, and MCP server prompts as
/commands. -
ACP prompts queue per session. A prompt sent mid-turn waits and then runs; cancel stops the running turn and the queued ones, and withdraws an open permission dialog or MCP form with
$/cancel_request. -
URL elicitation: an MCP server can send the user to a link (OAuth and the like) through the editor, which asks before opening it.
-
JetBrains AIR hints: permission headings, mode kinds, command titles, subagent and skill tags, and compaction token counts.
-
Subagent runs open in Zed. Each
taskrun is saved as its own session and linked from its card, so Zed can show the subagent's transcript. -
session/fork, user slash commands and skills as real/commands, and permission prompts with "always reject". -
/compactand/newwork over ACP. They used to be sent to the model as plain prompts./compactrecords a summary so later turns send it instead of the full history;/newclears context in the same tab. -
session/listis newest first, withupdatedAt, and pages. -
tests/acp/run_acp_client.shdrivesagentty acpthe way Zed and JetBrains do and checks every message against the official ACP v1 schema. -
Every storage folder can move, by environment variable. Credentials (
AGENTTY_CREDENTIALS_DIR), approvals (AGENTTY_STATE_DIR), search indexes (AGENTTY_RAG_DIR, documented before but never read) and search feedback (AGENTTY_PROJECT_STATE_DIR) join threads, cache and logs. Storage is set by environment only; nothing in the app changes it. An index override shared by several projects gives each its own subfolder. -
Thread retention.
AGENTTY_THREADS_KEEP_DAYS=90deletes threads idle that long, once a day, along with blobs no other thread uses. Threads open in a running agentty are never touched. Unset keeps everything. -
agentty config move <dir> <path>moves a folder's data and prints theexportline to add. Refuses while any agentty runs (sessions hold a shared lock the kernel drops on crash), renames on the same disk, otherwise copies and checks file count and bytes before removing the original. -
agentty config doctorchecks every folder is usable, credentials are private, and storage variables are valid.agentty config cleanlists files old versions left behind (--yesdeletes them). -
Storage: one page for every file agentty writes, how long it stays, and how to move it.
-
Ctrl+K → Settings → Web Search: control overweb_search. The tool had one knob, the per-callcount, and the model chose it. There was no way to keep searches off for good, to stop a model asking for 0 or 500 results, or to keep a content farm out of every result list. The new pane has these rows:- Web search —
auto(the default) is how agentty behaved before the pane: the tool is offered and the model chooses the count.onapplies your counts below.offremoves the tool from the request and refuses any call to it (a replayed thread, an ACP client, a model that remembers it). It is not offered to other MCP clients throughagentty mcp-serveeither: agentty's settings govern the tools it serves. Rows a mode does not use are shown locked, with the reason, and keep their values for when you switch back. - Results per search (1–20) and Most results allowed (1–50). Locked
in
auto, where the model sets the count; they apply inon. A search returns at most one result page from the service that answers, and each service caps it (20 on Brave, Tavily, Serper and Perplexity; 30 on DuckDuckGo; 100 on Firecrawl and Exa), so a larger request is cut to that service's cap. - Never return — domains separated by spaces or commas, as typed or
pasted; URLs and
www.are reduced to the host. They are sent as-site:operators, or as the service's own domain filter where it has one, so the engine never returns an excluded site and its slot goes to another result — which filtering afterwards could not do. - Primary, Secondary, Fallback — which services answer, in order; the
first to succeed wins. Free services need no account, card or key
(Brave Free, DuckDuckGo Free, Tavily Free, Firecrawl Free);
API key services are the vendors' documented interfaces (Brave,
Tavily, Firecrawl, Exa, Serper, Perplexity). Defaults are Brave Free,
DuckDuckGo Free, Tavily Free. A key is pasted into the row under its slot
and stored encrypted — never in
settings.json— or supplied asAGENTTY_WEB_SEARCH_KEY_<SERVICE>. Each service shows up to three extra settings under its slot (freshness, region, category, ...), and none when it has none. A search that fails now says why for every service: blocked, rate limited, quota used up, key refused. - Language — sent to the services that take one.
Each row has an environment variable (
AGENTTY_WEB_SEARCH,_COUNT,_MAX,_EXCLUDE,_PRIMARY,_SECONDARY,_FALLBACK,_LANGUAGE) that wins over the saved value for the session and locks the row, without ever being written tosettings.json.AGENTTY_WEB_SEARCHtakesauto,onoroff, and the boolean spellings (0isoff,1isauto). See the configuration page.Startpage is gone: it now sends every automated request to a captcha. Kagi, Mojeek and Linkup are not offered yet, because their request and response formats could not be verified.
Turning search off removes only the native tool; the remaining tools keep catalog order, so the tools block (the head of the prompt-cache prefix) stays byte-stable once the setting is chosen. An MCP tool that happens to be called
web_searchis left alone.The settings list row says who answers first (
auto · Brave Free).The settings registry gains a third owner and a free-text row type to carry this;
owner()now classifies by the member pointer's class, since the old "Rag, otherwise Smart" test would have filed every search row under Smart. - Web search —
-
The trust-handoff gate now PREVENTS, not just reports. Host-trusted paths that exist —
.vscode/tasks.json,.git/hooks/*,.git/config,hooks.json— are bound read-only inside the sandbox, so a shell write to them fails with a read-only filesystem error instead of landing and being reported afterwards. They stay fully readable: git reads its own config on every invocation, so masking was never an option.Detection still runs on every host, because this wall needs a mount namespace and is simply absent where unprivileged user namespaces are denied. Prevention where possible, detection always. Skipped entirely when Trust handoff is set to Allow — if you've said those files are yours to edit, quietly making them read-only would be the setting lying to you.
Changed
-
agentty runis usable from scripts. stdout is only the answer now (noSubagent reportheader), failures print oneagentty run: <status>: <reason>line on stderr instead of an internal activity dump, and exit codes say what happened: 0 ok, 1 failed or out of turns, 2 bad usage, 3 provider/auth, 4 no such thread, 5 context window full, 124 timeout, 130/143 Ctrl-C/SIGTERM. New flags:--json,-o FILE,--max-turns,--timeout,-v. (#85) -
agentty run --events jsonlshows what the model thought. Besides tool calls it now streamsturn,reasoningandtextlines, and--effortturns thinking on for the run. (#81) -
agentty run --save/--resume ID|lastkeep a run as a thread and continue it later;--read-onlyand--no-networklock a run down for untrusted code (--no-networkneeds claybin and refuses to start without it). -
The sandbox-off banner fits the terminal instead of drawing at a fixed 74 columns.
-
--sandbox offnow prints a banner, not a line. It used to sit at the same visual weight assandbox: active (claybin)and scroll past before the first prompt. Being wrong about which wall is up is a cosmetic bug; being wrong about whether there is one at all is the whole machine.Drawn with maya rather than hand-rolled escape codes, so the amber comes from your theme's warning slot and stays legible on a light terminal. Falls back to an unstyled box when stderr is not a terminal or
NO_COLORis set — a log file gets the box drawing without the escape bytes.
Fixed
-
agentty runcrashed before its first request (abort, exit 134): the one-shot loop never handed its lock-order capability to the tool context, so the first provider call threw "tool callback outside a dispatched call". -
Exiting could hang forever when a code path skipped the final save flush: the background thread writer waited for work nobody would send, and its owner waited for it. It now stops itself at exit.
-
Groq and Gemini rejected every request with HTTP 400 over
prompt_cache_key. The field is now sent only to hosts known to take it (OpenAI, OpenRouter), and if any OpenAI-compatible host rejects an optional field, agentty drops it, remembers that for the host, and retries the same turn. (#93) -
The agent re-read the same file over and over. A repeat
readof an unchanged file returned only a pointer to the earlier result; once that result had left the context the model had nothing, so it read again. It now returns the content, tagged[cached]. (#92) -
A repeated failing tool call froze the run. Three identical failures ended the turn and left the agent idle until you typed. The first time, the model is now warned in the tool result and keeps going; the run only stops if it repeats the same call after the warning. (#90)
-
Local models pasted code or refused big tasks ("too large for a single response"). Local prompts now say to act with tools, that many steps are normal, and that a missing directory is not a reason to stop; llama.cpp or vLLM on another machine you run gets the local prompt too. Removing a path that is already gone now succeeds instead of showing a failure. (#91)
-
The TUI didn't start on Windows: agentty exited silently after creating
.agentty. It starts again, and if the terminal UI ever can't start, agentty now prints why and where the log is instead of exiting without a word. (#86) -
agentty run: Ctrl-C or SIGTERM left the running tool alive. agentty died and the sandboxed command kept going. The first signal now cancels the run and kills the tool; a second Ctrl-C exits at once.--timeoutalso kills a tool that is still running when time is up. -
A small local model filling its context window gave no reason.
agentty runnow sayscontext window full (25000 tokens, last prompt 24500)for both llama.cpp's 400 and a reply cut off by the window. (#85) -
A read-only subagent could still run a tool it wasn't offered if the model named it anyway. Tools are now checked when called, not only hidden from the list.
-
A reopened fork couldn't read its parent's transcript. The read access was only granted when the fork was made; it now comes back whenever the thread is opened (new session, thread list, ACP,
run --resume), and only for that one file instead of the whole threads directory. (#83) -
ACP: reopening a chat saved by the CLI failed with "no such session", because
session/loadonly read the old.jsonformat. (#77) -
Settings → Web Search: the API key row. A paste now lands on a focused, empty key row without typing a character first. Unfocused, the row reads
not set,✓ key saved, or● key from VARfor an environment key (it used to saynot settwice, orstored). Once a key is stored the row is locked until Remove key deletes it. -
ACP: a failed turn came back as
refusalwith the reason hidden in_meta. It is now an error carrying the provider's message. -
ACP:
session/loadreturned{}without the session's mode and model controls, so a reopened chat showed none. It now returns them, the same assession/new. -
ACP: a compacted thread sent its full history every turn, and thinking signatures were dropped, which broke Claude tool turns with thinking on.
-
ACP: reasoning effort was never sent, so thinking was always off.
-
agentty airgap --setupnever found your credentials. It copied from the pre-consolidation~/.config/agenttypath. -
agentty statusaborted with a lock-order error when a Copilot token needed refreshing. The refresh gates now sit at a declared lock level. -
The MCP OAuth callback could hang forever on a connection that sent nothing (a browser preconnect). Reads are now bounded by the deadline.
-
Shell tool calls were 4x slower than they needed to be. The trust snapshot listed the whole workspace before every call; listings are now cached per directory by mtime (34 ms to 8 ms on a large repo).
-
agentty configsaid logs are kept forever; they rotate at 32 MB. -
The test suite no longer leaves directories in
/tmp. -
Session stats ballooned on flaky providers. Reported against the "where the time went" fix: precise with one model on a paid provider, wildly inflated on OpenRouter's free tier. Two separate bugs, both of which only show up when a turn goes wrong — which on a free tier is most turns.
Time to first token swallowed the whole turn. The per-stream clock was only restarted by a
StreamStartedevent, and only Anthropic and the Responses codec emit one. On the OpenAI-chat transport (OpenRouter, Groq, Mistral, llama.cpp, LM Studio) and Ollama, the clock started once at submit and never again, so "Waiting" absorbed every retry's backoff and every earlier sub-turn and tool. It now restarts whenever a stream launches — the one point every path shares, so no transport has to remember to.A tool that never ran could be billed as running. Settling a tool copied its start time with the accessor meant for the live elapsed timer, which falls back to the card's birth when a tool hasn't dispatched. A tool rejected at the permission prompt, cancelled while queued, or failed by a dropped connection therefore had its whole wait recorded as execution time. Settling now goes through one helper that records an execution window only if there was one. The ACP path had the sharpest version of this: it never marks a tool as running at all, so every ACP tool's window was the fallback. It now uses the dispatch time it already had.
-
The
git_*tools ran outside the sandbox. A repository can execute code on your behalf —pre-commitandcommit-msghooks,post-checkout, acore.fsmonitoror credential helper configured in.git/config— and all of it arrives withgit clone. Those spawns used an unsandboxed subprocess runner, so apre-commithook invoked throughgit_commitcould write outside the workspace, while the identical write through theshelltool was refused.That asymmetry was backwards: a git hook is more dangerous than a command the model typed, because you did not write it and may never read it. Every git invocation now goes through the same sandbox the shell tool uses. Commit messages containing quotes and
$varsare unaffected — the wrapper preserves exact argv semantics rather than going throughsh -c. -
One symlink could step around the trust-handoff gate. The gate matched the path as written, and
is_host_trusted()is a pure path-shape check, soln -s .git/hooks innocuousfollowed by a write toinnocuous/post-mergeinstalled a real git hook that the gate never saw. Creating a symlink inside your own workspace is ordinary work, so nothing else stopped it. The gate now also checks the resolved path — only when the spelling looks innocent, so an ordinary write still costs nothing. -
The trust-handoff gate had a hole:
shellwalked straight past it. Writing.vscode/tasks.jsonwith thewritetool is refused — VS Code can execute that file when the folder opens. Doing it withcat > .vscode/tasks.jsonwas not, because the gate is keyed on tool name andshellwas never in the list. The policy knew the path was dangerous; the shell tool just never asked.Parsing the command was considered and rejected. Catching
>means also catchingtee,dd of=,sh -c,python -c, heredocs, a path held in a variable, base64-then-decode — an arms race against a grammar, and agentty already carries the scars of one (an earlier shell analyser matchedsed -iandcat > fas reads).So the gate now observes the filesystem instead of the command: it snapshots host-trusted paths before a shell call and compares after. Modified, created and deleted files are all reported, with the command that did it, on the same feed the Sandbox pane already shows. No quoting trick evades it, because it never looks at the command.
This is detection, not prevention — by the time the comparison runs, the bytes are on disk. That is deliberate: a read-only bind mount is the stronger wall, but it needs a mount namespace, so it would be silently absent on exactly the hardened hosts that need it most. Detection works everywhere. The prevention half is tracked separately; the research behind both, including measurements showing why a Landlock carve does not work here, is in
docs/design/shell-write-gate.md. -
shell tool: models that send
cmdinstead ofcommandno longer fail. Laguna S 2.1 (and models cross-trained on OpenAI-style specs) reliably emit the shell tool's command parameter ascmd, and the host-side required-field guard rejected the call with "missing the required fieldcommand" — a wasted failed call every time. The guard is now alias-aware (cmd,shell_command,script,cmdline) and parsed tool args are canonified tocommandat every stream-parse site and at the dispatch boundary, so the permission card, the live output panel, the shell-detour check and the executor all read the same key.The alias list is deliberately short. Every entry is a key whose value gets handed to a shell, so a wrong guess doesn't cost a failed call — it runs the wrong string. A test pins that, and names the reasoning when it fails.
-
edit tool: top-level
old_text/new_textno longer fail. Same driver, mirror direction (Laguna S 2.1, do_edit.md trace): the schema'sedits[]entries are keyedold_text/new_text, and the model leaks that spelling into the top-levelold_string/new_stringslots. The guard's alias tables didn't list the_textforms, so a well-formed call died with "missing the required fieldold_string" — even though the dispatcher's parser accepts both spellings at both levels and every edit surface (preview sniffer, timeline, ACP diff card) already reads both. The guard's old/new tables now include the_textforms; no canonification and no dispatch change were needed. Like the shell list, the tables grew only with transcript evidence:old/search/find/fromstay out.
Added
-
$AGENTTY_PROJECT_DIR— relocate<project>/.agenttywholesale, the way$AGENTTY_HOMErelocates the user root (#61, #63). Two roots, one anchor each; every category is a leaf underneath one of them, so the anchor moves it. Retrieval indexes now live incache/(derived, swept) and feedback instate/(accumulated, never swept) — they used to share the flat project root, which made "same directory, opposite retention" a fact only a comment protected. Existing indexes move intocache/on first use rather than being orphaned.agentty config envprints the whole model.This replaces
$AGENTTY_RAG_DIR, which existed only because the project root had no anchor and never shipped in a release.
Fixed
-
Launching from a subdirectory built a second retrieval index.
cd src/ && agenttywrote its ownsrc/.agentty/— another ~38 MB — because the index path was derived from the process cwd. It now resolves against the nearest enclosing.git/.agentty/.hg/.svn, so one checkout has one index regardless of where you start agentty.Nothing migrates an index written by an older build. That is deliberate rather than lazy: the index metadata records which corpus root it was built for and refuses to load when it differs, so a file at the old location would have been rejected and rebuilt anyway. Old files are left for the stale-index sweep (#62) and can be deleted by hand at any time.
-
Superseded retrieval indexes are now reclaimed (#62). The index filename carries an identity tag for the embedding backend that built it, which is correct — it stops agentty serving vectors from an incompatible space — but it made the filename set unbounded, and nothing ever collected the losers. A 45 MB index from a retired naming scheme was still on disk in this repo, unreadable by any current build.
After a successful index write, superseded variants are deleted: the live index plus the most recent previous one are kept, so A/B-ing two embedding backends doesn't force a full rebuild on every switch. Untagged legacy indexes go outright.
Two limits worth knowing. Variants newer than an hour are left alone, since another agentty process may be mid-write. And if any file in the directory can't be examined, nothing is deleted at all — the rule the blob collector already follows, because being wrong about what's present should cost disk, never data. Retrieval feedback is never swept: it accumulates from real usage and nothing regenerates it.
v0.9.19 · 2026-10-02
Fixed
-
The sandbox refused to run anything on hardened Linux hosts. Commands like
gofmtdied withfailed to spawn command: claybin: spawn failed: unshare (errno 1)on any machine that denies unprivileged user namespaces — Ubuntu 24.04's AppArmor profile, and locked-down corporate laptops generally. That is the exact configuration claybin was added to support, where it is supposed to fall back to landlock + seccomp and keep working.Two bugs.
compile()gated every namespace flag on a probed host capability except IPC, which it OR'd in unconditionally — so the flag mask was never empty and theunshareop still shipped even after userns, mount, pid and uts had all been correctly dropped. And no namespace is unprivileged on its own: withoutCAP_SYS_ADMINthe kernel only grantsCLONE_NEWNS/NEWPID/NEWUTS/NEWIPC/NEWNETwhen they are created together with a user namespace, so that one leftoverCLONE_NEWIPCwas guaranteedEPERM.The capability probe was also answering the wrong question.
path_exists("/proc/self/ns/mnt")reports that the kernel knows what a mount namespace is — true on every Linux ever built, including the hosts that refuse to create one. It now reports whether this process can actually create one.Such hosts now degrade as designed: no namespaces and no mount-based secret masking, but landlock, seccomp, cgroup limits and privilege drop are all still enforced. Permissive hosts are unaffected.
-
agentty crashed on startup under Wine. The stderr redirect that keeps subsystem diagnostics out of the inline TUI calls
freopen()on the inherited stderr handle, which faults under Wine instead of returning an error. It is now skipped there — a slightly noisier frame on a development target beats a binary that will not start.
Added
-
$AGENTTY_THREADS_DIR,$AGENTTY_CACHE_DIR,$AGENTTY_LOGS_DIR— move the bulk of agentty's storage to another disk without moving your config (#58).$AGENTTY_HOMEalready moved the whole root, which is the wrong tool for "config on the system disk, data on a second drive": on a working install the split is ~4 KB of settings and 8 KB of credentials against 4 MB of threads, 5 MB of cache and 38 MB of logs, so ~99% of the bytes are the three categories that grow.Settings and credentials stay put, deliberately and not configurably — a secret that moves because of a variable in a shell profile is a secret nobody can find later. This is not the XDG four-root layout the single-root rationale rejects: the default is still one root, every path still resolves through
util/user_root.hpp, and an override changes nothing for anyone who does not set one.A relative value resolves against the root rather than the process CWD, so one setting means one directory instead of a different one per launch directory. An empty value counts as unset. A directory that cannot be created warns once and falls back to the default rather than silently dropping the data, and an overridden threads directory is forced to
0700, because conversation history is as sensitive as the credentials it used to sit beside. -
The sandbox on macOS is now claybin, not
sandbox-exec. Same policy compiler as Linux, so the Sandbox settings pane finally means something on a Mac: extra readable paths, masks, per-port network and resource ceilings used to be Linux-only rows that silently did nothing there.Both engines are seatbelt underneath — claybin calls
sandbox_init(3)with a profile compiled from your policy,sandbox-execis Apple's CLI wrapper around the same mechanism driven by one fixed profile string — so this is not a claim about strength. It is about what survives the trip, plus the per-capability guarantee report, whichsandbox-execcannot produce at all.Where the platform cannot do something, it says so rather than rounding up: no syscall filter (macOS has no seccomp equivalent available to an unprivileged process, so
Isolation::hardened_processis refused, not quietly downgraded), resource ceilings as rlimits (partial— they count per process, not per tree), and the process cap asadvisory, becauseRLIMIT_NPROCcounts a whole UID and another terminal window moves it.sandbox-execremains the fallback, in both directions: a host that cannot run one engine gets the other, never nothing.
Fixed
-
logxspelled the log directory itself instead of asking for it. It resolves its path with hand-rolledgetenvcalls on purpose — it has to stay linkable from the narrow sanitizer TUs and safe from a crash handler — but that independence meant the layout was written out twice, and the copy inlogx.cppwas the one that would have silently ignored$AGENTTY_LOGS_DIR. Logs are the single biggest thing agentty writes, so the one category most worth relocating would have been the one that did not move. Found while testing the overrides above, which is the only reason it is not a shipped bug. -
Three things on macOS were guarded on
__linux__when they were really guarded on "has a sandbox". The Sandbox settings pane compiled its rows out entirely and predicted walls using the Linux compiler, so resource caps readnonewhile seatbelt was in fact applying rlimits.sandbox_auditprinted Linux host facts — all reading0, which looks like a host with nothing — above a table reporting seatbelt walls doing real work.sandbox_broker_testdid not compile on macOS at all (darwin's ptrace isPT_*, notPTRACE_*); it had simply never been built there, so nobody noticed.
v0.9.18 · 2026-10-01
Fixed
-
Windows had no binary in 0.9.16 or 0.9.17, and the check that was supposed to catch it reported green. Two independent bugs, and the second is why the first shipped twice.
jaal detects a host's optional hooks by NAME, using a probe that deliberately relies on ambiguous lookup as its signal. Spelled
&mixin<T>::MEMBER, GCC and Clang treat that ambiguity as the substitution failure the probe is built on; MSVC resolves it at parse time and reports a hard error (C2385). So every host that did declare an optional hook failed to compile — the probe reported the bug it exists to find as a compiler error. The lookup now goes through a dependent operand, where all three compilers agree.The
windows compile (msvc)CI gate exists for exactly this, and it passed while the build died 350 objects in. The step rancmake --buildfollowed bysccache --show-stats, and PowerShell takes a step's exit code from the LAST command — so a failed build was hidden behind a successful stats call. 0.9.16's notes blamed the Visual Studio generator for the missing artifact; the real cause was this lane never being able to fail. -
A second agentty window silently reverted your settings. Saving serialises the whole in-memory record and atomically replaces the file, so with two instances open: window B picks a theme, then window A saves any unrelated row from the snapshot it loaded at startup — and the theme is back to what it was. Nothing errors, and the file is never corrupt, which is why it looked random: the winner is whichever window saved last.
The atomic write was doing its job. Crash-safety (never a torn file) is a different property from concurrency-safety (never a lost update), and only the first was implemented. Saves now take a cross-process lock and MERGE: keys this window changed win, keys it merely read adopt whatever is on disk.
-
The AUR package's
.SRCINFOdescribed a different package than its PKGBUILD (reported for 0.9.15, live through 0.9.17). It was written by hand as a fallback for runners withoutmakepkg— but the runner never hasmakepkg, so the fallback was the only path that ever ran, and a second source of truth drifted the moment the PKGBUILD gained anything. The AUR served a short description and no optional dependencies for releases.That breaks updates rather than just looking wrong: helpers like
pikaurregenerate.SRCINFOlocally when building, so a published file that disagrees withmakepkgmakesgit pullconflict on every new release. It is now generated by the realmakepkg, with no fallback — failing loudly beats publishing metadata that silently contradicts the recipe. -
agentty-git(AUR, builds from source) could not be installed at all.claybinbecame a required submodule and the recipe never wired it, so CMake stopped at a configure-timeFATAL_ERROR— not a late link failure, it never got that far. No workflow referenced the file, so nothing noticed.
Changed
- Release checks now verify what shipped, not just its version number.
Every packaging bug above shipped because nothing compared content. The
release audit now regenerates
.SRCINFOfrom the published PKGBUILD and diffs it; CI builds theagentty-gitrecipe through configure on an Arch container; and a millisecond test diffs the recipe's hand-maintained submodule list against.gitmodules(it can't track it automatically —makepkghas no network during the build, so each submodule needs its own source entry). The next missing submodule fails in the test suite instead of on the AUR.
v0.9.17 · 2026-10-01
Changed
-
Reasoning effort defaults to
auto, so Smart Mode's classifier can actually move the dial. Smart Mode reads your effort setting as the midpoint of a ladder — a Standard turn keeps it, Complex steps up, Simple steps down. But the default wasoff, which is the bottom rung, and the setting had no way to tell "never configured" from "explicitly chose off" (both persisted as an empty string). So out of the box a turn classified Complex could only climb one rung tominimal, where the same turn from amediumbase reacheshigh. The classifier was doing its job and the dial had nowhere to go.autois now its own setting, and it anchors at the middle rung of whatever ladder your current model exposes — a position, not a fixed level, so it is right on a six-level flagship and on a model with a single on/off switch. On alow·medium·high·maxmodel a complex turn now lands onhigh.Trivial turns still send no reasoning at any setting ("commit it" never buys a budget), which is what makes a centred default safe — you pay on the turns that earned it, not as a floor tax. Picking off explicitly is still a real choice and still sends nothing on every turn, including complex ones; it now persists distinctly so it survives a restart. If you had deliberately set effort off before upgrading, set it once more — an untouched setting is read as
auto.
Fixed
-
The
permissivesandbox posture shipped no fork-bomb cap.max_procsdefaults to 4096 precisely because, unlike memory or CPU, there is a process ceiling that is safe on every machine — no legitimate build needs 4096 concurrent processes, while:(){ :|:& };:wants millions. The preset zeroed it along with the memory/CPU/time limits it legitimately drops, and0means unlimited at the boundary (claybin sets no rlimit and nopids.maxat all), so any approved command underpermissivecould fork without bound. This is the findingsandbox_auditwas written for, reintroduced through a preset. Permissive now keeps the cap: it means "the walls are off", not "the machine is forfeit". A regression test asserts every posture keeps a non-zero ceiling. -
The Smart Mode routing card showed a line that didn't mean anything. It rendered as
effort high · complex off → complex— an arrow between an effort and a complexity, two different units, with the tier then repeated verbatim one segment to its left. The arrow now tracks the thing that actually moved (medium → high), and disappears entirely when the effort didn't change, leaving only the reason it held still.
v0.9.16 · 2026-09-30
Fixed
- Windows had no artifact in 0.9.15. The release job built with the Visual Studio generator while CI built with Ninja, and that difference alone made the build fail: jaal detects optional host hooks by name using a deliberately ambiguous lookup, and MSBuild reported that ambiguity as a hard error (
C2385) where every other toolchain treats it as the substitution failure it is meant to be. Every other platform shipped, so the gap was easy to miss. The release lane now builds exactly the way the CI lane does — which also makes it faster, since MSBuild parallelises across projects rather than translation units. - Subagents could hang for hours.
taskbounded how many turns a subagent could take but nothing bounded how long it could take. A backend that keeps a stream technically alive without ever finishing it looks healthy to every layer underneath, so the real ceiling was turns × retries × the 30-minute per-stream budget. There is now a 15-minute wall clock for the whole run (AGENTTY_SUBAGENT_MAX_SECONDS), it composes across nesting rather than resetting per level, and the report says whether the run ran out of time or out of turns — those point at different fixes. - Subagents could crash agentty on exit. A subagent runs on a detached worker, and the app could return from
mainwhile one was still mid-stream, calling into objects that no longer existed. It only faulted when a subagent happened to be running at quit, which is exactly when you give up on a slow one and press escape — so it surfaced as "subagents crash sometimes". Three things now have to all fail for that to happen: shutdown reaches a running tool, waits for it, and the objects it might still touch outlive it regardless. - A second subagent of the same kind could be starved of files. Each run gets its own read-dedup scope so it never inherits another's history, but the scope's identity was derived from a stack address — and sequential runs reuse the same stack. Two explorers in a row therefore shared one scope, and the second was told "File unchanged since last read" for files it had never opened. It then spent its turns re-asking and reported nothing useful.
Changed
- Read-only subagents are no longer routed to the weakest available model. Explorers and reviewers run on a cheaper model than the parent, which is right for a fan-out — but the floor was the cheapest model on the provider, so an Opus parent sent its exploring to Haiku. Exploring is not mechanical work; it is deciding which of forty search hits matter, and a weaker model reads the wrong files and then summarises them confidently. The floor is now mid-tier: still a real saving, without the cliff. A single-model account, or one already on a mid-tier model, sees no change.
v0.9.15 · 2026-09-30
Fixed
- The
readtool could refuse to show you a file, forever. Reading a file at one range and then another made the first range unreachable: agentty keeps only the most recent read of a file in the transcript and collapses the older ones to "refer to the more recent tool result", while the read tool independently refused to re-send any range it had already served — "File unchanged since last read. refer to the earlier Read tool_result". The two pointed at each other and the bytes existed in neither, with no way out. It hit hardest in exactly the case paging exists for, since a windowed read prints "pass offset=N for the next chunk" and coming back to the first chunk is the deadlock. Models escaped it by giving up onreadentirely and overwriting whole files unseen. The tool now tracks the range actually still in your context, and only refuses a repeat that range genuinely covers. - Local servers: reasoning support was decided by filename. LM Studio and llama.cpp both declare what their models can do, over endpoints agentty was already calling, and both declarations were being dropped — LM Studio's because
reasoningarrives as an object ({allowed_options, default}) where the reader required a bare bool, llama.cpp's because nobody readchat_template_capsoff/props. Every local model therefore fell through to a name heuristic tuned for hosted providers, which cannot classify a GGUF path or apublisher/modelkey. llama.cpp's answer is the best evidence available anywhere: the server runs the model's own chat template against probe inputs and reports what it reacts to, so it re-measures when you swap the GGUF. - Local servers: the reasoning effort you picked never reached llama.cpp. The per-turn effort was gated on the connection being TLS — i.e. "local servers reject this". That is true of Ollama, which never reached the check (its native path returns earlier), and false of llama.cpp, which documents
--reasoning-effortand accepts the field. So the only server the guard actually blocked was one that supports it, leaving the server's command-line default as the sole working channel. - A tool-calling loop on a local model could run away. The step cap keyed on a name heuristic that reads GGUF paths and
publisher/modelkeys as "not weak", so unknown local models got less protection than recognised hosted ones. Local and custom endpoints are now capped by default; known hosted backends stay exempt. - Windows: agentty could crash on exit when stdin was an already-closed pipe. Launching with
type NUL | agentty.exe(the shape MSYS2/mintty produces) closes stdin before the UI has drawn, so agentty starts shutting down while the TLS prewarm dial and the workspace file/symbol scans are still starting. Those joins only ran on the normal return path, so a fast exit left the threads running into CRT and OpenSSL teardown — an access violation, and an intermittent one, since whether it faulted depended on which side won. They now run on every exit path. - The optional-hook drift check couldn't see half the hooks it guarded. 0.9.14 made a hook with a drifted signature a build error instead of a silent "this program has no such hook". It asked whether a hook existed by taking its address, and you can't take the address of a member template or an overload set — so both came back as "doesn't exist". maya's terminal host declares
present,present_frameandhandleas templates, which meant the host half of the check was blind to the hook that draws every frame: a renderer whosepresentdrifted compiled clean and simply never drew. The check now asks about the hook's name rather than its address, and sees every shape a hook can take — including one inherited from a base, which is how both original bugs actually reached users. - A
view()that can't be called with the model is now an error. The probe for it was written but never used, so this one case fell through.
Changed
readis ~5x faster on large files (1.66 ms → 0.31 ms for a 250-line window of a 900 KiB file). It used to do work proportional to the file for an answer proportional to the window: the line scan ran to EOF on every read, the output buffer was reserved at file size to hold a few KiB, and a content hash was computed over every byte for a field nothing reads.outlineis ~1.6x faster from skipping lines that cannot match its pattern — verified to produce byte-identical output across 1,200 files.
Internal
- The test harness no longer leaks a temp directory per process. It created a per-process sandbox so parallel ctest workers never share state, and never removed it; one full suite left ~1150 behind. Found when /tmp hit 100% with 89,373 of them and an unrelated build failed with "No space left on device".
mcp_tool_benchtimes the real tool bodies against a real tree. Not a ctest — it asserts nothing and its numbers are machine-dependent — but every win above was invisible to code review and obvious the moment it was measured.
v0.9.14 · 2026-09-28
Runtime hardening. The jaal runtime underneath agentty now catches a whole class of silent optional-hook bugs at compile time instead of at first user-visible symptom.
Fixed
- A hook whose signature drifted was silently absent, not a compile error. jaal detects every optional program hook with a requires-test, so a hook it can't call reads as "this program has no such hook" — twice this shipped as a bug:
AgenttyApp::initkept the oldpair<Model,Cmd> init()shape instead of the newCmd init(Model&)and the kernel value-initialised a blank Model, discarding every setting and threadinit()had just loaded; and maya'sterminal_host::attachwas written against a base host_context, so a derived host in agentty never had its attach called at all. Both are nowstatic_asserts naming the exact hook that drifted.
Internal
jaal::host_contextis keyed on the program's event type rather than on the host class, so a derived host inherits the base'sattach/on_readyoverloads correctly.jaal::declares_init/declares_subscribe/declares_subs_key/declares_view/declares_visual_hash/declares_needs_warmupprobes plus a constevalcheck_hooks<P>()that pairs eachdeclares_with the shape concept and fires a targeted static_assert on mismatch. Wired intokernel::start()and the host attach path, with compile-fail tests for each hook.
v0.9.13 · 2026-09-27
Diagnostics. Fewer knobs, more of them documented, and a headless run you can actually measure.
Added
agentty run --events jsonl— one JSON object per line on stderr for each tool a headless run executes:{"ev":"tool","seq":3,"tool":"read","ms":12,"ok":true,"args_sha":"a3f1c09d"}. stdout keeps the answer, so a script can capture both. Until now the only machine-visible signal was a glyph in the rendered activity view — which a plainrunnever emits — so harnesses driving agentty had no way to count tool calls at all.args_shais a hash rather than the arguments: it answers "were these two calls identical" without putting your paths and command lines in a log.--log-file PATHsets where the diagnostic log goes. It's a flag now rather than an environment variable, because a destination is not a capture policy — and a flag is the part that shows up in--help.
Changed
- The diagnostic log is genuinely one switch now. Four profiling variables (
AGENTTY_CACHE_PROFand friends) each used to write their own file under/tmp, which put timings outside the level filter, the crash-time ring buffer and the redaction pass. They're aperfchannel:AGENTTY_LOG=perf=debuggives you TTFT per model, prompt-cache hit ratio, tool-batch width and thread-load cost, in the same file as everything else. Six logging variables became two, both answering "what to capture". - Logging got ~3× cheaper. An emitted event was ~4 µs, and most of it turned out to be the secret-redaction scan testing every byte against every key pattern. With a first-byte prefilter that's ~1.3 µs, and a site that doesn't fire costs ~0.5 ns — so
AGENTTY_LOG=perf=debugis now something you can leave on in a release build when you want numbers. --helpreflows to your terminal. It was hand-aligned with counted spaces and a wrap width baked in at ~78 columns, so it broke on both narrow and wide terminals. Same plain text, no colour, no escape sequences — identical bytes whether you read it or pipe it — but the description column now follows the width you actually have.
Fixed
agentty run --agent <typo>silently ran the wrong agent. An unrecognised role fell back togeneraland reported success, so--agent reviwerquietly did something else. It's now rejected before the run starts, listing the roles that exist (including your own user-defined ones).agentty run ""reportedunknown arg:with a blank name instead of saying there was no prompt.- Windows:
agenttyhung when stdin was a pipe that closed immediately —type NUL | agentty.exe, or any launch whose input ends before it begins. The event loop couldn't tell an idle pipe from a finished one and waited on bytes that could never arrive.
Internal
- A log site on a per-frame path must log at
trace, neverdebug— at ~1.3 µs an enabled per-token site costs milliseconds per thousand tokens. That rule is now a compile error (AGT_LOG_HOT) rather than a convention. - The redaction tests were running with no log sink and passing vacuously — every assertion is "the secret is absent", which an empty string satisfies. They now fail if they can't read what they're checking. A leak in an unreleased commit was caught by CI because of it.
v0.9.12 · 2026-09-26
The runtime underneath agentty was replaced. If nothing about this release is visible to you, it went the way it was meant to.
Changed
- agentty now runs on jaal, a typed Elm runtime, instead of its own hand-rolled one. The shape of the program is unchanged —
(Model, Msg) -> (Model, Cmd), one pure reducer, maya drawing every pixel — but almost everything holding that shape up is gone, replaced by something that does the same job as a checked property rather than a convention:- Effects are values, not calls through a global.
Depswas a mutable global of 11std::functions installed at startup and reached from 84 places inside reducers. A reducer now returns a description of what should happen and the host performs it, so a turn can be tested with no filesystem, no network and no threads. - A cancelled stream can no longer land a message in a model that stopped expecting it. That was a real class of bug, previously held off by
m.s.active()guards written by hand at each site. The streaming turn is a subscription now: it runs while subscribed and is cancelled when it isn't. - Auth needs no lock. Workers used to read credentials the UI thread could swap underneath them, guarded by a snapshot plus a mutex. The shared value is now immutable, so there is no writer and nothing to race.
- Message routing is checked by the compiler. 23 domain reducers used to be dispatched through a hand-written 10-arm
visit; a leaf nobody handled was silently dropped. It is now a compile error naming the domain file to open. - Incremental builds got faster as a side effect: 1.19 s for a domain translation unit, 1.77 s for the loop, against 19 s before.
- Effects are values, not calls through a global.
Fixed
- Korean text no longer drifts out of alignment as you type it (#55). Typing through an IME does not always deliver a precomposed syllable — 한 can arrive as three codepoints that compose into one block on screen. agentty measured that as 4 columns instead of 2, so every character pushed the rest of the line two cells out of place and text overwrote itself. The table of zero-width codepoints behind this was written by hand and only covered Latin, Cyrillic, Hebrew and Arabic; it is now generated from the Unicode character database, which fixes the same misalignment in Thai, Devanagari, Bengali and Tamil. Checked against the system
wcwidthfor every codepoint in the BMP: 772 disagreements before, 40 after, all of them deliberate. - Windows: agentty no longer hangs when stdin is a pipe that closes immediately.
type NUL | agentty.exe— and any launch whose input ends before it begins — waited forever instead of exiting. Two causes, both now fixed: a pipe read at end-of-file reported "no bytes yet" rather than EOF, and the event loop could not tell an idle pipe from a finished one, so it waited on bytes that could never arrive. - Windows: the code-block runner is back. Running a fenced code block from a thread failed to compile into the Windows binary at all, so the feature was missing there.
- MSVC builds work again. Every program built with MSVC was rejected at compile time with a claim that its own message types were unsafe to send between threads — a check that cannot run on a compiler without C++26 structured binding packs, and that now correctly falls back instead of failing. Consumers of maya's headers also get the flags needed to parse them, so a UTF-8 glyph in a header no longer breaks the build.
Internal
- CI actually gates the Windows and macOS builds now. The toolchain floor moved to GCC 16 / clang 22 (jaal needs P1061 structured binding packs), which unblocked lanes that had been failing on every push — including
examples (windows-msvc), which had never passed. Three of the bugs above were found by those lanes once they could run.
v0.9.11 · 2026-09-25
Performance
- Long threads no longer slow down as they grow. A big thread got sluggish between turns even though the UI itself stayed responsive: the work done per round scaled with the whole transcript, so every extra turn made the next one slower. Four fixes, all measured on real threads:
- Saves only write what changed. A save ran at the end of every round and rewrote the entire thread — re-encoding every message, fsyncing the full log, then parsing it all back (reading every blob) to verify. agentty now fingerprints each message, cuts the log at the first one that changed, and appends from there, verifying only the new lines. History-rewriting paths (compaction, fork, edit, rewind) and the first save of a thread still do a full write. Building the save no longer copies the transcript either, and the fingerprint pass hashes four independent lanes at once. On a 2519-message, 29 MB thread: ~1178 ms → ~4 ms per round, and flat as the thread grows.
- Images are base64-encoded once, not every round. A thread with a handful of screenshots rebuilt megabytes of base64 on every single request. The encoding is now computed once and shared.
- Faster request-body encoding. The JSON escaper copies runs of plain bytes instead of one byte at a time, the body buffer is sized from the content it is about to write instead of a flat 64 KiB guess, and capping/UTF-8-scrubbing a tool result no longer allocates a copy when the result already fits. Per round on a 1262-message thread: 17.0 ms → 10.8 ms. The bytes on the wire are unchanged.
- Less copying on the reducer. Starting a turn no longer deep-copies the part of the transcript a compaction already replaced with its summary, and the todo sync after each tool result stops at the matching call instead of walking the whole thread.
Changed
- Debug builds no longer log entire request bodies. They logged every request in full (multi-MB on a long thread) on the stream thread right before sending. Now it is the body size plus a 4 KB head; set
AGENTTY_LOG_BODIES=1for the whole thing.
v0.9.10 · 2026-09-24
Fixed
- Local router: context window now tracks which model is actually loaded. A llama.cpp router serving one model at a time (the normal
--models-max 1setup) never showed context sizes for unloaded models, and switching models didn't re-check the window. The context bar and compaction both used stale numbers.- Unloaded models now get a size from their launch args (
--ctx-size,--parallel,--kv-unified-per-slot). Once the model loads, a lightweight re-probe corrects it to the real allocation. - After every model switch and every finished turn, agentty re-checks the active model's live window. No extra work for hosted providers.
- Unloaded models now get a size from their launch args (
- Compaction uses the compaction model's own context window. When Smart Mode routes compaction to a different (bigger-context) model, the summarisation payload is now sized to that model's window instead of the main model's.
- Compaction understands llama.cpp's context-overflow error. The shrink-retry that halves the payload on "too long" now also fires on llama.cpp's "exceeds the available context size" wording, so a declared size larger than the real allocation recovers on the first retry.
--providerhosts appear in the model picker. A custom host passed with--providerwas activated but never saved toprovider_keys, so its models didn't show in the fused picker. Now it gets a picker row the moment its first model fetch succeeds.
v0.9.9 · 2026-09-24
Fixed
- Windows: agentty no longer crashes when it exits right after starting. The daily blob cleanup ran on a detached thread. A process that exited at once (stdin at EOF, a pipe, a quick quit) could reach static destruction while that walk was still logging, and Windows killed it with an access violation (
0xC0000005). The cleanup now runs on its own thread that starts after a 20 s delay, stops between files when asked, and is joined before shutdown on every exit path. - ChatGPT / Codex login: a cancelled tool call no longer wedges the thread. A
function_callwhose tool never finished was sent back with nofunction_call_output, and the Responses API rejects that with "No tool output found for function call" on every later request. It now gets a placeholder error result, like the other transports. - MCP tools no longer bust the prompt cache. External tools were sent in relevance order, so a new message that ranked the same tools differently reordered the start of the prompt and paid full price. The chosen tools now go out in a fixed order.
Changed
- Shell detours get precise advice, not a rewrite. When the model uses the shell for something a native tool does better (
sed -n,grep -rn,cat,ls,git log), the shell still runs, and a one-line tip names the exact native call with the parameters read off the model's own command (readwithstart_line: 147, end_line: 162,grepwithcontext: "8", glob: "*.cpp",git_logwithcount: 5). The decision uses a real bash parse, and anything that writes a file is never advised. From the third detour in a row a short reminder is added.grepgainslimitandexclude(the native forms of| head -Nand| grep -v), and its context window goes up to 60 lines. Seedocs/SHELL_DETOURS.md.
v0.9.8 · 2026-09-23
Fixed
- Headless runs now resolve the real context window, including on custom hosts.
agentty run,agentty acpandagentty mcp-servenever build a Model, so they installed the subagent seam with an empty model catalog — leavingcontext_windowat 0 on every turn (the Ollama transport reads 0 as "use my tiny default" and truncates exactly the long runs headless exists for),cheapest_capable_model()with nothing to choose from, and Smart Mode's role resolver falling back to the parent model for every pinned slot. They now fetch the live catalog through the same seam the stream path dispatches on, layered over the bundled floor so an id that outlived its catalog row (a-mpinned in settings) still resolves. Verified: a custom OpenAI-compatible host goes from 0 to its advertised 131072.
v0.9.7 · 2026-09-23
All about reaching any OpenAI-compatible endpoint, and telling the truth about what happened when you do.
Added
- Type an endpoint into
^Pand it offers to connect. agentty has always spoken to any OpenAI-compatible server (--provider host:port, or the "Custom host…" row), but the picker never said so: typing a hostname made every familiar provider disappear and left one muted grey row behind, which reads as "no". Now a query that looks like an endpoint — a dot, ahost:port, anhttps://— promotes a concrete "Use<host>as a custom OpenAI-compatible host" row to the TOP, andEntercarries the typed text straight into the connect probe instead of reopening an empty field. Saved custom hosts are searchable too (they used to vanish the moment you typed, so the only way back to one was scrolling past every built-in), the escape hatch is no longer painted in the muted style this TUI reserves for unavailable, and the footer says whatEnterwill actually do. - The connect probe says what went wrong and what to do about it. Three very different mistakes used to arrive as the same unhelpful string. A 200 with HTML — what you get from pasting a dashboard URL instead of the API base — now reads "that's a web page, not an API — use the API base URL (usually ends in /v1)" instead of "HTTP 200, no model list at any known path". A 401/403 means the address was right, so it routes you straight to the key prompt instead of dumping you back into a URL field you typed correctly. And the probe now ranks its attempts, so a 401 on the configured path is no longer buried under a 404 from the
/v1fallback.
Fixed
- A
Retry-Aftermeasured in hours is a quota, not a burst limit. A 429 carryingretry-after: 29410(8 hours, from a provider's daily free-tier cap) was clamped to 600s in the reducer and 30s in the agent loop, then retried three times — 95 seconds of waiting to print the exact message the first response already carried. agentty now honours a server hint up to 15 minutes and treats anything beyond it as terminal: 95s → 1.5s, with the provider's own actionable text. Burst limits are unaffected, and the error is still classifiedRateLimitso the loop-backoff schedule is unchanged. - A context window a gateway made up no longer breaks compaction. The window drives the gauge and auto-compaction, and the extraction narrowed straight to
int— so18446744073709551615became-1,4000000000became-294967296, and the string"1e6"became1. A negative window disables compaction entirely (everyused < windowtest is false) and a window of 1 compacts every turn; both read as "agentty is broken" rather than "this gateway reported nonsense". Values are now validated before narrowing and rejected outside a plausible 1024–100M band, and a partial string parse is treated as a misread rather than a lenient read. - Headless runs had an empty model catalog.
agentty runandagentty acpnever build a Model, so the subagent config was installed withoutcandidates— leavingcontext_windowat 0 on every headless turn (the Ollama transport then fell back to the daemon's ~2k/4k default, truncating exactly the long runs headless is for),cheapest_capable_model()with nothing to choose from (read-only subagent roles never routed down), and Smart Mode's role resolver with no candidates (pinned slots silently fell back to the parent model). Seeded from the same bundled catalog the TUI uses. - Reasoning text no longer disappears on gateways that send both spellings. Some OpenRouter passthroughs emit an empty
reasoning_contentalongside a populatedreasoning; taking the first key that merely exists dropped every reasoning token, silently.
Changed
- The OpenAI-compatible dialect is now observed through one table, not scattered
ifs. Every way this spec-less wire spells a field — the two reasoning spellings, three error envelopes, Mistral's structured content parts, optional tool-call indices — lives in one place with the endpoint each was observed on. Two sites were separately parsing error envelopes by hand, neither knowing all three shapes; an unrecognised envelope reaches you as "the model stopped for no reason". - What agentty sends, and to which endpoints, is now written down and enforced. The request body is a pure function with unit tests, so the field policy is a contract rather than a comment. Notably
max_tokensis sent deliberately instead of OpenAI's newermax_completion_tokens: vLLM, llama.cpp and Together accept only the old name, and OpenAI still honours it — one spelling that works everywhere beats conformance that works on one host. - The context-window toast says where the number came from —
131k ctx (advertised)when the endpoint told us,ctx: defaultwhen nothing did. A window the server promised and one we assumed used to look identical, which made a wrong window impossible to debug.
v0.9.6 · 2026-09-23
Fixed
- An image pasted into Zed's agent panel now reaches the model. The ACP
server had an empty visitor arm for
ImageContent, so a screenshot was silently dropped — the words went, the picture didn't, on a build whose TUI has had vision for months. A dropped block is indistinguishable from a model that ignored the image, which is why nobody reported it.promptCapabilities.imageis now declared, because it is now true. - Client mistakes are reported as
InvalidParams, notInternalError. Every ACP failure path threw a generic exception, which maps toInternalError— so "unknown sessionId" or a mistyped config option told the editor the agent had crashed. Zed branches on the code (AuthRequired→ sign-in, other → show the user,InternalError→ treat as a crash), so a user's typo was reported as our bug and the actionable message was buried. All six paths now carry a typed code plus structured data: the id that wasn't found, the values that would have worked. - Tool-call locations are absolute, so "follow along" keeps working. Zed
resolves a location only if the path is absolute; a relative one is silently
dropped and the cursor just stops moving. Tool args are whatever the model
typed, which is very often
src/main.cpp. - A cancelled terminal run leaves readable output. The terminal is released as the tool returns, and a released terminal's widget is dropped — so a cancel left an empty card with no trace of what was cancelled. Every other exit already left durable text; cancel was the one that didn't.
- MCP:
resultTypeis emitted on every result. Required from protocol 2026-07-28, which we advertise, and we emitted it on none of the eight result types. Invisible locally — our own client defaults the field, so agentty-to-agentty worked perfectly while a conformant third-party client would reject the response. - MCP:
ttlMs/cacheScopeare always sent, and never negative. Both are required on every cacheable result, but were skipped entirely when the TTL was zero — and a zero TTL is the ordinary way to say don't cache this, so the response that most needed to say it shipped malformed. - The release audit no longer fails on channels that land a minute later. AUR's cgit and GitHub's PR search both lag the publish job, so a single read straight afterwards saw a stale version and called it drift — four healthy releases reported as broken. Both checks now retry before believing the answer.
Added
- The ACP tool card carries the programmatic tool name (
read,bash) alongside the human title, stabilised in ACP 1.8.0. A client that groups or picks icons by tool identity cannot recover that from "Reading src/main.cpp". tests/schema_conformance.py— checks our codecs against the MCP and ACP schemas as a type algebra rather than by reading code: product shape, field modality, carrier type, and enum values, following$refand honouring semantic constraints. Every protocol bug in this release was found by it or by reading a reference client, not by inspection — the failures it catches are the ones that are invisible when you only talk to yourself.
Documentation
- JetBrains IDEs get their own setup section on the ACP page (#51) — including the absolute path requirement that is their most common startup failure, MCP passthrough, and the WSL limitation.
- Package install commands are fixed
(#52). Asset filenames carry the
version, so
latest/download/agentty-x86_64.rpmalways 404'd. Nine URLs were wrong across the docs and README. Thanks to @TechPro424 for both.
v0.9.5 · 2026-09-22
Fixed
-
agentty runtakes its arguments in any order. The parser scanned only the leading arguments and stopped at the first option it didn't own, so a prompt placed after a global flag was never claimed — it fell through and died asunknown arg: <prompt>:bashagentty run --agent coder "prompt" worked agentty run --agent coder -w dir "prompt" unknown arg: promptThe rule was really "a positional may not follow a global flag", and it was invisible because the error named the prompt rather than the position — so it read as a malformed prompt. All orders work now, and
--agentstill binds the role in the ones that were broken. Thanks to @Eeems for reporting it.
v0.9.4 · 2026-09-22
Fixed
- Local servers now report the context window they actually serve
(#49). Three separate bugs all
ended in the same 200k default. llama-server puts the window in a nested
meta.n_ctxand our ladder only looked at the top level of a row, so every llama.cpp model advertised nothing. LM Studio's/v1shim reportsmax_context_length— what the architecture supports — while the real number lives on the native API atloaded_instances[].config.context_length; a model capable of 262k loaded at 16k still refuses at 16k. And the probe that could have corrected both was gated on "does any row have an unknown window", which a declared ceiling satisfies — so it never ran, and a refresh changed nothing. A measured runtime window now overrides a declared one when it is smaller. Verified against a real llama-server (8192, not 200k) and a real Ollama 0.34.2 daemon (4096 loaded, not the 40960 the GGUF declares). - llama-server router mode answers a bare
/propswith a placeholder (n_ctx: 0), so the window only exists behind?model=<name>. Now queried per model — withautoload=false, because the router'smodels_autoloaddefaults to true and a naive query would load every model on the server just to read a number. - Ollama's
/api/tagscarries no window at all, so those models fell back to a guess. The loadedcontext_lengthfrom/api/psis used instead. - A server on your LAN counts as local. The runtime probe was scoped to
loopback, which excluded the most common setup there is: the model server on
the box with the GPU, reached over the network. RFC1918, link-local, CGNAT,
IPv6 ULA,
*.localand single-label hostnames are all recognised now.
Added
- Adding a custom host tells you its context window. The add-host probe
already connected and read the response; it now reports what it found —
✓ 3 models · openai-compatible · 12ms · 32k ctx— instead of only that the connection worked. The window is the fact that decides whether long sessions work on that host. - A self-hosted server is detected, not configured. Answering
/props,/api/psorloaded_instancesis proof — no hosted API serves those — so a host on a public-looking address that answers one is remembered, and every later refresh probes it too. No toggle: the server already told us what it is.AGENTTY_PROBE_HOSTSremains for a host that is silent about its window and unrecognisable, where there is nothing to detect. - Updates are automatic, following Zed's model: an hourly re-check instead
of once at startup, and the download starts on its own rather than waiting to
be found in the palette. A finished update keeps asking for the restart it
still needs — the status chip becomes
↺ v0.9.4and stays until you restart, because the new binary is on disk but the running process is still the old one. Gated onself_update_possible(), so package-manager and nix installs are untouched;AGENTTY_NO_AUTO_UPDATE=1restores notify-only. - The in-TUI download shows progress.
perform_update()always took a progress callback and the shell path always used it; the TUI passed none, so a ~15 MB download sat behind one frozen line — indistinguishable from a hang.
Changed
- winget submissions were failing silently.
continue-on-errorwas there for the benign duplicate-submission case but swallowed every other cause, so the job reported success while the step had failed on a missing token scope. A failure that is not a duplicate now fails loudly and names the fix.
v0.9.3 · 2026-09-22
Added
- Every outbound request is audited before it goes out. A typed
audit_wire()walks the messages the transport is about to send and reports shape defects by name — a tool call with no name, a tool result with no call, a call nobody answered, an image with no media type. It runs on the main loop and the subagent loop (taggedloop=main/loop=subagent), so a malformed request is described in the log before the server answers 400 instead of after. The in-flight assistant slot is exempt: every turn appends the message the model is about to fill, so it is empty by construction, and a warning that fires on every healthy turn trains you to ignore the channel. - Vision is gated on what the model and the account actually allow.
supports_visionis a tristate onModelInfo: unknown still sends (absence of evidence is not evidence), an explicitfalsewithholds. An organisation policy rejection is recorded asFact::VisionOrgPolicy— account-scoped, not model-scoped, because "your org disabled images" says nothing about the model. Per-request causes (bad media type, too many images) are never remembered as facts about either. - Compaction reports what it actually reclaimed.
CompactionRecordcarries before/after token counts and areclaimed(); an unmeasured compaction is unknown, not zero.
Fixed
- A tool still running no longer fails thread-save verification. A save
fires every turn, including mid-tool, and the reader deliberately coerces a
pending call to
Failed{"interrupted"}so a crashed process never reloads waiting forever. The verifier compared that against memory, called the write corrupt, and refused to retire the legacy document — on a live thread that was 37 failures in a row, healing only on a turn that happened to end without a tool. Nothing was ever lost (the gate is fail-safe), but the migration never completed and the error named no field. It now compares what the format promises: unsettled calls are exempt, and the UTF-8 scrub applied on write is accepted as the writer working rather than as corruption. - One log event is one line. Message bodies were copied verbatim, so any
payload containing a newline — every SSE frame, every request body — split one
record across many physical lines. That broke
grep ' E ', made continuation lines indistinguishable from real records, and let a payload quoting a site name at the start of its own line impersonate an event. Newlines and CRs in the body are now escaped in place, over the body region only, so the header stays parseable. agentty diagnosticsno longer reports a request body as the session summary. It scanned forprovider.select:with a substring match over a file that interleaves events with raw wire bytes, so a request body quoting that string won — anyone debugging agentty by talking to agentty poisoned their own bug report. It now matches the site field by position. The fallback text also told you to setAGENTTY_LOG=infoto capturestartup/provider.select; both arewarnand already kept by default, so it now names the real causes.- The session banner could forge a log record. It writes the process CWD,
and a directory name may legally contain a newline — so
mkdir $'x\n2026-… dead E general auth'put a line in the log that grepped as a genuine auth error. Same rule as an event body now: only the newlines we write are newlines. - Encrypted reasoning only replays to the backend that minted it. Blobs carry their minting site and are withheld from any other, so ciphertext is never handed to a backend that cannot read it.
- Context windows are read from every vendor's spelling.
context_length,context_window,max_context_length(Mistral),max_input_tokens,n_ctx. A GPT family name no longer implies a 200k window — the id doesn't determine it, so inference now stays silent and the catalog/probe/env ladder decides. Ollama's gauge and wire agree on oneeffective_num_ctx()instead of disagreeing about the clamp. - Mid-stream errors are typed from the wire. The server's error type and status decide the classification instead of prose pattern-matching.
- A standalone build no longer adopts a system simdjson.
FIND_PACKAGE_ARGSis right for a distro build and wrong for the release binary, whose contract is that it runs where none of this is installed. The macOS runners ship a Homebrew simdjson, so the release job linked its dylib and failed its own portability check — the reason the last three releases produced no macOS binaries. Distro builds still reuse the system copy. - Missing
<variant>/<string_view>includes. libstdc++ supplied them transitively; libc++ and MSVC make no such promise.
Changed
- CI is ~58% faster (38m49s → 16m28s on the Linux gate). Both ccaches were
configured smaller than a single build's output, so they evicted themselves
mid-build — 60 cleanups at a 26% hit rate on the release job, 321 at 5.5% on
the sanitizer job — and then missed on nearly everything. Sized to the real
working set, within GitHub's 10 GB per-repo budget. A new
prune-cachesjob keeps one entry per key prefix, since the cache action writes a fresh timestamped key every run and never removes the one it superseded (the repo had drifted to 9.70 of 10 GB, almost all of it dead copies). scripts/check-submodules-pushed.shrefuses a push whose submodule pointer names a commit no remote can fetch — the failure mode where the superproject is clean, your machine builds fine, and every CI job dies at "Init submodules" before compiling anything.
v0.9.2 · 2026-09-18
Added
- A skill can declare what it will do, and agentty gates on the content.
Optional
effects:in frontmatter (read-fs/write-fs/net/exec— the same four bits tools already declare) plussource:for provenance. A skill that declares effects installs through the newagentty skill add|list| remove|approve, which prints a consent screen agentty renders from the declaration — the skill author supplies a name, description and four bits, never a sentence — and pins the approval to a hash of body+effects. Edit the body, or keep the prose and addexec, and it re-gates (the MCPoison rule: trust binds to content, never to a name). Approvals live in~/.agentty/skills_approved.jsonunder the user root, so a cloned repo can never pre-approve its own skills. Skills with noeffects:— every skill written before this — are never gated, and that's astatic_assert, not a promise. Deliberately not a first-run screen and not a settings toggle: a capability arrives because you named it. Docs: installing skills. The frontmatter-capability idea came from #47 (Arag Agrawal, Cohesivity).
Fixed
- Builds on libc++ (Termux/Android).
std::atomic<std::shared_ptr<T>>(P0718R2) is C++20 and libstdc++ has shipped it since GCC 12, but libc++ has not — soutil/snapshot.hppfell through to the primarystd::atomictemplate and failed with "_Atomic cannot be applied to type … not trivially copyable". It now falls back to a mutex behind the same public API, gated on__cpp_lib_atomic_shared_ptrrather than on the compiler. A standalone test compiles the fallback path on toolchains that do have the specialisation, so it can't rot unnoticed. - Distro builds no longer clone at configure time.
nlohmann_jsonandsimdjsonare declared withFIND_PACKAGE_ARGS, so an installed system copy satisfies them; the pinnedGIT_TAGstill applies for anyone without one. The version constraint is deliberately unpinned on the find_package path — asking for3.10made CMake reject a system simdjson 4.x as incompatible and clone anyway. - The Termux recipe was stale and wrong. It declared version 0.2.8,
passed a
-DAGENTTY_AUTO_PULL_MAYAflag that no longer exists, and listed build deps CMake ignored. It now builds from the self-contained release tarball (all four submodules vendored) withAGENTTY_USE_MIMALLOC=OFF, which removes the last configure-time download. key_routing_testandui_prefs_testdidn't compile on master —67797f6cmovedindex/queryintoFilteredPickerand left both callers stale.all()re-parsed every skill on every turn. It built its mtime signature by parsing eachSKILL.mdinto a fresh vector, compared, then threw the parse away on a hit — andcatalog_block()calls it per request. Split into a stat-only signature pass and a parse pass that runs only when the signature moves: 3401µs → 491µs with 40 skills. A budget test now guards the regression shape.
v0.9.1 · 2026-09-17
Security
- Provider API keys were resting in plaintext in
settings.json. Hosted-preset keys ("openai", "groq", …) and custom-host keys (including the keyless localhost rows) were serialised underprovider_keysinto an unencrypted file — the same class of exposure as SECURITY_AUDIT finding #1, but one store over: credentials.json and accounts.json were already sealed with the machine-bound AES-256-GCM envelope, so a backup, a synced dotfiles repo, or a pasted bug report of settings.json walked away with every live key while the token stores stayed safe. All provider keys now persist through the same encryption framework: a newauth::keysvault writes them to~/.agentty/credentials/provider-keys.json— sealed withcrypt::seal, mirrored into the OS keystore whenAGENTTY_USE_KEYSTOREis enabled, atomically at 0600 — andsettings.jsoncarries no credential-shaped field at all (not even an emptyprovider_keysobject). First load of an upgraded install imports the legacy plaintext keys into the vault and the next save strips them from settings.json, so no migration step is asked of the user; a sign-out that empties the map clears the vault at rest. The in-memory story is unchanged — selection, picker rows, and the central resolver keep readingSettings.provider_keys, so no workflow moves.
Removed
- The
bastionsandbox backend. Shipped in 0.9.0 as an opt-in alternative to bwrap (AGENTTY_SANDBOX_BACKEND=bastion); withdrawn while its embedding story is reworked. bwrap on Linux and sandbox-exec on macOS are unchanged and remain the default, so--sandbox onconfines exactly as before.AGENTTY_SANDBOX_BACKEND,AGENTTY_SANDBOX_TIERandAGENTTY_SANDBOX_NETare no longer read, and.agentty/bastion.tomlis ignored.
Fixed
- Reasoning blocks were invisible on the default theme. Reported as dark-on-dark text you could select but not read (#45), and it was seven separate bugs wearing one costume — every one of them only reachable under
native, which is why it survived review: everyone developing agentty runs a named scheme. The root cause is that a resolved colour is paintable but not necessarily numeric. Only a truecolor value carries channels; a palette colour keeps an index in the red byte with green and blue zero, and "terminal default" carries nothing at all. Every blend in the program read those bytes as channels anyway, sobright_black— palette index 8 — becamergb(8,0,0): near-black, on a black terminal, for every line of every reasoning block. Blends now refuse to do arithmetic on a colour that has no numbers and degrade to no effect rather than to a computed wrong answer. Four more instances of the same family fell out of fixing it: the streaming reveal animation, the diff bands, the status banner and the model chip each carried a hardcoded palette that painted over whatever colours you had chosen. nativereported itself as a light theme. The polarity check projected "terminal default" through a lookup that answers white, so the one theme with no opinion about your background claimed to be the brightest possible — which is why setting Appearance → Dark did nothing for the reader who tried it. A theme that paints no canvas of its own now says so instead of guessing.- Picking a theme needed two keypresses. Arrowing onto certain schemes changed nothing until you pressed again or hit Enter. The frame gate hashes the theme name to decide whether anything visual moved, and it sampled the name — length plus first, middle and last byte — which is right for a 50 KB tool output and wrong for a 15-character scheme name: 76 of the 615 built-ins collided with another. Because the sample keys on the ends, the collisions landed between alphabetical neighbours — exactly the pairs you visit arrowing through the list (
Acid Lime→Adventure,Rose Pine Dawn→Rose Pine Moon). The model changed, the theme was applied, and the repaint was gated away. Names are now hashed in full. - Escaped punctuation printed its backslash in maths.
\_ \% \$ \& \#— the characters TeX reserves — rendered literally, so a snake_case identifier inside a formula came out asbright\_black.\_is the common one, because_is TeX's subscript operator and agentty's own output is full of C++ symbols.
v0.9.0 · 2026-09-16
Security
rm -rf /was reachable through the shell guard. The refusal matched four literal prefixes (rm -rf,rm -fr,rm -r -f,rm -f -r), so anything else went through. A probe of 22 filesystem-destroying commands found 19 of them ran:rm -Rf /(one capital letter),rm -rfv /,rm --recursive --force /,rm / -rf(flags after the path),rm -rf /tmp/../../(traversal back to root),rm -rf /tmp /(a fatal path hiding behind a legitimate one),rm -rf $HOME, andrm -rf .. The guard now tokenizes the command, collects flags and paths in any order, resolves each path the way the kernel will, and judges every target on its own — 22/22 refused, with 20/20 legitimate deletes (rm -rf build,$HOME/.cache/x,git rm -r --cached .) still allowed, because a gate that blocks real work gets switched off and then protects nothing.- Spawned tools inherited agentty's open file descriptors. Access rights attach to the open file description, not to the path, so a descriptor agentty held stayed readable inside every tool it spawned — including, measured, a file that had already been
unlinked, where no path exists for any sandbox to deny. An agent host is precisely the program this hurts: it keeps credential stores, session files and logs open while running tools it does not trust. Every descriptor above stderr is now closed in the child on both spawn paths.
Added
- Sandbox backends are pluggable, and
bastionis the first new one.AGENTTY_SANDBOX_BACKEND=bastionselects Landlock path-set authority instead of bwrap's mount topology: no hand-maintained bind list, structured in-band denials with a remedy, and atAGENTTY_SANDBOX_TIER=t3a real per-host egress allowlist enforced by the kernel — closing the--share-netresidual that let any approved command reach any host. Opt-in, and falls back to bwrap when unavailable rather than running unsandboxed. head_lines/tail_lineson the shell tool. Bounds what comes back to the model without bounding what you see: a| head -20discards the rest before the terminal card ever gets it, so you lose output you were watching to save the model's context.- Passthrough tools — proxy-injected tools now have an executor. Running agentty behind a gateway that injects its own tool schemas (LiteLLM + headroom's
headroom_retrieve, enterprise middleware)? Declare them inmcp.jsonas atype: "passthrough"server (url+ tool names) — or press^Ain the Plugins pane:headroom --passthrough <url> <tool>— and agentty fulfils each call by POSTing its arguments to your URL. Dispatch-only by default (the proxy owns the wire schema;"advertise": truemakes it a full first-class tool), network-gated under the Ask/Minimal permission profiles, trust-gated in project configs, and rendered in the Plugins pane with a⇄badge showing exactly where calls go.
Fixed
- Every OAuth provider opened OpenAI's sign-in panel. Picking GitHub Copilot — or Kimi — launched the ChatGPT/Codex browser flow, so agentty asked you to sign in to OpenAI in order to authenticate GitHub, and the device code Copilot needs never appeared. Two registry flags read like synonyms and are not:
oauth_nativeis true of all three providers, while only ChatGPT uses the Codex flow. - Tools silently stopped working on some models. A missing capability key was read as "declares no tool support" instead of "unknown", so tools were withheld with no error anywhere — the turn succeeded and the model simply said it could not read files. Unknown now advertises tools; only an explicit
falsewithholds. - Tool timeouts counted the time you spent approving. The deadline was measured from when the model emitted the call, not from when it began running, so approving after a pause failed the command instantly — reported as "ran 400s with no progress" about a tool that had not executed an instruction. (#40)
- Held arrow keys skipped rows. A fast terminal delivers a whole key-repeat run in one read, and the loop reduced every event but painted once — so holding ↓ showed 2 → 4 → 6 while you pressed 1–6, felt as "one press does nothing, the next moves twice". Navigation keys now each get their own frame; typing and paste still batch.
- agentty pinned every core for ~6s at launch. Reported as "350% CPU only for animation"; measured at ~1100%, and not animation at all — the workspace symbol prewarm ran
min(cores, 12)workers at normal priority. It now uses at most 4, at idle scheduling priority, and takes 82% under contention instead of stealing from real work. (#38) Animation: Reducedwas identical toFull. It dropped only decorative glyph churn, which restyles bytes that were being sent anyway — so on a high-latency link the middle setting cost exactly what the expensive one did. It now also thins the repaint rate to a quarter. (#36)- Context windows behind gateways read 200k. Models served through LiteLLM and other proxies fell back to the default because the catalog rows carry no size. agentty now asks the gateway (
/v1/model/info, llama.cpp/props) when a row says nothing, and showsautorather than a blank column so the^Woverride is findable. - Smart Mode settings did not commit. "Cheapest main-turn role" and "Route the main turn" both reverted on the next redraw — the reducer read only numeric fields, so every other control type was dropped silently. (#42, thanks @sail3r)
- Terminals that report nothing get plain text.
TERM=dumbnow means no escape sequences rather than merely no colour; the default theme states no colours of its own, so a light-background terminal keeps its own ink. (#37) spawn failed: Function not implementedon the static Linux binary. Theposix_spawnchdir guard keyed on a glibc version macro that musl deliberately doesn't define — so every shell call with acdfailed on the Alpine-built release while the same command without one worked. Affects all static-release Linux users.- Todo-tool call loops with weak models. An empty todo list returned an empty tool result, which some models read as "call was dropped" and retried identically for whole turns. The result now states the list's contents explicitly.
- Unknown-tool errors are actionable.
unknown tool: Xnow names agentty's real catalog and points a proxy-advertised call back at its channel, so a model self-corrects in one step instead of retrying. - Skill path guessing. The prompt's skills catalog now prints each skill's real directory (skills resolve across
.agentty/,.agents/,.claude/roots — models guessed the wrong sibling), and a refused read lists the actual readable skill roots.
Changed
- Shell-out detection understands pipelines.
grep … | head -20is a result limit, not shell work — the detector used to bail on the first|and missed most of what it was built to catch (4/10 → 9/10 on a real session), while advisingreadforsed -iandcat >, which are writes. It now classifies intent before speaking, and names the parameter that replaces the pipe. - One key grammar everywhere. A bare letter now either types (into a filter, or straight into a text field) or does nothing at all — every action is a
^chord,Enter,Esc, an arrow, or a digit selector. The old mix of vim aliases (j/k/h/l/q), bare letter commands (aadd,eedit,ddelete,ycopy) and typing-as-filter is gone, so the same keystroke can no longer mean three things in three panels. Notable moves: Plugins/settings use^Aadd ·^Eedit ·^Dremove, the Smart Mode and Retrieval panes use^Efor advanced rows, diff review uses^Y/^Nper hunk, and the thread list uses^N/^D. - Text fields are typed into directly — and save when you leave them. No more Enter-to-start-editing and no more
^Sstep: type on a text row and the edit begins, move off the row (Enter, Esc, arrow, PgUp…) and the value is written.^Sstill works everywhere for muscle memory. Partial values can never reach disk — you cannot leave a field mid-keystroke. - The activity tape shows only real data now. The hex-dump row under a working turn used to be decoration — a countdown offset and noise bytes with canned words scrolling by. It now has three honest modes: while waiting on the model it reads — a head scans the actual bytes of your prompt (offset = its true position); once output streams it writes — the newest bytes of the model's own answer with a true byte-count odometer, moving only when data arrives; and with nothing in flight it shows static pinned at
0x000000. The words you glimpse in the gutter are the words the model is reading or writing at that instant — nothing is fabricated. AGENTTY_NO_TAPE=1replaces the byte-level tape with a quiet mutedthinking…row (same slot, same elapsed / tok-s numbers, zero animation) for anyone who finds the narration too busy.
v0.8.0 · 2026-09-04
Added
- The shell tool now reads images. Running
readon an image file (PNG/JPEG/GIF/WebP, sniffed by magic bytes, not extension) returns the actual picture to a vision-capable model instead of refusing it as binary — so the agent can see a screenshot it found viashell/glob. Images flow through a new tool-result image channel and are rendered as image blocks in the tool_result on every wire dialect (Anthropic, OpenAI Responses/ChatGPT, ollama), governed by a single image-policy SSOT so no provider silently drops them. - The shell tool got more powerful and robust.
cdis now a realchdirin the child process (correct$PWDand relative paths) rather than a fragilecd '<dir>' &&string prefix; a newenvargument lets a command set/override environment variables; and every command runs in a clean, non-interactive environment by default (NO_COLOR,PAGER=cat,GIT_TERMINAL_PROMPT=0,TERM=dumb, …) so output stays quiet and nothing blocks on a TTY prompt. - The
⌃Otool-output pane shows the full command. A command-running tool's card now prints the complete$ command(wrapped, not clipped) above its output, so a long or multi-line shell one-liner is finally readable.
Changed
- The exec tool is now named
shell, notbash. It always ran/bin/sh, so the old name contradicted the prompt's own "no bashisms / POSIX sh" guidance and made models loop on whether they could "use bash". The system prompt was aligned to match (it names the real OS shell dynamically instead of saying "use bash").bash(any capitalisation) is still accepted as a legacy alias at the single dispatch chokepoint, so a model that reaches for the ubiquitous name on its first turn just works instead of eating a failed call. - The shared system prompt moved out of
provider::anthropic. It was the single source of truth for every provider yet lived under one provider's namespace; it now sits at the provider-neutral root with aprompt_overlay(provider_id)seam for small per-provider deltas — all still baked into the binary (no runtime file read, no injection surface). - Every tool card now renders a Title-Cased label, even for MCP-provided or otherwise-unmapped tool names (no more bare lowercase tokens).
Fixed
⌃Cnow quits instantly, in every state. A class of teardown hangs where a background worker was joined without first being told to stop made quitting take 4–10 s: the RAG index warm, an in-flight stream on quit, an animating turn, and the startup workspace@/#prewarm walks each blocked the exit. All now cancel promptly (cooperative stop flags / tokens), and a full audit added a deadline-and-detach guard to the last unbounded join (the MCP stdio reader) so no wedged worker can stall shutdown.- The
edit/writetools stop reporting "old_text not found (even fuzzily)" for edits that are actually right there. A strict match-ratio gate discarded a correct, uniquely-located block whenever its lines had drifted (a reworded comment, reflowed indentation, a dropped blank line); a unique below-threshold match is now accepted, and the whitespace-only fallback applies the edit at the unique location instead of only diagnosing it. - A single over-large pasted image no longer 400s the whole turn. Anthropic rejects a many-image request if any image exceeds 2000 px on a side, and a tiny (48 KB) hi-DPI screenshot can easily be 3000 px wide. agentty now reads real pixel dimensions from the image header and keeps an oversized image off the wire (with a paste-time warning) so the rest of the message still sends.
- The composer caret no longer flickers during animations on WezTerm and Windows Terminal. Those terminals animate the cursor's appearance, so the hardware caret's per-frame hide/show during a welcome-screen or streaming animation replayed the fade every frame. agentty now uses its steady painted-block caret while an animation is on screen, and the native hardware caret when idle.
Fixed (providers)
-
GPT-5.4 and newer reasoning models work on
api.openai.comagain — and finally show their thinking. agentty dialled/v1/chat/completionsfor the API-key OpenAI provider, but OpenAI has been narrowing what that endpoint will do for reasoning models: from GPT-5.4 Chat Completions refuses tool calling at anyreasoning_effortother thannone, and GPT-6-class models drop chat function calling entirely. agentty always sends tools, so on those models a turn was not merely missing its thinking pane — it was a400. Reasoning turns now go out over/v1/responses, which also means the model's chain-of-thought survives across tool rounds (carried as encrypted reasoning state) instead of being re-derived from scratch on every hop, and reasoning summaries stream into the Ctrl+R pane for the first time on this provider. OpenRouter's Responses endpoint is wired up the same way.Nothing to configure. There is no new picker row, flag, or config key: pick
gpt-5.4and it routes to Responses, pickgpt-4oand it stays on chat. Models that are chat-only (claude-*,gpt-4.x) are never dragged onto Responses, where they would400. If a host turns out not to serve/responsesafter all, that exact model falls back to chat by itself and stays there for the session — so a model line-up that shifts under us degrades quietly instead of stranding you in a failure loop.
Internal
- The wire dialect is now a property of the (provider, model) pair rather than a static field on the provider row, with
provider::dialect_for()(provider/dialect.hpp) as its single authority. The same question used to be answered in three places that disagreed — the row'swirefield, Copilot's privateprefers_responses_dialect(), and the UI'swire_streams_reasoning_text()— which is how theopenairow once shipped labelledWire::OpenAIResponseswhile dialling chat, teaching the thinking pane to promise output the wire never sent. The transport picking a URL and the UI deciding whether to offer Ctrl+R now call the same function, so that class of drift is unrepresentable. A host advertises its second dialect with oneresponses_pathcolumn, checked byendpoints_consistent()at compile time exactly likepath; Copilot's hardcoded table became a thin forward.api.openai.comjoined the Responses dialect as oneSite, zero codec changes, exercising the claim indocs/PROVIDER_HETEROGENEITY.md.
v0.7.0 · 2026-09-04
Added
-
Ctrl+B — loop mode: send a message, and keep sending it until you stop. The "keep hammering on this prompt" workflow — iterate a refactor until it builds, re-run a failing test, poll until something converges — without retyping or holding Enter. Ctrl+B sends the composer's message and re-sends it automatically after every completed turn, until you press Ctrl+B again. Arming snapshots the payload rather than re-reading the live composer, so what repeats is what you armed. While armed the composer keeps displaying that prompt and becomes read-only — dimmed text, parked caret, every mutating keystroke dropped at the reducer's single entry point — because a box you could edit would let the display say one thing while agentty sent another; Ctrl+B is the deliberate exception so the mode is never a trap (Esc still cancels the turn). The composer grows a
⟳ LOOP ×Nchip and takes a brand-tinted border while armed, so the gap between auto-sent turns never looks like nothing is happening, and an unbounded loop stays distinguishable from a hang. Arming on an empty composer is refused rather than entering a state that can never fire, and an explicitly queued message still outranks the standing loop.The auto-sent message is indistinguishable from one you typed: it goes through the same submit path, so the model sees a plain user turn with no marker on the wire, in the transcript, or in the saved thread.
A loop backs off instead of hammering when a turn fails. Re-sending a rate-limited turn instantly is how a 429 deepens into a longer one, so a failure parks the next send behind a deadline: the provider's own
Retry-Afteris obeyed verbatim when it sends one, and otherwise a consecutive-failure counter escalates a per-class schedule (rate-limit/auth 30s doubling to a 10 min cap; transient blips 5s to a 2 min cap) that resets on the next success — so a hiccup costs seconds while a sustained outage decays to a slow poll instead of spinning. Only Esc stops the loop outright. While waiting, the chip counts down (⟳ RETRY 24s) so a deliberately paused loop never reads as a wedged one. Design:docs/design/loop-mode.md. -
Ctrl+/ inside the model picker scopes the list to one provider. Highlight any row and press Ctrl+/ to collapse the list to just that provider's models (title reads
Models · GitHub Copilot only); press it again to go back to every provider. Your recents from that provider are kept, and the browse band retitles to<PROVIDER> MODELS.
Fixed
- Custom OpenAI hosts show their models again (#30). A custom provider such as z.ai's GLM Coding Plan (
https://api.z.ai/api/coding/paas/v4) came up with an empty model picker after 0.6.0, with no error. agentty's HTTP client had no content-encoding decoder, and that gateway gzips its/modelsJSON even when noAccept-Encodingis sent — so the model list arrived as compressed bytes, the JSON parse failed, and the picker was silently blank. (Chat still worked, which is why it looked provider-specific: the streaming transport already forcedaccept-encoding: identity; the model-list request did not.) Fixed in two layers so the whole class of bug is closed: every OpenAI-family request now sendsaccept-encoding: identityfrom the one place headers are built, and the client now decodesgzip/deflateresponses anyway — a self-contained RFC 1952/1950/1951 inflater with no new dependency, a 64 MiB decompression-bomb cap, and a safe fall-through (unknown or corrupt encoding keeps the raw body and logs, never drops the response). - agentty no longer crashes on exit when stdin is a closed pipe (Windows). Launching under MSYS2/mintty with stdin already at EOF (
type NUL | agentty.exe) faulted with an access violation.init()kicked the@file-list walk and the#symbol scan on detached threads, which were still running when the process teardown freed the state they had captured. Both prewarms now own a joinable thread thatmain()joins before teardown — the same discipline the TLS-prewarm dial already followed. - Ctrl+C quits from anywhere. Every modal picker's key handler returns unconditionally, so a Ctrl+C pressed while the model picker, thread list, command palette or any other overlay was open got swallowed — you had to Esc out first. The quit check now runs before overlay routing, matching the documented contract that Ctrl+C is the one app-exit key.
Changed
- The model picker browses one flat, alphabetical list. The "from this provider" / "from all other providers" split is gone: every non-recent model sorts alphabetically across providers under a single
ALL PROVIDERSband, so finding a model no longer depends on knowing which provider you happen to be on. Section headers are now uppercased and hued per section (recent / models / not signed in) with a dim right-pinned count. Digits type into the filter like any other character — the 1-9 quick-select is removed, soglm-4,gpt5ando3search normally.
Internal
- The 2,000-line
view/pickers.cppis split intoview/pickers/{model,nav,tool,misc}_pickers.cppover a sharedpickers_common.hpp(viewport sizing, tier hue, the reasoning footer, a reusablesection_header()), so touching one picker no longer recompiles them all. The public API is unchanged. - The CI perf gate no longer flakes on a loaded runner: the live-tail build-ratio check now also requires a meaningful absolute cost before it fires, and the mid-run frame gate keys on the median (the steady-state cost a user feels) instead of a p99 that one stalled frame can spike.
v0.6.0 · 2026-09-03
Changed
- Smart Mode is now one switch and three slots — four rows, down from eleven. It shipped with a master toggle plus seven sub-layer toggles, which is a product hedging rather than an opinion. Three of those (Internal routing, Orchestration, Subagent routing) are folded into the master switch: nobody rationally ran Smart Mode with orchestration off, and "send my compaction summaries to the flagship instead of the cheap model" is strictly more expensive for no benefit. A toggle earns a row only where a reasonable user would reasonably choose either way. The other four (Learned routing, Outcome feedback, Speculative, Plan recall) are deleted: self-supervised loops that mutated routing from persisted per-workspace state, never measured against the fixed policy, each carrying a real correctness surface (two on-disk stores, a regret denominator a tool-heavy turn could inflate 5×, a decay schedule, a blend rule). The useful half of the signal survives where it costs nothing — the session cascade still reads delegation count, build failures and next-turn corrections, still decays and clamps, and now dies with the process instead of ratcheting one week's cost into the next. Net −1,012 lines of runtime code. Existing
.agentty/routing_memory.tsvand the seven deadsettings.jsonkeys are simply ignored — no migration, nothing deleted from your disk. Developer escape hatches:AGENTTY_SMART_NO_INTERNAL,AGENTTY_SMART_NO_ORCHESTRATE,AGENTTY_SMART_NO_SUBAGENTS. The palette's "Reset Smart Mode learning" command is gone with the stores it reset. AGENTTY_SMART_ENABLEDis gone;AGENTTY_SMART_MODEis the one Smart Mode env pin. The two names were aliases with a precedence rule, which is a second source of truth and a question users shouldn't have to ask ("which one wins?").AGENTTY_SMART_MODE=1|0forces the master switch on/off for one process, as before;1/true/yes/onare on,0/false/no/offare off, unset = your saved setting. TheVar::SmartEnabledregistry row is deleted —env.hpp'severy_var_has_row()bijection proof caught the leftover enumerator at compile time.- There is now exactly ONE model picker. Ctrl+/'s cross-provider picker absorbed the last job of the old single-provider one — Smart Mode role→model assignment — and the old picker is deleted. Opening a Smart Mode slot (Ctrl+S → Strategic / Implementation / Utility) now descends into the same picker in slot-assign mode: the title reads
Smart Mode · pick Strategic model, Enter pins the role instead of switching your model, Esc goes back to the Smart Mode overlay at the row you came from, and the list is scoped to the active provider — because a slot's model is dispatched to whichever provider is live at turn time, so a cross-provider pin could never stream. Ctrl+/ inside the picker now closes it (it used to toggle to the second picker); Ctrl+R (toggle reasoning display) moved over. Deleted: theModelPickerMsgdomain and its 11 message leaves,model_picker_update,ui::model_picker,on_model_picker,ov::ModelPickerand its scroll state — oneMsgdomain fewer (19→18) and one fewer surface to learn. (smart_slot_picker_stack_testcovers pin/pop/scoping; seedocs/design/unified-model-picker.md§Consolidation.) - The unified model picker also tunes reasoning effort. Ctrl+/'s picker gained the reasoning controls — ←/→ cycle the highlighted model's effort tier, Ctrl+E toggles its per-model thinking override (with a live effort chip in the footer) — so switching a model and tuning how hard it thinks is one surface. The provider picker's
^/cross-hop opens it too.
Fixed
- Image paste over SSH works, and a large paste no longer freezes the UI. Four separate defects sat between Ctrl+V and a pasted screenshot, each of which alone was enough to break it. (1) A 1.2 s deadline. The clipboard read armed a 1200 ms timer and, on expiry, reported "your terminal didn't answer" unless a complete paste had landed. That is right for a local text read (a few hundred bytes, answered in microseconds) and hopeless for an image — base64 PNG measured in megabytes, streaming through ssh and tmux — so the bigger the screenshot the more certain the failure. The deadline now scales to the link (6 s when
SSH_CONNECTION/SSH_TTYsays there is a network to cross), and maya publishesclipboard_rx_bytes()so the timeout re-arms while bytes are still arriving instead of declaring silence mid-transfer: a transfer gets as long as it needs and self-terminates when the bytes stop. (2) A 256-byte read buffer.read_raw()took one 256 B read per poll cycle, and the loop around it is poll → read → parse → maybe render — so a multi-megabyte paste became ~16k poll/read round-trips with no frame drawn between them. Measured on a 4 MB payload: 16,384 poll-cycles → 1. Parsing was never the cost (4 MB parses in ~20 ms); the syscall count was. Both POSIX and macOS now drain the fd in 64 KiB chunks, bounded by a 4 MiB burst cap so a nonstop peer cannot starve rendering. (3) A stale capability verdict. maya probed tmux once per process, but#{client_termfeatures}describes whichever client is attached — so detaching a desktop terminal and reattaching from a phone (or simply fixingtmux.confand reattaching) left every answer describing a terminal that was no longer there, and no amount of correct configuration could clear it short of a restart. Capabilities are now keyed by client identity with a cheaprefresh_if_client_changed(), called at the one moment it earns a round-trip: a clipboard read has just failed and we are about to explain why. (4) mosh was invisible behind a persistent tmux. The mosh check walked our ancestry, which cannot work when the tmux server is launched by systemd — the mosh client attaches later, somosh-serveris a sibling of the server and never an ancestor of a process in a pane. A real mosh session was therefore diagnosed with the tmux wording. It now walks the tmux client's ancestry, where the transport actually lives. (mayaterminal/{tmux,input}.cpp,platform/{posix,macos}/terminal.hpp;runtime/app/update/composer.cpp.) - An ordinary text paste no longer scolds you about kitty permissions. Every Ctrl+V over SSH was answered with "pasted text — kitty needs clipboard READ permission: add
clipboard_control …", including right after adding exactly that and getting image paste working. Two mistakes compounded:clipboard_wanted_imageis set for any paste (Ctrl+V is the only paste key, so "the user asked for an image" was never something we knew), and over SSH the local clipboard probes always fail, so every text paste fell through to the terminal query and landed in the arm meant for "asked for an image, got text". We cannot see what was on the clipboard, so a text reply is only suspicious when the terminal has no image dialect at all; if OSC 5522 is available, a text answer simply means the clipboard held text. The surviving message is now about a missing capability rather than permissions — and the kitty branch is gone, because it advised fixing a setting based on the false premise that a denied read is answeredEPERM(kitty answers nothing, which is precisely why this was hard to diagnose). A warning that fires when nothing is wrong is worse than no warning: it trains people to ignore the one that matters. - Docs:
clipboard.mdleads with the fix and can diagnose itself. The page already contained the answer and still cost a full debugging session, because every layer here fails the same way — silence — and the page explained the mechanism before it gave the remedy. It now opens with the two-line kitty fix, adds the missingclipboard_max_size 0(without which a screenshot can exceed the cap and be dropped, again silently), says loudly thatkitty.confmust be edited on the machine kitty runs on (editing it on the remote host does nothing — the most expensive mistake available here), and ships a verified probe that isolates the failing layer in ten seconds: send DA1 and an OSC 52 read, compare byte counts. A control reply with a silent clipboard proves the terminal is refusing, which no error message can tell you — agentty can only observe that nothing arrived, so it names the likeliest gate and can point at innocent tmux settings. - The status bar and sparkline no longer collide or drift. At the tight width the activity row painted
1.9sCTX— the phase chip's elapsed tail flush against the context gauge's label, with no column between them. The middle slot was a barespacer()(grow:1, natural width zero), which distributes slack but holds nothing open once there is none; the fit test asked only whether phase + right fit, never that anything separated them. The seam now reserves a real column, counted in the fit and drawn, so a rung that cannot pay for it sheds instead — collision is never the cheaper option. Separately, the token rate read0.0 t/sat low values and105.2 t/sat high ones: the number was left-aligned in a fixed field with the unit appended, so the field's slack landed between a quantity and its unit — one word, with a hole in it that changed width every frame. The number is now formatted tight, the unit glued with exactly one space, and the whole<number> t/stoken padded as a unit; total width is unchanged, so the spark still never moves. - Smart Mode showed the wrong model: the badge said "Mistral" while every token came from GLM. Under orchestration the turn is dispatched on the resolved role model (
strategic_profile.model), but both the status-bar chip and the assistant turn header readModel::d.model_id— the picker selection — so the UI contradicted the debug log, and the log was right. It lied retroactively too: because the header was derived from live state at render time, switching models relabelled every turn already in the transcript. A turn's provenance is a property of the turn, so it now lives there:Message::served_model/served_roleare stamped once atStreamStarted, survive persistence, and are mixed into the per-message render key. The status chip names the in-flight routed model while a Smart Mode turn streams and falls back to the selection once it settles. (turn_provenance_test.) - Smart Mode delegations were invisible in the logs. The
smartlog channel existed but nothing ever wrote to it, so a debug file contained only the Strategic turn's wire traffic — subagent and utility dispatches appeared (if at all) as anonymous requests with no role, no parent, and no sign they were delegations.AGENTTY_LOG=smart=debugnow yields the complete trace: oneroute.turnline per turn (role, model, effort, complexity, orchestrate/subagents/compacting flags) and oneroute.subagentline per worker launch (agent type, whether Layer 3b or the tier auto-router chose the model, parent model, chosen model). - Each Smart Mode turn is now labelled with the model that produced it, with a per-role accent so a scrolled transcript reads as a delegation trace:
strategist(bright magenta),implementer(blue),utility(bright cyan) lead the turn's meta strip next to the model name. ^Ein the model picker wrote junk overrides for Claude/GPT models. The family gate — present in the old picker — was dropped when the arm was ported to the fused one, so pressing^Eon Opus or GPT-5 persisted areasoning_effort_overridesentry that silently shadowed the family-decoded ladder instead of showing the "model-managed here (←/→ to set the tier)" hint.
Added
- Nested skills: group folders below a skill root are now discovered. Skill discovery walked only one level (
skills/<slug>/SKILL.md), so a library organized with group folders —skills/embedded/startup/SKILL.md— was silently invisible. Discovery now walks each root up to four levels deep: a directory holding aSKILL.mdbelow the root is a skill, named by its path below the root (embedded/startup/→embedded-startup). The derived name is what you type as/name, so it is held to the spec'sa-z0-9-charset rather than assumed to match it — case is folded, anything else becomes-, runs collapse, and the result is length-capped; a path that sanitizes to nothing is skipped rather than given an invented name. Flat layouts keep their names unchanged; hidden directories are never descended into; on a collision the shallower skill wins within a root (ordered by depth explicitly — plain lexicographic order sortsa/bbeforea-b, which would have let an unrelated group folder silently displace an existing flat skill) and project still shadows user; the mtime cache signature covers every discoveredSKILL.md, so adds/removes of nested skills invalidate as before. Both the depth cap and an in-walk entry cap keep discovery bounded: a skills root that happens to contain a large tree is no longer traversed in full on every cache miss. A nested skill'sSKILL.mdis no longer listed among its parent's tier-3 resources, and lint compares the frontmatter name against the spec-derived slug instead of the leaf directory (a nested skill never matches its leaf dir alone). (skills_engine_test.) - Cross-provider model switching is now first-class: one picker spanning every provider you're signed into. Ctrl+/ opens a single fuzzy list where each row is
provider · model— typesonfor every Sonnet across Anthropic/Copilot/…,gptfor every GPT — and Enter switches provider, model, and account atomically in one step (no more "pick provider, wait, pick model"). A recent section (the models you actually toggle between) sits on top with the active model pinned and marked; providers you're not signed into appear as dim sign in to … rows that drop straight into that provider's login and return you to the picker. Ctrl+Tab quick-swaps to your previous model without opening anything. The switch is atomic by construction:commit_provider_switchgained adesired_modelso the exact chosen model is installed instead of a per-provider recall/default. Catalogs for every authed provider load lazily and concurrently on open (the active provider is seeded instantly from the live list; each other resolves in place), and the recents MRU persists across restarts. Ctrl+P stays the surface for managing backends (custom hosts, accounts). Design:docs/design/unified-model-picker.md. (domain/catalog.hpptypes,provider/auth_state.*,runtime/fused_models.hpppure ranking core,FusedPickerMsgdomain +fused_picker_updatereducer,cmd::fetch_models_for,ui::fused_pickerview;fused_models_test+ fused reducer cases inprovider_model_switch_test.)
Fixed
- No more
-Wunused-resultwarning from the log sink on fortified (distro) builds. Distros that inject_FORTIFY_SOURCE(Arch makepkg uses=3) activate glibc'swarn_unused_resultattribute onwrite(), and GCC deliberately ignores a plain(void)cast for such functions — so the one best-effort(void)AGT_WRITE(...)inlogx::emitwarned on every hardened build while upstream CI (no fortify) stayed quiet. It now uses the codebase's established(void)!write(...)idiom (same as the crash handler), which counts as using the result. (util/logx.cpp.)
v0.5.0 · 2026-08-28
Added
- Tool cards render with real precision, prioritized by how often each tool is used.
grepresults are re-synthesized from the tool's markdown into maya's groupedGrepMatchestable — path shown once per group, each match on a right-aligned row with its true file line number (derived from the search blocks) instead of the old dim tail-only preview that showed the closing code fence.readcards strip the tool's[showing lines A-B of N]footer andSUCCESS: `sym` defined at …header (previously numbered as file content, skewing every line below) and mine them for the true first line — so symbol reads (no offset arg) and tail reads (negative offset) get correct gutters, and the header names the symbol (file.cpp · foo()). Edit/diff cards get a line-number gutter parsed from@@hunk headers (per-side counters, blanked across an elided gap and resumed at the next hunk so a shown number is always true); a streamingwrite's tail slice numbers rows by their real file position instead of restarting at 1. Theprocess_start/poll/stoptrio now sharesbash's terminal-output body (tail-anchored, exit codes, test/compiler-summary extraction) rather than the generic fallback, and head-heavy tools (repo_map,outline,list_dir, search) show their head instead of the pagination footer. (runtime/view/thread/turn/agent_timeline/{list_body,read_body,write_body,tool_body_preview,tool_helpers}.cpp, mayatool_body_preview.hpp;tool_timeline_adapter_test.) - Structured diagnostic log (
AGENTTY_LOG). A designed logging system replaces the ad-hocdbglog(fopen-per-line under a global mutex) and the scatteredAGENTTY_*_PROFsites. RUST_LOG-style filtering across 11 channels × 5 levels (AGENTTY_LOG=warn,wire=trace,auth=debug), gated by one atomic load per call site so a disabled statement costs ~1 ns and formats nothing. The file opens once (O_APPEND, atomic appends, no write-path mutex) and rotates at 32 MB;AGENTTY_LOG=debugalone defaults to~/.agentty/agentty.log. An always-on flight recorder keeps the last ~256warn+ events in a lock-free ring even with file logging off, and the SIGSEGV/SIGABRT handler dumps it to stderr after the backtrace using only async-signal-safe writes — so every crash ships with what led up to it.AGT_SPANadds RAII scope timing.util::dbglogforwards here (its ~40 catch-sites now feed the flight recorder);AGENTTY_DEBUG_LOGstill works. New doc: Logging & diagnostics. (util/logx.{hpp,cpp},util/dbglog.cpp,runtime/main.cpp;logx_test.) AGENTTY_DEBUG_APInow traces every wire. The raw request/response dump lived inside the Anthropic SSE header, so debugging a custom OpenAI-compatible host — the case that needs it most — logged nothing. Hoisted to a sharedprovider/debug.hpp; the OpenAI-family transport now dumps the request line, body (4 KB), status, and every chunk (2 KB). (provider/debug.hpp,openai/transport.cpp,anthropic/sse.hpp.)- Multiple accounts on one custom host via a
#nametag.https://ollama.com/v1#workand…/v1#personalare distinct entries (separate API keys, models, picker rows); the fragment is stripped before dialing but kept on the row so accounts are distinguishable. Keyless local hosts are now saved (they used to vanish from the picker after a switch), and trailing-slash spellings normalise to one key. (openai/transport.cpp,runtime/app/update/login.cpp,runtime/view/login.cpp.) AGENTTY_SMART_MODE/AGENTTY_SMART_ENABLEDsession pin. Force Smart Mode on (=1) or off (=0) for one process without touchingsettings.json— for CI, benchmarks, bisecting. Never persisted; the^Soverlay shows the pin and an in-app toggle becomes a hinted no-op while active. (domain/smart_tuning.hpp,util/env.hpp,runtime/app/init.cpp.)- Scroll inside a huge hunk in the review pane with
^D/^U(or PgDn/PgUp) — rows past the 24-line cap are reachable, bracketed by "↑ N above" / "… N more" indicators. (runtime/view/thread/turn/turn.cpp,runtime/app/update/diff.cpp.)
Fixed
- The custom-host / llama.cpp “dead loop when prompted”, root-caused across seven mechanisms (field report). (1) Bare URLs now default the path prefix to
/v1(was/chat/completions, which every real local server 404s); explicit paths kept verbatim;list_modelsprobes/v1/modelson a 404. (2) llama.cpp streams failures as a namedevent: error(or a bare{code,message}) under HTTP 200 — previously dropped silently, fabricating(empty response)and re-firing forever; now surfaced as a typedStreamError(a 400 is terminal on the first try, a 503 keeps its budget). (3) A monotonicno_progress_failureslatch (cap 6, reset only by real model output) stops a decay-window reset from looping a broken endpoint forever — applied on the main and compaction retry arms. (4) Local idle/stall timeouts stretched to 10 min (silent prompt processing on big models); the phase chip reads “processing…” until the first token. (5) Stale per-spec model recall is refused cleanly instead of 400-ing. (6) Server-neutral 404/connection hints (were Ollama-specific). (7) The connect-time model fetch surfaces “no response from host:port — is the server running?” immediately. (openai/transport.cpp,runtime/app/update/{stream,modal,cmd_factory}.cpp,domain/session.hpp,provider/error_class.hpp,runtime/view/{pickers,status_bar/phase_chip}.cpp;openai_transport_test.) - Reasoning UI/UX + streaming across all providers. Multi-block thinking capture (interleaved thinking emits several signed blocks — the old single-pair merge 400'd the replay);
redacted_thinkingblocks captured + replayed; Codex summary parts/items get paragraph separators; Ollama<think>tags carried across NDJSON frame boundaries; OpenAI empty-reasoning_contentno longer shadows a populatedreasoning; hidden-reasoning capture downgraded to heartbeats to avoid session bloat. (domain/conversation.hpp,runtime/msg.hpp, provider SSE parsers,io/persistence.cpp.) - Smart Mode: payload-aware routing + per-thread hygiene. The classifier read only composer text, so “fix this” + a 500-line paste under-routed as Simple —
refine_with_payloadnow lifts the tier on attachment size/images. Complexity momentum, cascade bias, and the outcome signature no longer leak across thread switches; the overlay renders effective (not raw) layer state. (domain/complexity.hpp,runtime/app/{cmd_factory,update/picker,update/meta}.cpp.) - Every modal's open key toggles it closed (
^P/^//^K/^S/^T/^O/^G/^R) — previously the dispatcher swallowed the key, and^Keven typed an invisible control byte into the palette query. Model ↔ provider pickers cross-hop. Login sub-modals Esc back one level (custom host → host input → key prompt), restoring typed state, instead of collapsing to the composer. (runtime/app/subscribe.cpp,runtime/app/update/{picker,login}.cpp,runtime/view/login.cpp.) - Permission + review panes made honest. Permission prompt is quittable with
^C(was swallowed); “always allow” says it persists and how to revoke it (via profile cycle). Review-pane^X(revert everything) is a two-press confirm; Esc's commit semantics are named in the footer; the implicit-accept on submit and the turn-end “N files edited — ^R to review” are surfaced. (runtime/app/subscribe.cpp,runtime/app/update/{tool,meta,diff,modal,stream}.cpp,runtime/view/diff_review.cpp.)
Fixed (earlier)
- Reasoning effort now works for hosted OpenAI-Chat reasoning models, and is user-configurable per model (issue #20). The effort chip (
←/→in the model picker) and the top-levelreasoning_effortpayload were gated on the Claude/GPTFamilyladder only, so every compat reasoning model decoded toFamily::Unknownand silently dropped effort — even though the Chat transport already emitsreasoning_effort. Two layers now fix this:- Inference (zero-config default): a new orthogonal
ModelCapabilities::reasoning_compatflag (decoded infrom_id, kept independent offamilyso tier/context/output ceilings are untouched) recognizes Mistral (Small 4 / Medium 3.5 —mistral-small*,mistral-medium*), DeepSeek-Reasoner/R1, xAI Grok (grok-4*, grok-3-mini), Gemini*-thinking, and o-series and openssupports_effort()for them. These expose the 3-levellow|medium|highenum, so a stalemax/xhighpick degrades tohighinstead of 400ing. Non-reasoning / native-reasoning siblings are excluded:grok-code-fast,codestral,deepseek-chat, and — crucially —magistral-*, which reasons NATIVELY and rejectsreasoning_effort(HTTP 422). - Per-model override ("configure it myself"): press
^Ein the model picker to cycle the highlighted model's overrideauto → forced on → forced off → auto. It persists toSettings.reasoning_effort_overrides(settings.json), is pushed into the catalog at startup, and resolves viaresolved_caps(id)with precedence per-model override >AGENTTY_FORCE_EFFORTenv > catalog inference. Claude/GPT stay family-gated (the override only opens/closes the compat lane; it never fabricatesmax/xhigh). The picker footer names the current override state. (catalog.hpp,store.hpp,io/persistence.cpp,runtime/app/init.cpp,runtime/app/update/picker.cpp,runtime/app/subscribe.cpp,runtime/msg.hpp,runtime/view/pickers.cpp;model_caps_test— "compat reasoning effort (chat wire)" + "per-model reasoning override registry".)
- Inference (zero-config default): a new orthogonal
v0.4.0 · 2026-08-25
Added
- Six more built-in providers: native Kimi (Sign in with Kimi — OAuth device flow, no API key), plus API-key rows for DeepSeek, xAI (Grok), Mistral, Google Gemini, and Fireworks (
--provider kimi|deepseek|xai|mistral|gemini|fireworks, or pick in^P). The API-key providers each get a dedicatedEndpoint::from_specarm for their host/path (DeepSeek at the root, no/v1; Gemini's OpenAI shim nested under/v1beta/openai; Fireworks under/inference/v1) and read their key from the provider env var (DEEPSEEK_API_KEY,XAI_API_KEY,MISTRAL_API_KEY,GEMINI_API_KEY/GOOGLE_API_KEY,FIREWORKS_API_KEY),-k, or the in-app prompt. Capability inference now recognizes thedeepseek-v4/-reasoner/-chat,grok,gemini, andmagistralfamilies as native tool-callers, and hosted providers ship a small bundled model seed so the picker shows models before a key is set. (registry.hpp,openai/transport.cpp,catalog.hpp,selection.cpp;openai_transport_test.) - Provider picker (
^P) now has a live search filter — start typing to fuzzy-narrow the list (kimi,grok,deepseek…), matching on id, label, and blurb; Backspace trims. Mirrors the model picker (^/). The picker's rows (built-in providers + ACP agents + saved custom hosts + "Custom host…") are now one ordered, single-source row model shared verbatim by the reducer and the view, so the cursor and selection can never disagree — no more parallel index arithmetic. - Device-flow login modals copy BOTH the code and the URL. In the Copilot / Kimi sign-in modal, c copies the one-time code and u copies the verification URL (both via OSC 52, so they work over SSH); o re-opens the browser. The device-flow login path (state, worker, panel, key handling, completion) is now provider-generic — one
DeviceWaitingstate, onedevice_login_asyncworker, onepanel_device_waiting— instead of duplicated Copilot/Kimi copies.agentty loginnow lists GitHub Copilot and Kimi alongside Claude / ChatGPT.
Changed
- SSE anti-buffering headers are now single-source. The three directives that stop gateways from buffering/compressing a stream (
cache-control: no-cache, no-transform,pragma: no-cache,accept-encoding: identity) were hand-written in all three streaming transports. Hoisted tohttp::sse_no_buffer_headers()/append_sse_no_buffer(); Anthropic, OpenAI-Chat, and Codex/Responses all route through it so the set can't drift. (io/http.hpp; pinned byopenai_transport_test.) - Reasoning is now uniform across every wire (SSOT). Reasoning effort and streamed chain-of-thought were only wired on the Anthropic (thinking) and OpenAI-Responses (reasoning) transports; the OpenAI-Chat wire — which every hosted API-key provider uses — silently dropped both. Now:
effortis copied once inlower_shared(no per-transport hand-copy); the OpenAI-Chat body encodes top-levelreasoning_effort(o-series, DeepSeek, Grok, Groq, Magistral, Gemini-compat), gated by the same upstreameffort_wire_for; and the Chat SSE parser readsreasoning_content/reasoningdeltas into the sharedStreamThinkingDeltaevent — so DeepSeek/Grok/Gemini thinking now streams and renders exactly like Claude's, with no Anthropic-wire detour. The duplicatedbuild_tools(byte-identical in the OpenAI + Ollama transports) is hoisted towire::openai_chat_tools, and the null-schema guard is shared with the Responses encoder. (provider.hpp,msg_shared.hpp,openai/transport.cpp,ollama/transport.cpp,chatgpt/responses.cpp.)
Fixed
- Kimi sign-in works end to end. A cluster of fixes to the native Kimi device-flow OAuth: the device-code grant now uses the RFC 8628 URN (
urn:ietf:params:oauth:grant-type:device_code) Kimi requires (was rejected asunsupported_grant_type); the verification URL is rewritten off the deprecated, dead-endwww.kimi.comhost ontowww.kimi.ai; the modal shows and opens the code-embedded URL so it works over SSH/mosh where the browser can't auto-open; and Kimi'sX-Msh-*device-identity headers are sent on the OAuth and the API (chat + models) requests, matching the officialkimi_code_cli— without them the model catalog came back empty. When a Kimi Code account is out of balance the API returns an opaqueHTTP 500; agentty now probes/usagesand surfaces a clear "Kimi credits exhausted" message instead. (src/provider/kimi/*.)
v0.3.1 · 2026-08-21
Added
- Tool-heavy turns finish faster — parallel batches + speculative reads. Independent tool calls in one turn now run concurrently (only genuine conflicts serialize; the effect- and path-aware scheduler makes a wide batch always safe), and a pure read-only tool starts the instant its arguments finish streaming — while the model is still writing the rest of the turn — so its I/O overlaps the remaining stream instead of waiting for the turn to end. On a multi-tool turn this hides seconds of file/search time inside the model's own generation. Neither changes results, only when the work happens. The system prompt now nudges the model to fan out independent calls into one message. Optional per-turn telemetry (
AGENTTY_CACHE_PROF=1→/tmp/agentty-cache-prof.log) records prompt-cache hit ratio, per-model TTFT, and tool batch-width. (src/runtime/app/update/stream.cpp,src/runtime/app/cmd_factory.cpp,src/provider/anthropic/prompt.cpp;speculative_dispatch_test.) - The connection re-warms itself after an idle pause. agentty already opens the TCP+TLS+HTTP/2 connection while you type so the first request skips the handshake; now, if a session sits idle long enough for the pooled connection to lapse (~90 s), the next keystroke silently re-dials in the background — so a message after a break is as fast as one mid-flow. (
src/runtime/app/update/composer.cpp.)
Fixed
- Rewinding to a checkpoint now removes files the agent created after that point. A rewind is meant to restore the worktree bit-for-bit to the checkpointed instant, but files the agent created after the checkpoint were silently left behind — the tree came back "touched files put back," not truly restored. The internal file listings used git's NUL-separated (
-z) output, and the shared subprocess runner scrubs terminal-control bytes from all captured output — including those NUL separators — so both the snapshot and current-file sets parsed to empty and the delete-half of the restore never ran. The listings now use newline separation with raw (unquoted) UTF-8 filenames; a filename literally containing a newline is skipped rather than mis-deleted. Edited files rewind, deleted files return, created files are removed, and git-ignored files (build output, caches) are never touched. New end-to-endcheckpoint_testruns the full create→mutate→restore lifecycle against a real scratch repo. (src/workspace/checkpoint.cpp;checkpoint_test.) - Tool results no longer vanish onto a dead card when a provider reuses tool-call ids. Some OpenAI-compatible gateways mint a deterministic id per (tool, index) — literally
"bash:0"for every bash call on every turn — instead of a uniqueToolCallId. One agent turn holds several assistant messages in the live tail, so the next sub-turn's"bash:0"collided with the previous one's (already Done): the old id lookup matched the first one, so the result was stamped onto the dead card, the real call stayed Pending, and its card hung until the step timeout. Result/progress/timeout/permission routing (with_live_tool) now prefers the first non-terminal call carrying the id, and streaming assembly is already scoped to the current sub-turn's message — so every tool card completes with its own output. (include/agentty/runtime/app/update/internal.hpp;dup_tool_call_id_test.)
v0.3.0 · 2026-08-14
Added
-
GitHub Copilot as a first-class native provider (
agentty login→ GitHub Copilot, or--provider copilot). Use your existing Copilot subscription's models — no API key. Sign-in is GitHub's device flow, fully in-TUI: pick GitHub Copilot in the provider picker (^P) and a modal shows the one-time code + opens the browser (ccopies the code via OSC 52 so it works over SSH), polls in the background, and switches on approval — exactly like the Anthropic / ChatGPT OAuth flows. Everything is uniform with the other native providers: the picker row reflects real sign-in state (⚠ sign in/✓ signed in · accounts), andEnteron the active row opens a full multi-account manager (switch / add / remove GitHub accounts). Auth is a short-lived Copilot proxy token exchanged from a persisted (encrypted) GitHub token and auto-refreshed mid-session (skew-safe, single-flight, cross-process-locked), routed to the account's own inference host (endpoints.api— Individual/Business/Enterprise). Model listing is entitlement-aware: it reads the account's real plan + quota (/copilot_internal/user) and shows only the models the subscription can actually use, usable ones starred on top. And it implements Copilot's “Auto” mode — the server-side router that lets Free/Limited plans reach premium models (Claude, GPT-5) that a direct request would reject — as a first-classAuto (best available)entry plus the auto-reachable models, driven by the/models/session+Copilot-Session-Tokenprotocol. (src/provider/copilot/;copilot_token_test.) -
Smart Mode — a self-supervised orchestrator that routes each turn and gets better at your repo (
Ctrl+K → Smart Mode, config overlay onCtrl+S). A role-based execution router built on the orchestrator-workers pattern (Anthropic's multi-agent research + the RouteLLM/cascade literature), with everything toggleable and off = a byte-for-byte no-op. You pin three models to three roles — Strategic (your flagship: the thinking), Implementation (mid: writing code), Utility (cheap: grep/read/summarise) — or leave them to zero-config auto-fill from your live catalog. Nothing ever checks a model name; one pure, tested resolver (agentty::smart) mapsrole → (model, effort). Layers, each an independent toggle in the overlay:- Internal routing — engine-internal utility work (the auto-compaction summary) runs on the cheapest capable model, never the flagship.
- Orchestration — the main turn runs on Strategic and a
<smart-mode>directive teaches it to keep the decisions and DELEGATE mechanical work to subagents (task explorer/coder), with a complete brief, in parallel, wide-then-narrow. - Subagent routing — each subagent's model resolves by its role (explorer→Utility, reviewer→Strategic, coder/tester→Implementation).
- Complexity-scaled effort — a local classifier rates each turn Trivial/Simple/Standard/Complex and scales the Strategic model's reasoning effort accordingly (conservative: ambiguity biases up).
- Cascade feedback — the effort heuristic self-corrects within a session from what the orchestrator actually did (heavy delegation ⇒ it was harder than rated).
- Learned routing (learns across sessions) — a per-workspace prior (
.agentty/routing_memory.tsv, Beta-smoothed) remembers whether each class of turn was under/over-rated in this repo, so the router improves the more you use it — something a stateless router structurally can't do. - Outcome feedback — the ground-truth signal: a failed build/test in the turn, or a user correction on the next turn ("no", "that's wrong", "revert"), is a routing regret that re-rates that class of turn.
- Speculative (opt-in) — on Complex turns, a detached local retrieval warm-up runs while the lead thinks, so the workspace grounding is hot by the time it delegates.
- Plan recall — successful decompositions are captured per-workspace (
.agentty/decompositions.jsonl) and the closest past one is injected into the delegation prompt as a concrete few-shot, so the orchestrator reuses what worked instead of re-deriving it.
Every orchestrated turn surfaces its routing DECISION as a first-class 🧠 Smart Mode card in the transcript (routed model · scaled effort · complexity · active layers); the delegations themselves render as ordinary
tasktool cards. Persisted tosettings.json; single-provider; single-model/Opus-only accounts degrade to no-op per layer. Design:docs/design/smart-mode.md. Tested:smart_mode_test,complexity_test,routing_memory_test,decomposition_memory_test. -
A single "RAG" picker for proactive retrieval (
Ctrl+K → RAG). One decision instead of a wall of toggles: On (inject retrieved context before every turn) / First turn only (ground the first turn, then stay quiet) / Off. Persisted; the advanced retrieval knobs remain env-tunable but out of the UI. Proactive<retrieved-context>blocks no longer leak into the composer's ↑/↓ history recall. -
Fork a thread (
Ctrl+K → Fork thread) — escape a full context window for near-zero tokens. Branches the current conversation into a fresh thread (recordsforked_fromprovenance) that carries almost no context: the parent's full transcript is exported to disk and the fork holds only a small pointer the model reads on demand — so forking is O(1) in tokens no matter how big the parent got, with nothing lost (the transcript is verbatim, not a lossy summary). The new thread opens with a ⑃ Forked card and you pick its proactive-RAG behaviour (per turn / first turn only / off). The original thread is saved untouched. The exported transcript is bounded (512 KB, recency-biased, per-message clip) so even a maxed-out parent forks cheaply. Design:docs/FORK.md. Tested:fork_test,transcript_bound_test,compaction_wire_test.
Fixed
- A running tool card no longer stays invisible while the reply is still revealing. A tool card that had already flipped to Running could show as running in the status line but have no card in the transcript. The turn view defers a freshly-arrived tool panel off-screen for a beat so it doesn't pop in mid-reveal-glide — but the defer flag was cleared by a per-frame state machine, so if the stream went quiet and no follow-up frame fired, the flag stuck and the running card stayed hidden until some unrelated event (a tick, a keystroke) nudged a repaint. The panel is now never deferred once any of its tools is actually executing (Running/Done/Failed) — deferral only exists to smooth the brief prose-glide-vs-fresh-Pending-card window, so an executing tool's card shows immediately regardless of the defer machine's state. Fixed at both panel-append sites (the single-message body path and the run-merge path). (
src/runtime/view/thread/turn/turn.cpp; tool-boundary / frozen / seam / midrun guards all green.) - Multiple open instances no longer thrash into an OAuth refresh loop when the token expires. With several agentty windows open, an expired OAuth token sent them all refreshing at once. Refresh was guarded only by a process-local mutex, so each instance fired its own refresh POST — and because Anthropic (and ChatGPT/Codex) rotate refresh tokens, the first refresh invalidated the shared token, the losers refreshed against a now-revoked one, and every instance kept seeing a token it didn't mint and refreshed again: the loop. A cross-process advisory file lock (
auth::CrossProcessFileLock— POSIXflock/ WindowsLockFileExon<creds>.lock) now serializes the refresh across processes, and a double-checked re-read after the lock lets the losers adopt the winner's freshly-saved token instead of refreshing again. Best-effort: if the lock can't be taken the old behaviour stands (no worse). Wired through every concurrent refresh path — the per-request refresh (subagent workers), startup refresh, and 401 recovery, plus the ChatGPT/Codex path. (src/io/auth.cpp,src/provider/chatgpt/codex_oauth.cpp,src/runtime/app/cmd_factory.cpp; new fork-basedcross_process_lock_testproves a second process blocks on the lock until the first releases.) - The streaming markdown reveal no longer pops a whole paragraph into view in one frame. A long, soft-wrapped paragraph would materialise smoothly and then, the instant its closing newline arrived, dump its entire remaining body at once (measured as a +172-cell one-frame jump at a paragraph→blockquote seam). The reveal clip rounded up to the end of the completed source line — but prose is one source line per paragraph that wraps at render time, so “the completed line” was the whole paragraph. The tail is now gated exactly at the reveal cursor (with a block-boundary cap so a finished block stays the reveal's last leaf), which is scrollback-safe because the uncommitted tail is redrawn in place every frame. Measured on the deterministic replay harness: worst streaming frame dropped from 172 to 22 cells (tour fixture) and 27 to 6 (smoke), both under the 24-cell CI gate; smooth- and bursty-feed reveal probes pass. A running tool's event-header elapsed is also now frozen (the live seconds live only in the seam-safe footer) so a growing tool panel can't rewrite a committed row's timer. (maya
streaming/build.cpp;src/runtime/view/thread/turn/agent_timeline/agent_timeline.cpp.) - Tools now resolve relative paths against the active project, not the access boundary — fixing widened-
--workspacelaunches. agentty keeps two distinct roots: the access boundary (workspace_root(), the security gate that file tools refuse to cross, widenable all the way to--workspace /) and the active project (project_root(), the launch cwd clamped inside the boundary). A class of tools conflated them, resolving “the project” against the boundary — so under--workspace /a model'sread src/foo.cppresolved to the nonexistent/src/foo.cpp,repo_maptried to map the entire disk,diagnostics/testrancmake --build /build/--manifest-path /Cargo.toml, and the @-file picker + symbol index scanned all of/. All of these — plusgrep/glob/list_dirdefaults,find_definition, git tools, checkpoints, and project-scopedremember— now route through the new centralizedutil::project_root(), so relative paths and project-scoped defaults land in the launched project regardless of how wide the boundary is. Every path is still containment-checked against the boundary afterward, so widening it can never let a relative path escape. By default the two roots are the same directory, so ordinary launches are unchanged. (mcp-cppfs_helpers/git/diagnostics/repomap;src/tool/util/fs_helpers.cpp,src/workspace/{files,symbols,checkpoint}.cpp,src/tool/memory_store.cpp; 18/18 mcp-cpp + agentty tool tests green.) grepandfind_definitionno longer crawl — or return hits from — build/vendor/_depstrees. The ripgrep-backed grep passed no directory excludes, so on a cold cache it stat + gitignore-checked every generated file in out-of-source build trees (tens of thousands in a repo withbuild-*/_depsdirs), and in a repo with no.gitignoreit returned matches straight out of build artifacts. Both backends now prune the same skip-list (build*,cmake-build*,node_modules,_deps,vendor, …) the built-in walker already used, passed to ripgrep as-g '!…'excludes. Measured: on a tree with non-gitignored build dirs a symbol grep dropped from 4 hits (3 generated) to the 1 real source hit, and the walk of the generated trees is skipped entirely. (mcp-cppsearch.cpp/fs_helpers.cpp.)- Thread list is ready instantly at startup (was ~1 s on a large history). The thread picker only needs each thread's title + timestamps, but those keys sit after the multi-MB
compactions/messagesarrays in every thread file, so the metadata-only load still had to stream every byte of every file to reach them — ~1 s for a 247-thread / 281 MB history, during which opening the picker (Ctrl+J) or cycling threads stalled. A smallthreads/index.jsonsidecar now caches that metadata (id → title/created/updated + file mtime); startup reads that one ~30 KB file and only re-parses threads whose on-disk mtime changed, cutting the warm load from ~1000 ms to <1 ms (~1400×). The index is refreshed on every save/delete and self-heals if missing or corrupt (delete it to force a cold rebuild). (src/io/persistence.cpp.) - Kill-to-end-of-line in the composer works again, now on
Alt+K. The readline-standardCtrl+Kkill-to-end binding was dead:Ctrl+Kis claimed app-wide for the command palette before the composer sees the key, so the composer's kill-to-end arm was unreachable. Rebound toAlt+K, which pairs withCtrl+U(kill-to-start) the same wayAlt+D(delete word forward) pairs withCtrl+W(delete word back). (src/runtime/app/subscribe.cpp; new reducer tests incomposer_edit_test, 20/20 green. Full composer keymap now documented in the README and the keybindings page.)
v0.2.12 · 2026-08-04
Fixed
- Composer editing hardened — a queued-message data-loss bug, per-keystroke undo, and three input papercuts. A sweep of the message composer across its reducer, view, and widget layers fixed six issues. (1) Editing a peeked queued message could silently delete the wrong one. After
Alt+↑loaded a queued message for editing, the peek index survived an ordinary keystroke, so pressingEntersometimes removed a different queue slot than the one on screen; a stray edit now cleanly drops the peek and becomes the live draft (symmetric with how history-walk already behaved). (2) Undo now rewinds word-by-word, not character-by-character.Ctrl+Zused to undo a single character and a long sentence blew the whole 64-deep undo history; consecutive typing now coalesces into one undo unit, broken on whitespace and on any non-typing op (paste, delete, cursor move, undo/redo, history/queue walk), so oneCtrl+Zafter a paste actually reaches the pre-paste state. (3) The live token / word / line counters were wrong whenever an attachment existed — they counted the short chip caption ([Pasted text · 412 lines · 14 KB]) instead of the payload, so a 400-line paste read as “1 line, ~10 tok”; the counter now measures the expanded attachment bodies, i.e. what actually goes to the model. (4)Ctrl+←/→word motion now steps over a run of punctuation as one unit ())))was four presses). (5) The/command palette opens on any line-leading slash, not only on a completely empty composer, matching shell muscle memory and the existing@/#word-boundary rule. (src/runtime/app/update/composer.cpp,src/runtime/view/composer.cpp, mayawidget/composer.hpp; six new reducer tests incomposer_edit_test, 17/17 green, no flicker regression.)
Added
- ACP
bashcards now always show their output, andedit/writecards render identically. Two card-rendering defects when agentty runs as an ACP agent: (1) abashrun through the live-terminal fast path attached only an ACPterminalcontent block — and because agentty releases the terminal the instant the command finishes, Zed dropped the released widget and the completed card showed nothing. The completion now also carries the captured stdout/stderr as a fenced text block ((no output)for a silent command), so the output is always visible and survives session reload; the internal (sandboxed / no-terminal-capability) path fences command output as a monospace log instead of markdown-escaping it. (2)writeannounced its diff with a nulloldText(a special "new file" affordance) whileeditannounced a normal before/after, so the two looked different in Zed;writenow announces an empty-stringoldText, giving both the same diff-card shape, and the authoritative on-disk diff still replaces it on completion. (src/acp/server.cpp:run_bash_via_terminal()completion,result_content_block()execute-kind fencing,announce_diff(); covered by a newbash-output assertion inacp_integration_test.) - ACP shell parity with Zed's native agent — slash-command menu, model picker, sign-in, and live thread titles. Running agentty as an ACP agent now lights up the same panel affordances Zed gives its own agent, closing the "second-class external agent" gaps: (1) session/new + load emit an
available_commands_updateso Zed's composer/menu is populated with/compact,/new, and every installed skill as/<skill-name>; (2) amodelconfig_option_updateadvertises the provider's model catalog, so you can switch models from Zed's per-session dropdown instead of relaunching with-m(the existingsession/set_config_optionalready applied the choice — now it's discoverable); (3) when agentty has no credentials,initializeadvertises anauthMethod, so Zed renders a "Sign in" prompt instead of erroring on the first turn; (4) the first message of a session pushes asession_info_updatewith a derived title, and restored sessions re-announce their title on load, so Zed's thread sidebar always shows a meaningful name. (src/acp/server.cpp:available_commands(),model_config_option(),emit_session_config(); covered by new assertions inacp_integration_test.) - ACP tool cards render like the native agent —
Readresults are line-numbered, tool output is markdown-safe, and every card has a body. When agentty runs as an ACP agent (driven by Zed or any ACP client), a completedreadnow sends its card body as a fenced, tab-numbered excerpt (1\talpha,2\tbeta, …) anchored at the read's offset, matchingclaude-code-acpso Zed renders a clean gutter-numbered file view instead of a raw blob. All non-diff tool result text is now markdown-escaped, so literal*, backticks,#,|, and<in file/grep/command output render verbatim in the card instead of being parsed as bold/headers/tables/HTML. Announce-time card bodies were widened to match claude-code-acp so no card renders as a bare title:bash/test/diagnosticsshow the fenced command,web_fetchshows its prompt,taskshows the sub-agent prompt (now also on replay), and any MCP / unknown tool pretty-prints its raw input as a ```json block. The same shaping is applied on session replay, so a restored thread's cards look identical to when they first ran. (src/acp/server.cpp:result_content_block(),markdown_escape(), widenedcommand_content(),prompt_content()wired intomake_tool_call; covered by assertions inacp_integration_test.) - The RAG engine now shows its work — a retrieval “funnel” in every
search_docs/search_coderesult. Retrieval used to be an opaque black box: the model (and you) got a ranked list and a terse(mode: hybrid+ctx, reranked)label, with the per-stage trace hidden behind an env var nobody set. Now every result is headed by a readable funnel that walks the candidate set through each stage it actually passed, with the real counts the engine recorded — e.g.hybrid: 47 candidates ↳ reranked top 30 ↳ dedup 30→24 ↳ stitch: merged 3 adjacent ↳ autocut 24→8 ↳ top-8— plus a one-line headline naming the retriever, the fusion method, and the confidence. You can see why eight passages came back instead of trusting a label. (AGENTTY_RAG_TRACE=0restores the compact one-line header.)
Changed
- Retrieval quality upgraded to rag-cpp's measured-best pipeline. agentty's hybrid search now defaults to adaptive convex (TM2C2) fusion instead of plain reciprocal-rank fusion — rag-cpp benchmarks it as beating RRF on NDCG because it preserves the score distribution RRF discards, and the adaptive variant additionally shifts per-query weight toward whichever retriever (lexical vs. dense) is more confident on that query. Two new refinement stages from rag-cpp's
Pipeline::best()are wired in: near-duplicate dedup (folds paraphrase/boilerplate copies so an LLM context window isn't spent re-reading the same passage) and relevance autocut (trims the low-relevance tail at the score knee, so a query with three strong answers returns three, notkpadded with weak matches). All are on by default and individually toggleable (AGENTTY_RAG_FUSION=rrf,AGENTTY_RAG_ADAPTIVE,AGENTTY_RAG_DEDUP,AGENTTY_RAG_AUTOCUT). Also picks up rag-cpp's BlockMax-WAND BM25, robust (winsorized) fusion, AVX-512/VNNI kernels, and a cache-backed rerank stage under the hood. - Retrieval spends fewer tokens for the same answer — five research-backed frugality levers on the
search_docs/search_codeoutput path. Retrieval is the one place agentty spends model-context tokens on your behalf, and the output budget was previously flat and split evenly by passage count — a rank-8 hit at confidence 0.11 got the same byte allowance as the rank-1 hit at 0.88, i.e. equal tokens on signal and noise. The output path now: (1) applies a relevance floor (AGENTTY_RAG_RELEVANCE_FLOOR, default 0.30) that drops the low-confidence tail the model ignores anyway before spending any tokens on it; (2) allocates the budget by score-proportional water-filling (AGENTTY_RAG_BUDGET_GAMMA, default 1.5) so confident passages get room to be complete and marginal ones get a tight excerpt; (3) scales the total budget by CRAG confidence (AGENTTY_RAG_CONF_BUDGET_FLOOR, default 0.45) so a barely-passing retrieval injects a cheap block instead of reserving the full ~3k tokens; (4) compresses oversized prose passages with a model-free, LLMLingua-style extractive pass (AGENTTY_RAG_EXTRACTIVE, on by default) that keeps the highest query-overlap sentences and drops the filler between them — something the old contiguous line-window couldn't (code/config keep the line-window, where contiguity is load-bearing); and (5) caps the unprompted proactive<retrieved-context>block independently and more tightly (AGENTTY_RAG_PROACTIVE_BYTES, ~6 KiB) since it's spent without the user asking. On a realistic 161-file corpus these cut retrieval output ~13% (1,845 → 1,605 est. tokens/query) with identical ranking (recall@10 1.000, MRR 0.968, nDCG@10 0.976) — savings scale with passage size. A newAGENTTY_RAG_MEASURE=1 agentty rag-benchmode runs queries through the real output path and reports bytes/estimated-tokens so you can quantify any lever on your own corpus by toggling it and diffing. Every lever is on-by-default-and-tunable via env, no rebuild. The Retrieval and Configuration docs cover each knob.
v0.2.11 · 2026-08-03
Fixed
- Model picker now sorts by actual strength, not a hardcoded family bucket. The previous sort ordered models by a fixed family position (Opus, Sonnet, Haiku, Fable, Mythos, in that order), so the Fable/Mythos lane — Anthropic's newest flagship-tier models, same strength class as Opus, just a different codename — always sank to the bottom of the picker regardless of how new or capable it actually was. The new
agentty::model_picker_lesscomparator (include/agentty/domain/catalog.hpp) is the single source of truth for picker ordering:ModelCapabilities::tier()descending (Flagship — Opus and Fable/Mythos — always leads, then Mid/Sonnet, then Cheap/Haiku, then Weak), then newest generation/revision within a tier, then a family tie-break for stable grouping among same-generation peers. Any future family name now sorts by what it is, not by where its name happened to land in a hand-written list.
Added
- Smart, tunable auto-compaction + entitlement-safe 1M-context model variants. Auto-compaction used to fire at a fixed absolute margin (
context_max - 17k), which was inconsistent across window sizes (98% on a 1M window, 91% on 200K) and forced a summarization pass long before a big-window model actually needed one. It now fires at a percent of the window (StreamState::compaction_threshold(), default 90%, clamped to always leave 20K tokens of output headroom) that's user-tunable from the command palette's new Compaction depth entry (75% Aggressive → 90% Balanced → 95% Deep, persisted tosettings.json). Separately, the summarization request itself now runs on the cheapest capable model on the active provider instead of the flagship model you're chatting with — compacting used to mean a full ~context-max-sized flagship-priced input on every trigger; it now costs a Haiku-class summary. On the model side, the picker offers a(1M context)variant right below every Sonnet/Opus/Haiku 4+ model when signed in with Claude Pro/Max OAuth — matching Claude Code's own model catalog (verified against its shipped binary: the base window is always 200K, and 1M is an explicit, entitlement-gated picker row, never auto-detected from account tier). Selecting it widens the tracked context window to 1M and requests Anthropic's extended-context beta; the picker marker never reaches the wire. repo_mapis pollution-proof against nested projects. The ranked codebase skeleton could surface sibling-project source (submodules, vendored checkouts, unrelated repos living under or alongside the workspace). The walk now stops at any nested repository boundary (a subdirectory carrying its own.git/.hg/.svn/.jj— including a submodule's gitlink file, not just a directory) and re-asserts every accepted file is genuinely inside the workspace before it becomes a graph node.- Subagents route to the cheapest capable model on the active provider. Read-only
taskroles (explorer,reviewer) no longer spend flagship-model tokens on fan-out exploration — they run on the cheapest model that still passes a capability floor (tool support, dispatchable asset, non-Weak tier);tester/coder/generalkeep the parent model since they mutate the workspace. Model strength is derived provider-relatively from the id (no vendor ships a comparable power number), the router never routes up, and a single-model or Opus-only account sees no change. Subagents also never enable reasoning/thinking beyond the parent's setting.
Changed
- Provider transport ingress is fully unified across all four transports (Anthropic, OpenAI-compat, Ollama-native, ChatGPT/Codex Responses) — no more per-transport copies that could silently drift. Retry-After backoff parsing, strict UTF-8 scrubbing, the leaked-tool-call prefix sniffer, all three token-usage wire shapes, and OpenAI-family auth-header emission each now live in exactly one shared helper. Fixed real bugs found while unifying: Ollama's Retry-After parsing was silently ignoring server backoff entirely, and two transports accepted invalid overlong/surrogate UTF-8 that the canonical scrubber now rejects.
- State-of-the-art MCP authorization — interactive OAuth 2.1 + PKCE login for remote servers (spec 2026-07-28). agentty can now sign in to an OAuth-gated MCP server end-to-end:
agentty mcp-login <server>probes the server, walks the RFC 9728 protected-resource → authorization-server metadata chain, registers a client, opens your browser at the PKCE (S256) authorize URL, catches the redirect on an ephemeral loopback callback server, and exchanges the code for an issuer-bound token that's sealed at rest (chmod 600,~/.agentty/mcp_tokens/<server>.json) and auto-refreshed on expiry — the HTTP transport injects a freshBearerper request.mcp-logout <server>clears it;mcp-statuslists every configured server and which are authorized. The full 2026-07-28 hardening is implemented in the dependency-free, unit-testedmcp-cppauth layer: RFC 9207 issuer validation (SEP-2468 — the authorization response'sissis checked against the AS issuer before the code is redeemed, closing the AS mix-up attack),application_type=nativeDCR (SEP-837, so the loopback redirect a CLI needs isn't rejected), issuer-bound credentials (SEP-2352 — a token is stamped with the AS that minted it and never replayed elsewhere), and CIMD (Client ID Metadata Documents — present a stablehttps://URL as theclient_idwith no DCR round-trip). Client registration falls through three paths in 2026-07-28's preferred order: a--client-id <https-url>/ mcp.json"client_id"CIMD URL, a pre-registered publicclient_id(also via$AGENTTY_MCP_CLIENT_ID), else Dynamic Client Registration — so login works even against an authorization server that offers no DCR endpoint. A 401 from a server is parsed (RFC 9728WWW-Authenticatechallenge → resource-metadata URL, with a/.well-known/oauth-protected-resourcefallback) into an actionable error telling the user to runmcp-login. Portable SHA-256 (FIPS 180-4 KAT-verified), base64url, and PKCE are all in-tree; the loopback server is Winsock/BSD-portable and the whole path is Windows-verified. The stateless MCP server helpers were hardened alongside it (CBOR-based binary-safe request-state codec that no longer crashes on non-UTF-8, endianness-stable MAC,require_capabilities(), SEP-2243 header-routing validation) and the protocol surface caught up to 2026-07-28 (tasks/update,subscriptions/listen, a deprecated-method registry).
v0.2.10 · 2026-07-27
Fixed
- Windows: the MSI now installs per-user with no admin / UAC prompt. The installer was
perMachine— it wrote to%ProgramFiles%and the systemPATH, so a plain double-click hit a UAC elevation wall. It's nowperUser: agentty installs to%LocalAppData%\Programs\agentty, edits only yourPATH, and registers a per-user Add/Remove-Programs entry — nothing needs administrator rights (the binary is self-contained; the PATH edit is yours). The winget manifest declaresScope: userto match, sowinget install agenttynever tries to elevate either. - Windows builds again (and the whole release is green on all six targets). The rag-cpp retrieval engine isn't yet MSVC-portable (POSIX headers and GCC-only SIMD attributes); rather than block every Windows package, agentty degrades gracefully on MSVC — CMake skips retrieval and the adapter compiles a no-op fallback, so the Windows binary ships with every non-retrieval feature working. The macOS standalone build no longer dies configuring rag-cpp's Metal backend (forced off — agentty's retrieval is CPU-only).
- Package channels can no longer silently fall behind a release. Every downstream publisher (AUR / Homebrew / scoop / winget) is gated behind a build leg, so one failed/slow leg used to skip its publisher — the tag went public but the package stayed stale (which is exactly how an AUR out-of-date flag and a winget hash-mismatch happened).
reconcile-manifests.ymlnow re-pins AUR/Homebrew/scoop from a release'sSHA256SUMSautomatically after every release run and weekly; the winget submission gates onchecksums-finaland verifies the MSI hash againstSHA256SUMSbefore opening a PR, so it can never submit a hash that drifted from the released asset.
Changed
- Homebrew is a clean two-line install (
brew tap 1ay1/tap && brew install agentty); the formula now installs by the release asset's real name and prints a first-run hint.
v0.2.9 · 2026-07-27
Added
-
Retrieval got faster without getting weaker — one batched embed round-trip, and two research-backed vector-cost levers. A latency + throughput pass over
search_docsthat changes nothing about default result quality (the fast wins are pure plumbing; the new precision knobs are opt-in and rescore back to full fidelity). (1) One/api/embedround-trip per source, not N. A single search fans into many dense probes — the query, conversation-carryover + multi-hop facets, RAG-Fusion paraphrases, a HyDE passage — and each used to embed in its own blocking round-trip, serially (5–8 on a fully-expanded query). They now batch into ONE call per source (/api/embedalready accepts an array):Corpus::search_fusedpre-embeds every variant together, and — the load-bearing half —KnowledgeRouter::retrieve_multinow asks each source once for all variants (via a newKnowledgeSource::retrieve_multiseam thatCorpusSource/McpResourceSourceoverride) instead of looping single-query retrieves, so the batching actually reaches the funnel. (2) Matryoshka ANN truncation (AGENTTY_RAG_ANN_DIM, off by default) —nomic-embed-text-v1.5and the e5/BGE MRL models pack their signal into the leading dims, so the HNSW graph can be built + walked on a dimension prefix (e.g. 256 of 768): ~2.3× faster graph walk at ⅓ the graph memory, with the full-dimension rerank stages recovering any precision. A changed value auto-rebuilds the cached graph; no cache-format bump. (3) Binary quantization (AGENTTY_RAG_BINARY, off by default) — walks the graph on 1-bit-per-dim sign codes with popcount Hamming, then rescores the returned pool with the exact float cosine (the HuggingFace “binary embedding quantization” pattern): binary recall, float precision (~0.97 recall@5 in-repo), ~2.5× faster (≈ 3.4× stacked with truncation). Sign codes are derived from the stored vectors on load, so the on-disk cache is unchanged and the flag toggles with no rebuild. (4) Relative Score Fusion (AGENTTY_RAG_FUSION=rsf) — an alternative to the default rank-based RRF that min-max-normalizes each list and weighted-sums, preserving the score magnitude RRF discards; A/B it on your corpus. Everything is off-by-default or behaviour-preserving; the Retrieval and Configuration docs cover every new knob, and a pluggableset_embed_backend()seam makes the batching testable offline (the suite proves N variants → exactly one embed call). -
Advanced retrieval: the engine now learns, converses, hops, and measures. Five capabilities that move
search_docsbeyond a static funnel — all pure C++/STL, zero new dependencies, default-on where deterministic, and each degrading to the previous behaviour on any failure (src/rag/advanced.cpp). (1) Learning loop — agentty closes the feedback loop no other terminal agent closes: every surfaced passage counts a "use"; when the agent follows up byreading the file a passage pointed at, that's a "win" (implicit relevance judgment, hooked at the tool-dispatch seam). The Beta-smoothed per-passage win-rate persists to.agentty/rag_feedback.tsvand folds into ranking as a bounded multiplicative nudge (×0.85–×1.15, neutral with no history — a fresh workspace ranks byte-identically) so retrieval gets measurably better the more you use it (AGENTTY_RAG_LEARN=0off). (2) Conversation carryover — a recency-decayed salience pool over recent queries lets a vague follow-up ("how does it handle errors?") gain the entities under discussion as an EXTRA RRF probe; deterministic, never replaces the original query, recall can only rise (AGENTTY_RAG_CARRYOVER=0). (3) Multi-hop decomposition — compositional questions ("how X works and how Y blocks Z") split on clause connectives into per-facet probes riding the existing multi-query fusion, gated conservatively (≥2 clauses × ≥2 content terms) so ordinary queries pass untouched (AGENTTY_RAG_MULTIHOP=0). (4) Late-interaction reranking — ColBERT-style sentence-level MaxSim upgrades the chunk-level embedding rerank tier at the same cost class (one batched/api/embedround-trip): the query aligns to each candidate's BEST sentence (blended with the runner-up for corroboration) instead of the blurred whole-chunk vector (AGENTTY_RAG_LATE=0falls back to chunk cosine). (5) GraphRAG-lite — the author-curated relevance graph hiding in markdown links: top hits' outbound](doc.md)targets are followed one hop and the linked documents' lead chunks join the context as supporting material, scored below every direct hit (AGENTTY_RAG_GRAPH=0). -
agentty rag-bench [dir]— the eval harness that makes every stage provable. Retrieval engineering without measurement is vibes; this makes the funnel's anatomy inspectable on the USER'S corpus, offline, in milliseconds: it synthesizes known-item queries from sampled chunks (most-discriminative terms by tf×idf — deterministic, reproducible, no LLM), then reports recall@k / MRR / nDCG@10 / mean-µs across the retrieval ladder (BM25-only → hybrid+PRF → +feature-rerank → +MMR), so a regression or a win on any corpus is attributable to exactly one stage and every env toggle can be tuned against numbers instead of guesses. -
State-of-the-art local retrieval engine behind
search_docs— now documented, and better by default. A sustained pass took agentty's RAG from "good" to frontier-grade for a fully local, dependency-free, offline-capable engine, and made the default path reflect it (not just the fully-tuned one). New this cycle: (1) Pseudo-relevance feedback (RM3-lite) query expansion, default-on — an initial BM25 pass harvests the most discriminative terms from the top hits (feedback frequency × corpus rarity) and fuses in a second, down-weighted BM25 probe over{query + those terms}, recovering vocabulary-mismatch hits (synonyms, the exact spelling the docs use) with zero model/network cost (deterministic, sub-ms;AGENTTY_RAG_PRF=0disables). (2) Parent-document (small-to-big) retrieval, default-on — each surviving small chunk is stitched back into its adjacent siblings from the same document so a precise hit is read in context, without widening the probe (AGENTTY_RAG_PARENT). (3) HyDE — Hypothetical Document Embeddings (AGENTTY_RAG_HYDE, opt-in) — the LLM hallucinates a short answer-passage whose embedding lands the probe near the real answers. (4) Source-agnostic multi-query fusion — query expansion and HyDE now help every knowledge configuration (docs, skills-only, memory-only, MCP, any mix), not only when a docs folder exists, via a newKnowledgeRouter::retrieve_multithat fans every probe across every source and fuses all ranked lists in one RRF pass. (5) Graded cross-encoder rerank rubric — the opt-in generative reranker now scores against an anchored 0/2/4/6/8/10 relevance scale that judges answering over keyword overlap. Full engine (all local, no dependencies): hybrid BM25 + dense embeddings + RRF, HNSW ANN, contextual-retrieval breadcrumbs, PRF, feature-fusion + embedding-cross-encoder rerank, MMR, extractive compression, parent-document expansion, corrective retry, per-turn cache, and proactive pre-turn injection. A brand-new Retrieval doc page walks the whole funnel, and the Configuration table now covers everyAGENTTY_RAG_*/BM25_*knob. Degrades gracefully at every stage — no embeddings → BM25-only, Ollama unreachable mid-search → the affected stage no-ops and retrieval continues. -
--auth-header NAME— custom auth header for OpenAI-compatible gateways. Custom--provider host[:port]endpoints (and presets) could only authenticate with the hard-codedAuthorization: Bearer <key>, which locked out self-hosted / enterprise gateways that expect the key under a different header name (e.g.X-API-Key). The new session-scoped flag overrides the header name; the key (from-k/ the in-app paste /OPENAI_API_KEY) goes out raw under it, on every OpenAI-family request (chat completions,/v1/modelslisting, the Ollama capability probe), and survives live provider switches (^P). Unset keeps the standard bearer header; the Anthropic path is untouched. (#5)
v0.2.8 · 2026-07-16
Fixed
-
The prebuilt Linux binary itself is now a real standalone binary — v0.2.7's
curl \| shcrash is fixed at the root, not just papered over. v0.2.7'sagentty-linux-x86_64was a musl dynamic-PIE masquerading as static:readelf -dshowedNEEDED libc.musl-x86_64.so.1and it carried noPT_INTERP, so the kernel mapped it at a random base and jumped to an unrelocated entry point → instantSIGSEGV(exit 139) on any glibc host (it only ran on Alpine, where the musl loader happens to sit at the baked path). Root cause: Alpine's default-PIE musl GCC does not pull libc from the static archive under-static-pie— it emits a loader-dependent dynamic-PIE. (Confirmed empirically:-static-piealone,-static-pie -static(link error — non-PIE CRT), and-Wl,-Bstatic --no-dynamic-linkerall fail on Alpine 3.21 / GCC 14.2.) The fully-static Linux build now links with-static -no-pie, which pulls libc from the archive and emits a classicET_EXECwith noNEEDEDand noPT_INTERP— a true standalone binary that runs on every Linux userland (glibc Debian/Ubuntu/Fedora, musl Alpine, 64-bit Raspberry Pi OS). Termux/Android (which needs a PIE) is available via the opt-in-DAGENTTY_STATIC_PIE=ONon a suitable musl toolchain. Backing all of this: a build-time ELF-shape assertion (cmake/assert_static_pie.cmake, aPOST_BUILDstep on every fully-static build — release CI, localAGENTTY_FULLY_STATIC=ON, and the installer's--build/ auto-fallback) hard-fails the compile if the result has aNEEDEDentry or aPT_INTERP, so a downgraded, un-runnable artifact can never be packaged or shipped again regardless of pipeline. Verified: the guard fails (exit 1) on the actual broken v0.2.7 binary and passes on the new-static -no-piebinary. -
Agent tools hardened against wedging, injection, and silent corruption. A robustness pass over the tools the agent leans on hardest — no new features, four concrete correctness/safety fixes. (1)
bashcan no longer run forever. The command timeout was an idle timer (it reset on every line of output), so a steadily-chatty command (yes,tail -f,ping, a progress-spamming loop) never tripped it and ran until the capture cap, then kept spinning. There's now a hard wall-clock ceiling from spawn (defaultmax(timeout×20, 10min)) enforced with SIGTERM→SIGKILL, so a long chatty build is never cut short but nothing runs unbounded. (2)find_definitionno longer touches a shell — it built ash -cstring and interpolated the symbol between single quotes, so a symbol containing'could break out; it now runs ripgrep via a literal argv likegrepalways did. (3)editcan't silently corrupt on a rolled-back batch — when one edit in a multi-edit batch tripped itsexpected_replacementscheck, the rollback re-ran the fuzzy matcher on the prior edits, which could land a different region; it now restores an exact pre-edit snapshot. (4)git_diff/git_logreject arefstarting with-(a smuggled git option like--output=…in the revision slot). -
Checkpoints keep working under
--workspace /(full-power launches). The checkpoint layer resolved the enclosing git repo fromutil::workspace_root()— but that root is the filesystem access boundary, which power users routinely widen with-w /for unrestricted disk access. Probinggit -C / rev-parsethere fails (/is never a repo), so every checkpoint silently died: no snapshot on submit, no divider, and "Rewind to checkpoint" toasted "checkpoints need a git repo" even inside a real project. The repo is now discovered from the process cwd — the directory agentty was launched from (i.e. the project), which it never chdir's away from — sogit rev-parsewalks up to the true enclosing repo no matter how wide the sandbox gate is.-w /now widens access without destroying the project identity that checkpoints, git tools, and diffs key off. Falls back to the workspace root only if cwd is unreadable.
Changed
- Compaction and checkpoint markers now read as real turns, not floating chrome. Two seams looked broken. (1) The
Conversation compactedsummary was rendered as a bare full-width rule with no speaker identity — a stray divider hanging in the transcript. It's now a genuine minimal system turn: a≡glyph, a muted rail, aCompactedheader + timestamp, and a one-line body (“Earlier conversation summarized to reclaim context.”). The raw summary prose is still elided from the view (it's written for the model, can be many KB) but the model receives it on the wire unchanged. (2) A checkpointed user turn drew a separate full-width─── [↺ Restore checkpoint] ───CheckpointDividerabove the rail, which read as a hard interruption. The marker now lives inline in the turn's own meta line as a subtle· ↺ checkpointtag — part of the turn, not a banner over it. Both changes flow through the sharedturn_config, so the frozen and live builders stay byte-identical at the freeze seam (seam symmetry test green, 442/442). The inter-run wire boundary divider (a true between-runs marker) is unchanged. - Picker rows never overflow, at any terminal width. The rewind-checkpoint picker feeds free-form prompt text as the row's primary label and an async
N files +A −Bdiffstat as the secondary — two potentially-long cells on one row. maya'sPickerrow now lays leading and trailing out with real flex-shrink weights (leading grows to fill and is first to truncate; trailing holds its natural width and only shrinks reluctantly), both ellipsis-clipped, so a paragraph-length preview meeting a fat diffstat degrades gracefully instead of spilling past the border. The preview is also pre-clamped to a readable length (UTF-8-safe) and the picker'smin_widthwas brought in line with the rest of the family.
maya
- New
| shrink(factor)DSL pipe. The flex engine already supportedflex_shrinkend-to-end (FlexStyle, the Yoga solver,BoxBuilder::shrink) but there was no way to set it from the declarative DSL — only| grow. Addedshrink()as the exact mirror ofgrow()(runtime pipe tag + factory +WrappedNodeplumbing in both build branches), so responsive rows can now saytext(a) | grow(1) | shrink(3)to control which cell yields space first when a row gets tight.
Added
- agentty now identifies honestly to Anthropic instead of impersonating Claude Code. The OAuth/subscription transport used to spoof the official Claude Code CLI byte-for-byte to get subscription tokens accepted — a fake
user-agent: claude-code/2.1.113,x-app: cli, the full Anthropic JS SDKx-stainless-*platform fingerprint, thex-stainless-helper: BetaToolRunnertag, and a Claude-Code-shapedmetadata.user_id— which is exactly the masquerade pattern that gets subscription accounts flagged under Anthropic's ToS. The transport now announces itself:user-agent: agentty/<version>,x-app: agentty, nox-stainless-*SDK fingerprint, noBetaToolRunnertag, and a plain{device_id, session_id}agentty client id (no fakeaccount_uuid). It keeps only what the API functionally requires —anthropic-version, theanthropic-betafeature flags (includingoauth-2025-04-20for subscription tokens), and the auth header. If Anthropic's edge ever hard-requires a first-party client signature, that's a ToS boundary agentty surfaces to the user ("use an API key or another provider"), not one it quietly circumvents by masquerading. - Release binaries are now smoke-tested on a foreign libc before they ship. v0.2.7's Linux prebuilt was a musl static-PIE binary that segfaulted immediately on glibc/Debian, and nothing in the release pipeline caught it: the workflow only ran
readelfELF-shape checks (and only on aarch64, as non-fatalWARNs) and never executed the binary. A binary can pass everyreadelfcheck and still crash at startup on a foreign libc. Each Linux build leg (x86_64 / aarch64 / i686) now (1) hard-fails — not warns — if the static-PIE link degraded (aPT_INTERPorNEEDEDentry, or a non-ET_DYNtype), and (2) runs a--versionsmoke test inside a clean Debian (glibc) and Alpine (musl) container (matching i386 images for the 32-bit leg), failing the release if the just-built binary won't launch on either. The aarch64 smoke test runs on real ARM silicon (no QEMU); i686 reuses the QEMU already set up for its build. The x86_64 release-marchbaseline was also pinned tosse2(the universal amd64 ISA) for intent-clarity — the GCC/Clang path never emitted the oldavx2value anyway, so codegen is unchanged and the binary keeps running on pre-Haswell CPUs. install.sh --buildsource-build path + automatic fallback for broken prebuilts. When a release binary can't run on the target system — e.g. v0.2.7's musl static binary with noPT_INTERPsegfaulting immediately on Debian/glibc — the one-liner installer used to be a dead end: it downloaded the broken artifact,chmod +x'd it, moved it into place, and left the user stuck. Now the installer (1) accepts a--buildflag that skips the prebuilt download and compiles from source (git clone --recursiveat the requested ref →cmake -DAGENTTY_STANDALONE=ON→ build → install to$PREFIX/bin), with clear preflight errors when git/cmake/a C++26 compiler is missing; and (2) auto-falls-back to that same source build when a downloaded binary fails to print its version (segfault / exec failure / ABI mismatch), instead of installing something that doesn't run. README +--helpdocument both.--buildis a no-op-safe addition — the default fast path (download prebuilt) is unchanged.- Rewind to any checkpoint, with a diff preview. Every user turn inside a git repo already pins a worktree snapshot and draws a checkpoint divider above it; now all of those points are reachable, not just the newest. "Rewind to checkpoint" in the command palette opens a picker listing every checkpointed turn (turn number + prompt preview + relative time), and each row shows a
N files · +A −Dsummary of what the worktree has changed since that point — computed asynchronously (tree-vs-treegit diff --numstatagainst a scratch index) so opening is instant even on a big repo and a rewind is never blind.↑↓/j/kmove,Enterrewinds (the existing destructive files-and-transcript revert, with the old prompt refilled in the composer),Esccancels. Gated on an idle session and a real git repo, with a friendly toast otherwise.
v0.2.7 · 2026-07-12
Added
- First-run onboarding starters. On a genuine first run — thread history has loaded and there are no saved conversations yet — the welcome screen now shows a compact "New here? Try one of these" card with three concrete example prompts (understand the codebase / find-and-fix a bug / add a feature and run tests). It teaches the three things agentty is for so a brand-new user isn't staring at a blank composer wondering what to type. A returning user with any history never sees it, so the welcome stays clean. Gated on
!threads_loading && threads.empty(), so it can't flash during the async thread-load at startup.
Changed
- README refreshed. Full install matrix (apt/dnf/zypper/AUR/apk/brew/scoop/winget + curl one-liner + from-source), a first-run note in Getting Started, the Windows-native Ctrl+G shell dispatch, and a maintainer "Releasing" section documenting the one-command
cut-releaseflow.
Fixed
- The
agentty-linux-aarch64binary now runs on Termux/Android and 64-bit Raspberry Pi. The standalone aarch64 binary is built-static-pie(passed to both compile and link steps, working around the Alpine/musl GCC spec bug where link-only-static-piepicksScrt1.ooverrcrt1.oand drops the program header). The result is a fully staticET_DYNwith noPT_INTERPand a validPT_PHDR— so it loads on Android's PIE-only linker (no moreunexpected e_type: 2), needs no external loader on Termux (no moreCould not find a PHDR), and stays portable across every arm64 core down to a Cortex-A72 (armv8-abaseline viaMAYA_NATIVE_TUNING=OFF). One file runs on glibc, musl, Termux, and 64-bit Pi OS alike. - Release assets no longer silently vanish behind a draft.
gh release viewsucceeds on a draft release, so a draftvX.Y.Zleft by a prior cancelled run (or auto-created on tag push) would absorb everygh release uploadwhile staying invisible — public download URLs 404 and the unauthenticated API omits it, making a green CI run look like it produced nothing. The release job now alwaysgh release edit --draft=false --prerelease=falseright after ensuring the release exists, so a leftover draft can never swallow uploads again.
v0.2.6 · 2026-07-07
Added
- One-command release cut (
scripts/cut-release.sh/.cmd).scripts/cut-release.sh X.Y.Z(orcut-release.cmd X.Y.Zon Windows) is now the entire manual release ritual: it bumpsproject(agentty VERSION …)in CMakeLists.txt (the single source of truth), promotes CHANGELOG's[Unreleased]section to a dated[X.Y.Z], commitsrelease: vX.Y.Z, creates the annotated tag, and pushes branch + tag. The tag push triggers.github/workflows/release.yml, which builds every binary + OS package and submits to winget/homebrew/scoop/AUR (nix/snap/gentoo manifests attached to the release) with zero further input. Guards refuse a downgrade, a duplicate version, a dirty tree, or an existing tag;--dry-runpreviews the exact diff without writing anything,--no-pushstops after the local commit+tag. The Windows.cmdwrapper runs the POSIX script through Git-Bash (or WSL as fallback).
Changed
- Ctrl+G now runs PowerShell and cmd blocks natively on Windows. The code-block runner is platform-aware: a
```powershell/pwsh/ps1block is executed throughpowershell -NoProfile -ExecutionPolicy Bypass -EncodedCommand(the body is UTF-16LE-base64-encoded, so arbitrary quoting and multi-line scripts survive thecmd.exewrapper intact), acmd/bat/batchblock and bare fences run throughcmd.exe, and on POSIXsh/bash/zsh/shell/console/terminal(and bare fences) still go to/bin/sh. A block in a language the current platform can't run (e.g.powershellon Linux) no longer masquerades as runnable — Run shows a toast and edit/copy stay available. The Run gate, the runnable-block nudge counter, and the runner all consult oneshell_for_language()classifier so they never disagree. This means the install commands agentty itself suggests on Windows (scoop, winget, PowerShell one-liners) are one keystroke away from running. - The aarch64 Linux binary builds on a native ARM64 runner — minutes, not an hour+. The release build used
ubuntu-latest+docker --platform linux/arm64, which ran the entire C++26 compile under QEMU emulation (~10-20× slower; a single release could sit at 1h+ and occasionally stall). It now runs on GitHub's nativeubuntu-24.04-armrunner (free for public repos), so aarch64 finishes in roughly the same wall-clock as x86_64 — no emulation. Every downstream package that pins the arm64 binary's checksum (Homebrew, AUR, nix) is unblocked in minutes instead of hours. The standalone build is still portable (armv8-abaseline viaMAYA_NATIVE_TUNING=OFF), so a Graviton/Neoverse-built binary runs on any arm64 down to a Cortex-A72.
Fixed
yay -S agentty(and any SHA256SUMS consumer) no longer 404s on a fresh release. Thechecksumsjob that publishesSHA256SUMSwas gated behind every build including the slow aarch64 leg, so for that whole window the release had noSHA256SUMSasset — and the AUR PKGBUILD, which verifies the downloaded binary against it, aborted with a 404.SHA256SUMSnow publishes in an early pass gated only on the fast x86_64/macOS/Windows legs (a secondchecksums-finalpass refreshes it once the remaining arches land), so the file is present within minutes. Combined with the native-ARM aarch64 build above, the gap it was papering over is largely gone anyway.
[0.2.5]
Added
- Installable via every major Linux package manager. New packaging manifests for Alpine (
apk add agentty), Nix (nix-env -iA agentty), Snap (snap install agentty), and Gentoo (emerge agentty) join the existing Debian/Ubuntu (apt-get), Arch (pacman/AUR), Fedora/RHEL/openSUSE (dnf/yum/zypper) and macOS/Windows (brew/scoop/winget) targets. Every manifest is a template with the version rewritten from the singleproject(agentty VERSION …)line in CMakeLists.txt at release time — no hardcoded versions anywhere. Thereleaseworkflow now auto-publishes to the Homebrew tap, scoop bucket, and AUR (each gated on a secret, skipped when absent), builds the.apk, and attaches pinned nix/snap/gentoo manifests to the release. Seepackaging/README.md. - Image paste over SSH with zero remote setup (kitty). Ctrl+V on a remote agentty session now pulls a screenshot straight off your local clipboard through the terminal itself: when every host-side probe comes up empty, maya asks the terminal for its clipboard — under kitty it now speaks OSC 5522 (kitty's multi-format clipboard protocol), whose reply carries real image bytes (PNG/JPEG/WEBP/GIF chunked base64, reassembled into one paste; image outranks text when both are on the clipboard; EPERM/EBUSY/ENOSYS abandons silently, like a terminal that never replied). Every other terminal keeps the OSC 52 read — text-only by protocol, so on iTerm2/WezTerm/foot/Ghostty images over SSH still go via
AGENTTY_CLIPBOARD_CMDoragentty airgap --clipboard-relay. Works on every platform on both ends — the bytes ride the pty, no wl-paste/xclip/pngpaste/PowerShell on the remote. - Ctrl+←/→ also quick-cycles threads. Same deck order as
Alt+←/→(← newer, → older), and now on the welcome-screen shortcut row. Fires only while the composer is empty and no agent turn is running — with text in the box Ctrl+arrows stay jump-by-word, and mid-turn the keys fall through to the composer so a live stream can never be yanked out from under you.
Fixed
- Diff cards no longer render as garish full-bright green/red rows over SSH. Two compounding maya bugs: (1) color detection was too conservative — SSH doesn't forward
COLORTERM(it's not in sshd'sAcceptEnv), so a remote session fell to 16-color ANSI and the dark saturated diff-row bands quantized to solid bright green/red/blue blocks with washed-out text. TERM-based detection now recognizes truecolor terminals that identify viaTERM(kitty, ghostty, wezterm, alacritty, foot, iTerm, konsole,-directvariants) and treats anyxterm-*/screen*/tmux*as 256-color-capable. (2) Even on genuinely 16-color terminals (vt100, linux console) there's now a graceful floor: the write/edit/git-diff previews drop the background bands entirely and fall back to the classic fg-colored diff (green/red+/-text, blue@@headers) — exactly whatgit diffitself looks like there. Override withMAYA_COLOR=truecolor|256|16. - Streaming markdown reveals uniformly across every block type — code blocks, tables, lists, headings all glide like prose. Structured blocks used to pop in whole the instant they completed: a finished code fence / table / list committed to the widget's static prefix immediately, and the typewriter cursor was snapped forward past it — teleporting up to ~200 cells onto the screen in one frame while surrounding prose typed out at ~2–6 cells/frame (measured by the new
reveal_smoothness_probe). Now (maya) block commits are gated on the reveal cursor: a completed block stays in the live tail — rendered in its exact committed shape by the canonical tail path, so zero cells change at the eventual commit — until the typewriter has swept it, then commits via a pending-boundary ledger (each boundary the scanner discovers is committed individually as the cursor crosses it, keeping the live tail bounded to ~one block + the cursor's lag window, so long-turn per-frame cost stays flat). The reveal overlay's live-copy cache also grew an incremental prefix-growth arm (O(new blocks) per commit instead of O(turn)). Verified end-to-end: scrollback oracle (all shapes, zero corruption), reveal_scrollback_test (10 970 checks), full maya suite, CommonMark 652/652. - One-frame phantom blank row inside a streaming code fence. maya's markdown engine treated a trailing
\nas opening an empty final line, feeding a phantom blank content line into any still-open leaf — an unclosed code fence gained a bogus bottom row that appeared and vanished at every line step of the reveal (a height oscillation the monotonicity gate flags). A trailing newline now terminates the last line (cmark §2.1) instead of opening an empty one; spec conformance stays 652/652.
Changed
- Esc no longer quits the app. Quit is
Ctrl+Conly. Esc keeps all its useful jobs — cancel a streaming turn, reject a permission, close any modal — but a stray press on the main screen is now inert. This also makes Alt-emulation on iPhone terminals (iSH, Termius, a-Shell) safe: their Alt+←/→ is an Esc-prefix chord, and the Esc half must not be a live exit key. - New CI gate
reveal_smoothness_probe: streams a mixed doc (prose/heading/code/table/list/quote) through the production reveal config on the virtual anim clock and fails on any height shrink or any single frame revealing >60 content cells.
[0.2.4]
Added
- Run code blocks from replies (Ctrl+G). The picker lists every fenced block in the newest assistant reply (first-line preview · language · line count);
Enteror a bare digit runs one interactively on the real terminal — the TUI suspends via a new maya suspend primitive, so sudo password prompts work, output streams live, and Ctrl+C kills the command (never agentty; classicsystem()signal semantics). stdout+stderr are teed: everything hits the screen live AND lands in a capture (capped 2 MB). On exit a Result card shows the command, exit code, and the full scrollable capture —aattaches it to the composer as a collapsed Output chip (the same collapse/expand machinery as a big paste; expands on the wire as "I ran: … output: …"),ycopies it clean,Esc/Enterdiscards. The composer never receives output you didn't explicitly ask for. Extraction strips uniform$/>transcript prompts (never#comments), tolerates~~~fences, CommonMark indent, and unterminated fences; non-shell blocks offer edit/copy instead of run. Also in the command palette as Run code block. Windows degrades to the non-interactive captured runner. Seedocs/RUN_CODE_BLOCK.md. - Runnable-block nudge. When a reply settles and contains shell blocks, a transient toast ("▶ N runnable code blocks — Ctrl+G to run") surfaces the affordance while the commands are still on screen. Counts only runnable (shell-ish) blocks — a python-only reply stays quiet.
- Thread quick-cycle (Alt+←/→). Flip to the adjacent thread without opening the picker — recency order, wraps at both ends, with a "thread k/N · title" toast on every hop so you always know where you landed. Gated on an idle session; the departing thread is saved first. The
^Jthread list now opens at the current thread (not row 0), marks it with a bold●, and shows the same k/N position readout — both navigation surfaces speak one coordinate system.
Changed
- Status bar: the tok/s sparkline now shows from ~90 columns (was 110).
[0.2.3]
Fixed
- The remaining streaming scrollback-corruption classes — closed, oracle-proven. A new in-repo scrollback oracle (a pixel-exact terminal-emulator harness that replays full streamed turns and diffs every committed row against ground truth) flushed out and proved fixes for every class it found: (1) trailing prose duplicated above tool cards — the paragraph rode maya's inline tail path (different wrap than the committed-block path) until settle rewrote its already-committed rows; the widget now finishes the instant a tool call exists; (2) frozen-front trim committed an estimate of dropped rows instead of the exact count; (3) tool-card grow while overflowed strand-painted rows into scrollback (maya grow-guard + reconcile cooldown); (4) chrome strands — a committed drop larger than viewport+margin preserved a pre-commit canvas and smeared composer/status chrome into history; (5) shrink-while-overflowed at stream settle duplicated the composer one screen up (maya's verify-poison recovery committed rows unconditionally). The oracle passes all shapes with maya's scrollback-invariant gate instrumented and zero gate firings — the gate exists, but nothing trips it.
- Scrollback no longer wiped by gate recovery. The scrollback-invariant gate's grow recovery arm demoted to a hard reset whose escape sequence (
\x1b[3J) deleted the terminal's entire native scrollback — you'd suddenly see only the last few turns. The wipe dated from an era when recovery re-serialized from row 0 with bottom-edge scrolls; today's repaint is viewport-capped, so the destruction was pure loss. Grow recovery now commits off-viewport rows and soft-repaints, same as shrink — no reachable render path clears scrollback anymore (only width-change resize, hard write failure, and explicit thread swap). write/editstreaming cards: seam-stable, no collapse, no committed-row rewrites. Long streaming edits used to balloon the card (every hunk rendered), tick already-committed "/N" headers, and could collapse the card to zero rows mid-stream. The streaming preview now feeds all hunks to maya's diff widget, which pins a status chip and windows the visible body to a cross-hunk row tail; the header/detail are lifecycle-stable (no Done-only suffix rewriting committed rows); the body budget adapts to content instead of pinning worst-case height; and the chip shows the landing-hunk ordinal while streaming.- Live tool panel animates without touching the freeze seam. The in-flight agent-timeline panel's spinner moved to a seam-safe footer so animation frames can't perturb rows above the live/frozen boundary.
Changed
- Model catalog recognises the Claude Fable/Mythos flagship lane.
Performance
- Test-suite wall clock: 280 s → 24 s. maya's animation system (reveal effect, activity indicator,
anim::Clock/Mount) now reads a single skewable time source (anim_now_ms(): steady clock + test-only additive atomic skew). Tests advance the clock instead of sleeping 20 ms per frame; production cost is one relaxed atomic load.
[0.2.2]
Fixed
- Scrollback duplication / ghosting across streaming, height-grow, compaction, and narrow viewports — the whole class, closed. A cluster of inline-render bugs could leave stale or duplicated rows in the terminal's native scrollback when the live tail transitioned to a frozen (immutable) block. Fixes: the freeze gate (
live_tail_reveal_settled) now mirrorsbuild_live_tail'sis_live()hash-stamp condition so the two seam gates can't drift; frozen-measure width subtracts the full 4-column chrome (AppLayout+Conversationpadding), not 2, so narrow terminals freeze at the same width maya renders; the case-B height-grow cursor anchors to full content height; the compaction divider is now emitted symmetrically in the live tail so the freeze seam stays height-stable across a compaction; and frozen-trim commits a conservative under-estimate of scrolled rows (never the exact count) — an over-commit re-scrolls the visible tail, but an under-commit is reconciled by maya, mirroring the provenagent_sessionbehaviour. Atfps=0, markdown now finishes immediately andvisual_hashis driven through the settle cooldown so no duplicate paints slip through. Each fix ships with a regression test. - Streaming reveal no longer bursts, stalls, or scrambles on long turns. The maya reveal effect glides tables and code blocks left-to-right with a commit-safe seam (no eager scramble of not-yet-typed cells), holds final table column widths during reveal (no horizontal reflow), and reveals the newest table row with the same positional comet gradient as prose. Tall tables no longer ghost-duplicate into scrollback.
- Data race on
provider::active(). A worker thread read the active provider while the UI move-assigned it, tearing the read. The value is now snapshotted under the mutex. - Memory tool: garbage rollover count + silent scope downgrade. The rollover counter could print garbage, and a
remembercould silently downgrade its scope; both are fixed (the scope downgrade is now refused).
Changed
- Inline render is bounded to the viewport window for tall transcripts. A giant frozen or streaming block used to pay O(content-height) every frame (full-canvas clear + a memcpy-per-row blit). The paint path now clears only the rows below the immutable prefix (
clear_below, gated on a Synced coherence state, no canvas realloc, and an 8-row margin above the viewport) and skips the per-row blit when the destination is already byte-identical to the source (blit_packed_row_cachedvia SIMDbulk_eq). Single-authority scrollback accounting (overflow = prev_rows − term_h) is fully preserved — the worst case is a perf non-improvement, never corruption. Steady per-frame cost on tall blocks drops ~30%. - Tool-diff bands: GitHub-dark styling.
write/editdiffs render dark-but-saturated green/red backgrounds with bright same-hue text and a sign rail, readable as green/red (not gray) even on low-gamma panels; clean single-filename header, no git plumbing. - Responsive status bar. The CTX gauge is lowest-priority (drops first, desktop widths only); the provider badge shows from ~50 columns; compact CTX (bar graph + percent) shows from ~40 columns so phone-width terminals keep the fill graph and %, with raw token counts only on wide terminals. Picker footer hints drop responsively to fit.
Performance
- Diff is trimmed-LCS, not O(N·M). Common prefix/suffix are trimmed before the LCS, the SSE debug gate is lock-free, and a redundant stream-sink hop was dropped.
- Off-screen giant message bodies collapse on rehydrate (default off — it was hiding loaded messages, now opt-in), and settled tool panels are cached in long in-flight turns.
- Build auto-pulls all submodules (maya, acp-cpp, mcp-cpp) to latest.
[0.2.0]
Added
agentty airgap <host> --acp [flags…]— one-command Zed-over-airgap setup. Running agentty inside Zed on an internet-less remote used to mean hand-assembling assh -N -R 1080tunnel plus a Zedenvblock. The new--acpform prints a ready-to-paste Zedagent_serversconfig (and the path to yoursettings.json) whosecommandissshitself — its args open the reverse SOCKS5 tunnel and exec the remoteagentty acpin a single invocation, with the ACP JSON-RPC riding ssh's stdio. One ssh process is the tunnel, the agent, and the transport; Zed owns its lifecycle, so there's nothing to babysit. Everything after--acp(e.g.-m,--profile,--workspace,--sandbox) is forwarded verbatim to the remote agent. Pair with--setupto copy credentials over first.agentty acpnow supportssession/load— resume past conversations in Zed. The ACP agent advertisesloadSession: trueand persists every session to agentty's on-disk thread store (threads_dir()/<id>.json, the same format the TUI writes) after each turn, so sessions survive a subprocess restart. Onsession/loadit restores theThread(preferring an in-memory copy when the session is still live in this subprocess, else reading from disk), replays the entire conversation — user messages asuser_message_chunk, assistant text asagent_message_chunk, and each tool call as atool_callcard with its final input/output/status — assession/updatenotifications, then resolves the request, exactly per the ACP spec. Session ids are realThreadIds, so ACP sessions also appear in the standalone TUI's thread picker (and TUI threads are loadable from Zed). Fixes the "Loading or resuming sessions is not supported by this agent" error.agentty acpACP refinements: model + permission-profile flags, file follow-along, faster cold start.-m / --modelis now an ephemeral per-subprocess override in ACP mode (it no longer clobbers the TUI's saved model), so a Zedagent_serversentry can pin a fast model (e.g.claude-haiku-4-5) without touching your interactive default. A new-p / --profile {ask|minimal|write}flag tunes which tools trigger Zed's permission prompt:ask(default — prompt write/exec/net, auto-run reads),minimal(prompt everything including reads),write(never prompt reads). Tool calls now carry ACPlocations(file path + optional line) for read/edit/write/list_dir/git_diff/diagnostics, enabling Zed's "follow-along" file highlighting. ACP mode now prewarms the TLS/DNS connection to Anthropic before serving (matching the TUI), eliminating the ~150–300 ms handshake on the first prompt, and the wire tool list is built once instead of per-completion.agentty acp— run agentty as an ACP agent inside Zed (or any Agent Client Protocol client). A new headless subcommand speaks newline-delimited JSON-RPC 2.0 over stdio and implements the full ACP v1 agent surface:initialize(capability negotiation),authenticate,session/new,session/prompt(drives a complete agent turn), andsession/cancel. While a turn runs it streamssession/updatenotifications —agent_message_chunkfor model text,tool_call/tool_call_updatefor every tool (with ACPkind,rawInput, status transitions, anddiffcontent blocks for edit/write so Zed renders changes inline) — and calls back withsession/request_permissionbefore any side-effecting tool runs (Exec/WriteFs/Net), letting Zed show its native approval UI. The headless loop reuses the exact same provider, tool registry, wire-message shaping, workspace sandbox, and permission policy as the TUI (no maya/UI dependency), so behaviour is identical to interactive agentty. Configure in Zed'ssettings.jsonunderagent_serverswith{ "command": "agentty", "args": ["acp"] }; auth comes from your existingagentty login. See README → “Use agentty inside Zed (ACP)”.
Fixed
- Per-error-class retry caps (Zed-aligned) so a flaky mid-stream wire stops spamming the retry banner. Previously every transient shared one global
kMaxRetries(6), so a connection that kept cutting out mid-body stuttered through six loudtransient — retrying (attempt N/6)…banners before giving up. Mirroring Zed's agent loop (crates/agent/src/thread.rs::retry_strategy_for), the cap is now per error shape viaprovider::max_retries_for: rate-limit / overload (429 / 529) keep the full budget (the server is shedding load and usually hands aRetry-After), a clean connect blip with no content keeps the full budget (a fresh connection almost always recovers), but a mid-stream failure — the stall watchdog fired, or the stream had already delivered a delta this turn and then died — gets only 2 attempts, because a wire that keeps dropping after reaching us is a real outage, not a reconnect artifact. The attempt counter in the banner now shows the real per-class cap (N/2mid-stream,N/6otherwise). Budget-decay and the first-delta/heartbeat budget reset still apply on top, so a stream that recovers and runs for a while resets to a fresh ladder. x-stainless-retry-countnow reflects the real attempt number. It was hard-coded to0, so every retry looked like a fresh first attempt to Anthropic's edge — which reads this header for routing and to avoid penalising retried traffic, and could land a retry back on the same overloaded pop. The per-turntransient_retriescount is now plumbed throughprovider::Request→anthropic::Request→ the header, exactly as the official SDK / Zed increment it.- Frequent
transient — retrying…banner caused by stale pooled connections. The dominant trigger for the orange retry banner was a reused h2 connection that Anthropic's edge (or an intermediate proxy) had silently half-closed: the pool's acquire-time liveness checks (nghttp2protocol state + a non-blockingMSG_PEEK) passed because the FIN/GOAWAYwas still in flight, so a corpse got handed out. The new stream submitted on it was immediatelyRST_STREAM'd /GOAWAY'd — and because the old retry gate (any_bytes, set on headers) considered a headers-only:statusblock "committed," the HTTP layer couldn't re-dial. The error bubbled to the reducer, which restarted the whole turn loudly with backoff. Two transport-layer fixes: (1) the stream-commit point is now real SSE DATA (on_chunkwith body bytes), not headers — a stream that got only:statusbefore the reset is replay-safe and re-dials transparently; (2) a reused pooled connection that dies before delivering any data gets up to 2 free fresh re-dials that don't count against the transport attempt budget, so a pool-staleness artifact never surfaces as a user-visible error. Genuine fresh-dial failures and any reset after real content still converge to a terminal error exactly as before. This is what the official Anthropic SDK / Claude Code get for free from undici's managed pool (honorGOAWAY, retry transport resets on a fresh connection); agentty now matches it. - Transient backoff that never recovered + frequent "stream stalled" after long sessions.
transient_retriesonly reset to 0 on the first content delta, so a stream that connected, sent heartbeats, then went silent before any byte (common during brown-outs and long opus turns) climbed the retry ladder every attempt until it hitkMaxRetriesand latched terminal — the session was dead until restart. Two fixes: (1) a heartbeat (SSEping/thinking_delta) now resets the retry budget too, since it proves the wire is alive even pre-content; (2) the budget decays over wall-clock time — if the previous failure was longer ago thankRetryDecayWindow(90 s) the connection was healthy in between, so the new failure starts a fresh ladder instead of inheriting an unrelated earlier blip. Net effect: fast-failing connections (refused/reset within 90 s) still converge to terminal at attempt 6, but slow stalls minutes apart recover indefinitely.Escstill breaks the loop at any point.
[0.1.1]
Added
--version/-V/versionflag — printsagentty <PROJECT_VERSION>and exits. The version is baked at build time fromCMakeLists.txt'sproject(... VERSION ...)line, so bumping the project version updates every site that readsAGENTTY_VERSION.- Queued messages render as preview rows in the conversation transcript (above the composer), visually identical to real user turns. Mirrors Claude Code 2.1.119's behaviour at binary offset 80106500.
↑(Up-arrow) on an empty composer recalls every queued message back into the buffer, joined by\n, with the cursor at the recalled-text seam. Destructive on the queue — re-submit to re-queue. Mirrors Claude Code'sLc_(offset 76303220).- Composer placeholder gains a
press ↑ to edit queued — type to queue another…hint when the queue is non-empty and the buffer is empty (and matching variants for awaiting/idle phases). Mirrors Claude Code's hint at offset 84591379. - Retry status now shows attempt counter:
transient — retrying in 5s (attempt 2/6)….
Changed
- Transport reliability. Anthropic's
Retry-AfterHTTP header is now parsed on 429 / 529 responses and used as the authoritative backoff delay, clamped to[1s, 120s]. Falls back to the existing 500ms→45s ladder when no header is present, with ±20% jitter applied to break thundering-herd retry sync during regional brown-outs. Inspired by Zed'sparse_retry_after(crates/anthropic/src/anthropic.rs:574-580). - Cancel cleanup.
Escnow does the full teardown synchronously: drainsstreaming_textintotext(preserves partial reply), marks every non-terminaltool_callasFailed("cancelled"), pops the assistant placeholder if it produced no content, and resetspending_permission. No more orphanRunningspinners or empty placeholder cards after cancel. - Status banner row replaced by a notification takeover on the existing shortcut row — when
m.s.statusis active, the keybindings strip swaps in a single banner-style entry (▎⚠ <text>for errors,▎ <text>for info) and reverts to bindings when the toast expires. No new rows added. submit_messagenow queues on any non-Idle phase (m.s.active()) instead of justis_streaming() || is_executing_tool(). Defensive — the keymap already gatedAwaitingPermissionvia the permission modal — but makes the guarantee structural.
Fixed
- Model / thread / palette pickers felt unresponsive — arrow keys "registered once per 4-5 presses." The Program render gate (
visual_hash) didn't include any modal/picker selection state, so moving the cursor (ModelPickerMove→index++) produced a model the gate considered visually identical andskip_renderfired; the new cursor position only painted when an unrelated hashed axis (the ~265 ms composer caret-blink parity) happened to flip.visual_hashnow mixes in every modal's open/closed state plus the active picker's cursor index and filter query, so each keystroke repaints immediately. - Picker arrow keys double-dispatched. The picker
ScrollStates defaulted toauto_dispatch = true, so every ↑/↓/PageUp was fed intoScrollState::handle(bumpingscroll.y) in addition to the reducer's selection move — the two then fought the widget's selection-follow clamp. Setauto_dispatch = falseon all six picker scroll states; scroll position is now a pure function of the selected index. - Up-to-100 ms input stall on bare Escape and split escape sequences (maya). The idle (
fps=0) event loop slept the full 100 ms poll while the input parser held a partial escape sequence (a lone ESC, or an arrow key whose bytes arrived in separate reads over SSH/tmux/slow ptys) — onlyflush_timeout()could resolve it, and only after the 50 ms escape deadline, but the loop never woke to call it. The loop now clamps its poll timeout to the escape deadline while the parser has pending input (Runtime::has_pending_input()). Most visible in the pickers, which idle with no spinner tick to keep the loop spinning. agentty gets stuck — nothing worksafter Esc. A worker thread's trailingStreamError("cancelled"), dispatched ~200 ms after the cancel-token trip, was running on the runtime'sactive_ctx. If the user submitted a new turn during that window, the handler'sa->cancel.reset()would null out the new turn's cancel token, leavingEscunable to cancel anything until process restart.launch_streamnow wrapsdispatchin aguardedlambda that captures the cancel token and short-circuits when tripped — no events from a cancelled worker reach the reducer, so the new turn's state is never touched.- Removed the redundant
N messages queuedline from the shortcut row; the composer's own❚ N queuedchip is now the single source of truth for queue depth.
[0.1.0] — Initial public release
Pre-1.0. Core loop, tools, streaming, permission profiles, in-app auth, persistence, and cross-platform subprocess all working. Linux gets daily smoke testing; macOS and Windows code paths exist (#ifdef branches throughout, posix_spawn for POSIX, CreateProcessW for Windows, fdatasync/fsync switched per OS) but CI for those platforms is next.
Major surfaces
- Native C++26 TUI rendering through the
mayawidget engine (sister project, FetchContent-pulled from1ay1/maya). Single ~9 MB static binary, no Node / Python / Electron runtime. - Anthropic provider speaking HTTP/2 + SSE directly via in-house
nghttp2+ OpenSSL stack. OAuth (PKCE) + API key both wired through the sameauth::cmd_loginpath. - Tools:
read,write,edit,bash,grep,glob,list_dir,find_definition,web_fetch,web_search,todo,diagnostics,git_*. Compile-time effect set + permission policy enforced viastatic_asserton aconstexprmatrix. - Permission profiles:
Write(autonomous),Ask(read-only auto, write/exec/net prompt),Minimal(only pure tools auto). Profile cycle onS-Tab. - Sandboxed bash by default —
bwrapon Linux,sandbox-execon macOS. Windows runs unsandboxed (no first-class equivalent yet). - Workspace boundary: filesystem tools refuse paths outside
--workspace/cwd. - SSH air-gap mode (
agentty airgap …): wraps agentty on a remote host with SOCKS5 forwarding for TLS / OAuth / chat traffic. Compression off by default (small bursty deltas not worth zlib sync overhead on inline frames); env vars for terminal identification forwarded across the SSH boundary so DEC 2026 sync still applies on the remote side. - Persistence: threads and credentials in
~/.agentty/threads/and~/.config/agentty/credentials.json(mode 0600). Atomic writes (temp + fsync + rename). - Streaming smoothing: SSE deltas drip into
streaming_textat ⅛ buffer per Tick (clamped 32–256 chars), so server-side batching doesn't translate into chunky on-screen text. - Inline rendering — agentty never takes over the terminal; output flows in scrollback, status bar overlays.
compose_inline_framewraps frames in DEC 2026 begin/end-sync where supported.
Stubbed honestly (not yet implemented)
- Checkpoint restore —
CheckpointId+ per-message marker exist;RestoreCheckpointsurfaces "not implemented yet" and does nothing. - Diff review pane — modal renders, but
pending_changesisn't populated by any tool yet, so review/accept/reject toasts "no pending changes".
Build
- C++26 (GCC 14+ / Clang 18+); MSVC builds against
/std:c++latest. - AppleClang tops out at C++23 —
AGENTTY_BUILD_TESTSrequiresg++or stock LLVMclang++on macOS, not Xcode's bundled toolchain. cmake -B build && cmake --build build.AGENTTY_STANDALONE=ONproduces a static binary (libc and usually OpenSSL stay dynamic).