vteam run <agent> --interactive (or the interactive session toggle in the TUI run dialog) runs the same agent, but instead of claude -p it opens the prompt in an interactive Claude Code session that you can pair with. It needs workmux and tmux. Cron runs are always headless.
vteam run coder --interactivevteam run improver --interactive --focus "the auth module"Lifecycle
Section titled “Lifecycle”-
Hand-off. vteam picks the task (claimed with
claimed-sessionmetadata instead of a pid), creates the branch, and creates the worktree withworkmux add --headless. For PR follow-ups it also merges the base branch when the PR conflicts. -
Open. It opens the worktree with
workmux open. Inside tmux (including from the TUI) the window opens in your current session and you are switched to it; outside tmux it goes to a tmux sessionvteam-<tasks.project>, which vteam tells you to attach to. Claude starts with the agent’sAGENT.mdas system prompt, its model and tools, and the usual prompt plus an Interactive Session section.vteam runexits, and the agent lock is released, so cron runs carry on. -
Submit. When you are done, run
/vteam-submitin the session (install it withvteam skill install). Claude pipes itsAgentOutputJSON tovteam submit, which validates it (Claude fixes and resubmits on errors), commits any uncommitted changes, pushes (commits you made yourself are pushed too), opens or updates the PR, settles the task, and creates one task per finding for task-producing agents ("content": {"type": "tasks", "body": [...]}). Then a detachedvteam session finalizeruns the on-finish hook and memory curation and closes the window withworkmux remove, which also removes the worktree and its local branch. A window in thevteam-<tasks.project>session (run started outside tmux) is not closed, because killing a session’s last window would detach you from it; vteam removes the worktree and you close the window. If submit fails (a rejected push, say), the session stays open and you can submit again. -
Abandon. Closing the window without submitting abandons the session. The next
vteam ensure-mergemarks it abandoned and returns its task totodowith a note. The worktree is kept. To remove it, presscon the TUI’s Overview tab: a confirmation popup lists the abandoned sessions and removes their worktrees and local branches. Sessions with uncommitted changes or unsubmitted commits are kept unless you choose to discard that work. You can also runworkmux remove <handle>yourself. An abandoned session cannot be submitted.
Agents without worktree: true still get a worktree to host the session, but nothing is committed from it. Sessions are recorded in the project’s state directory (sessions/). vteam status lists open sessions and abandoned ones whose worktree still exists, and the TUI sidebar shows ◆N next to an agent with open sessions.