Conversation
Run `agi` without arguments to enter an interactive loop where you can type tasks one after another. With a goal argument the task starts immediately but returns to the prompt on completion instead of exiting. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Action type + coords stay bold white, params render in gray for visual hierarchy: `▸ type "echo hello world"` / `▸ hotkey [Enter]` Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This was referenced Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agiwith no arguments to enter interactive mode — type tasks one after another in a REPL loopagi "some task"now returns to the input prompt on completion instead of exitingChanges
src/cli.ts— goal positional is now optional ([goal]instead of<goal>)src/index.tsx— removed goal-required error gatesrc/components/PromptInput.tsx— new REPL input componentsrc/components/EventDisplay.tsx— added separator event type for task boundariessrc/hooks/useAgent.ts— driver cleanup/restart support,onFinishedRefto avoid stale closuressrc/app/App.tsx— phase state machine (input|executing) replacing one-shot lifecycleTest plan
agi "test task"— executes then shows input prompt (not exit)agi— shows interactive mode header and input prompt immediatelynpm run typecheckpassesnpm run buildpasses🤖 Generated with Claude Code