Pochi LogoPochi Docs

Weekly Update #32

TL;DR

This release removes friction from long runs and complex workflows.

Pochi now compacts automatically when context fills up, interactive widgets return their state to the agent for follow-up reasoning, and the browser agent can target any viewport — including mobile.

More below!

🚀 Features

  • Auto Compact: Pochi now compacts your context automatically when it gets full mid-task, without stopping what it's doing. A "Compacting..." indicator appears in the thread while it runs, and the task picks up where it left off.

    Previously, hitting the context limit meant stopping to manually click "Compact Task" or start a new task with summary. Long tasks that ran into the limit mid-run would stall and wait for you.

    Most useful for extended sessions such as deep codebase exploration, long refactors or anything that runs for a while. If compaction fails, Pochi falls back gracefully and won't keep retrying on a bad state. #1627

✨ Enhancements

  • Interactive Widgets with State Return: renderWidget now passes your widget's UI state back to Pochi after each message. When you interact with a rendered widget — adding entries, clicking buttons, making selections — Pochi sees what you did and can reason on it in the next turn.

    Before this, renderWidget returned only { success: boolean }. The widget was a sandboxed iframe and once rendered, Pochi had no visibility into what you did inside it. If you wanted Pochi to act on widget content, you had to describe it manually.

    This is useful when you're building agents with interactive UI: a bookkeeping widget that gets summarized, a stock tracker with a News button that fires a live search, a form the agent reads and validates. The state feeds back automatically. #1621

  • Browser Agent with Viewport Size: Browser Agent sessions now let you pick a viewport size before running. Four presets: Large Desktop (1280×720), Small Desktop (900×600), Portrait (768×1024), and Mobile (360×640), selectable from a new dropdown in Browser Agent Settings. The recording scales to match.

    Before, the browser agent ran at a fixed viewport regardless of the site. If you were automating a mobile-first page, the agent was navigating the desktop layout with wrong breakpoints, wrong elements.

    Set Mobile (360×640) before running a task on a responsive site and the agent navigates what your mobile users actually see. Useful for mobile testing, scraping mobile-specific content, or anything that behaves differently at smaller breakpoints. #1620

🐛 Bug Fixes

  • Subtask Todos Visible Without Expanding: Subtask todo lists now show up in the collapsed newTask tool detail — you can see what a subagent is working on without having to expand the view.

    Previously, todos only rendered inside the expanded subtask view. #1618

  • Git Branch Badge Always Visible: The git branch badge no longer disappears while a command is running. The executing status now constrains to available space and truncates cleanly, rather than pushing the branch info out.

    Previously, the badge would vanish from task rows whenever a command was executing. #1613

  • Outline Button Consistent in Dark Mode: Outline buttons now look the same in dark mode as they do in light mode. The dark mode overrides that caused the inconsistency have been removed.

    Previously, outline buttons had separate dark mode rules that diverged from the light theme. #1612