[{"data":1,"prerenderedAt":269},["ShallowReactive",2],{"blog-\u002Fblog\u002Flighter-agents-and-plans":3},{"id":4,"title":5,"author":6,"body":7,"cover":252,"description":13,"draft":253,"extension":254,"meta":255,"navigation":256,"path":257,"publishedAt":258,"seo":259,"stem":260,"summary":261,"tags":262,"updatedAt":266,"version":267,"__hash__":268},"blog\u002Fblog\u002Flighter-agents-and-plans.md","Fewer stray agent processes, and a Plans tab","Lucas “Los” Souza",{"type":8,"value":9,"toc":240},"minimark",[10,14,17,22,25,28,38,41,45,48,60,67,70,74,77,80,87,90,98,102,105,125,128,132,146,150,153,171,178,219,222,226,233],[11,12,13],"p",{},"One of our users had seven agent tabs open. Behind those tabs were 40 agent processes, a footprint of about 40 GB, and 20 GB of swap. The machine was slow, and nothing on screen explained why.",[11,15,16],{},"That report drove most of Veflow 1.1.3. The release also adds a Plans tab, so the plans your agents write stop disappearing into a folder.",[18,19,21],"h2",{"id":20},"every-process-belongs-to-a-tab","Every process belongs to a tab",[11,23,24],{},"Sessions could outlive their tabs. A closed tab, a deleted worktree, or a restart could leave an agent running with nothing in the UI pointing at it.",[11,26,27],{},"Now every agent process is owned by a tab. Veflow checks at startup and again every five minutes, and terminates any session that has no tab. Tabs are saved, so after a restart they come back first and only then does the check run.",[29,30,35],"media",{"aspect":31,"hint":32,"kind":33,"src":34},"aspect-[16\u002F9]","Before and after: 40 agent processes behind 7 tabs, versus 7 tabs each owning its agent","Diagram","\u002Fblog\u002Finline\u002Fone-process-per-tab.png",[11,36,37],{},"Processes without a tab are now terminated.",[11,39,40],{},"Kills also reach the whole process tree. Stopping a session ends the agent and the MCP servers it started. Deleting a worktree or a project, or a worktree disappearing from disk, ends its sessions too.",[18,42,44],{"id":43},"idle-sessions-stop-tabs-stay","Idle sessions stop, tabs stay",[11,46,47],{},"A session you aren't using still holds memory, along with every MCP server it launched. Veflow now stops idle sessions. The default is 30 minutes, and you can set it to Off, 15, 30, 60, or 120 minutes in Settings.",[11,49,50,51,55,56,59],{},"The tab stays, with its scrollback. Click it and the conversation resumes through ",[52,53,54],"code",{},"claude --resume"," or ",[52,57,58],{},"codex resume",". MCP servers only run while a session is in use.",[29,61,64],{"aspect":31,"hint":62,"kind":33,"src":63},"Session lifecycle: running, idle, stopped, then resumed by clicking the tab","\u002Fblog\u002Finline\u002Fsession-lifecycle.png",[11,65,66],{},"The tab is permanent. The process isn't.",[11,68,69],{},"Veflow never stops a session that is working, one you touched in the last two minutes (unsent input counts), the focused tab, or one with a phone attached. It also leaves alone agents that can't be resumed, because stopping them would lose the conversation.",[18,71,73],{"id":72},"a-status-bar-for-what-your-machine-is-doing","A status bar for what your machine is doing",[11,75,76],{},"A new bar at the bottom of the window shows CPU and memory with live charts. A popover breaks usage down by app, session daemon, agents, and MCP servers and tools, and lists the top processes.",[11,78,79],{},"The memory indicator reflects macOS memory pressure, not how full swap is. A full swap file can be harmless, and a machine can be in trouble without one.",[29,81,84],{"aspect":31,"hint":82,"kind":33,"src":83},"The bottom status bar with CPU and memory meters, and the resources popover with charts and a per-category breakdown","\u002Fblog\u002Finline\u002Fstatus-bar-resources.png",[11,85,86],{},"An illustration of the status bar and resources popover.",[11,88,89],{},"The bar also shows agent counts and Claude and Codex usage chips. Each chip opens a panel for that agent.",[11,91,92,93,97],{},"For the bigger picture, an all-sessions popover lists every session across every project and worktree. You can open, stop, or close each one, or choose ",[94,95,96],"strong",{},"Stop all idle",".",[18,99,101],{"id":100},"one-click-mcp-fixes","One-click MCP fixes",[11,103,104],{},"Two MCP setups cost memory and startup time, and they are easy to create by accident:",[106,107,108,115],"ul",{},[109,110,111,114],"li",{},[94,112,113],{},"Duplicate servers."," A plugin and your manual config can both launch the same server.",[109,116,117,120,121,124],{},[94,118,119],{},"Unpinned servers."," An ",[52,122,123],{},"npx …@latest"," entry downloads the package again every session.",[11,126,127],{},"Veflow detects both. A fix backs up your MCP config first and can be undone afterwards. For unpinned servers it pins the current version. If it can't look up the latest version, for example when you're offline, it skips that entry.",[18,129,131],{"id":130},"smaller-changes","Smaller changes",[106,133,134,137,140,143],{},[109,135,136],{},"The session daemon keeps metadata per session, cleans up sessions that have exited, and writes scrollback incrementally.",[109,138,139],{},"Background polling pauses while the window is hidden, and sessions share one poll.",[109,141,142],{},"Terminals are lighter. The cursor blinks only when focused, scrollback is 5,000 lines, and fewer terminals stay mounted.",[109,144,145],{},"The worktree rail shows each agent's icon with a status badge: working, waiting, or done.",[18,147,149],{"id":148},"plans","Plans",[11,151,152],{},"Agents already write plans, in plan mode or otherwise. Those plans end up as Markdown files in a folder you rarely open, and they never reach the project they belong to.",[11,154,155,156,158,159,162,163,166,167,170],{},"The new ",[94,157,149],{}," tab in the right panel mirrors them. Veflow watches ",[52,160,161],{},"~\u002F.claude\u002Fplans"," for Claude and ",[52,164,165],{},"~\u002F.veflow\u002Fplans"," for agents with no plan-file convention. Each file is indexed in the same local ",[52,168,169],{},"memoryd"," process as Memory, in its own table, and updates appear as the agent writes.",[29,172,175],{"aspect":31,"hint":173,"kind":33,"src":174},"The Plans tab: plan files from ~\u002F.claude\u002Fplans and ~\u002F.veflow\u002Fplans listed in the right panel, with one plan open and Edit, Discuss with agent and Send to agent actions","\u002Fblog\u002Finline\u002Fplans-tab.png",[11,176,177],{},"Plan files from your agents appear in one list.",[106,179,180,186,199,213],{},[109,181,182,185],{},[94,183,184],{},"The file stays the source of truth."," Edit a plan in the panel and Veflow writes it straight to the file on disk. If the file changes while you're editing, you're told and can reload.",[109,187,188,191,192,195,196,97],{},[94,189,190],{},"Project-scoped."," Plans start with no project, since the agent's plan folder has no working directory in the path. When a new plan appears and exactly one worktree has an agent waiting on you, Veflow assigns the plan to it. If that's ambiguous, the plan stays unassigned and you assign it yourself. Switch between ",[94,193,194],{},"This project"," and ",[94,197,198],{},"All",[109,200,201,204,205,208,209,212],{},[94,202,203],{},"Talk to the agent about it."," ",[94,206,207],{},"Discuss with agent"," sends the plan's path to the chat and asks the agent to read it and raise anything unclear. ",[94,210,211],{},"Send to agent"," asks the agent to review and carry it out.",[109,214,215,218],{},[94,216,217],{},"Tidy up."," Archive a plan to hide it, or delete it, which removes the file from disk after you confirm.",[11,220,221],{},"The Plans tab is available in the desktop app only.",[18,223,225],{"id":224},"try-it","Try it",[11,227,228,229,232],{},"Update the desktop app, then open ",[94,230,231],{},"Settings"," to choose an idle timeout. Open a project with a few sessions and check the status bar. Next time an agent writes a plan, look for it in the Plans tab.",[11,234,235],{},[236,237,239],"a",{"href":238},"\u002F","Get the Veflow desktop app",{"title":241,"searchDepth":242,"depth":242,"links":243},"",3,[244,246,247,248,249,250,251],{"id":20,"depth":245,"text":21},2,{"id":43,"depth":245,"text":44},{"id":72,"depth":245,"text":73},{"id":100,"depth":245,"text":101},{"id":130,"depth":245,"text":131},{"id":148,"depth":245,"text":149},{"id":224,"depth":245,"text":225},"\u002Fblog\u002Fperformance-and-plans.png",false,"md",{},true,"\u002Fblog\u002Flighter-agents-and-plans","2026-10-12",{"title":5,"description":13},"blog\u002Flighter-agents-and-plans","Veflow 1.1.3 stops agent sessions you aren't using, shows live CPU and memory in a new status bar, and adds a Plans tab that mirrors the plan files your agents write.",[263,264,265,148],"desktop","performance","agents",null,"1.1.3","8CxRE0h_zGwder3A_gU_XnIhQQJSo-ZIGjT0_SnRves",1794790391132]