Repository navigation
Conversation
Antigravity can't fork or sample a session over ACP, so an aside opens a short-lived agy process with a custom agent that has no tools or default prompt, gives it the recent chat and asks at low effort. The chat's own session is never touched.
Performance: ✅ every row is within its limitMain
|
This branch has not been deployed
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.
Antigravity (agy) chats now get message guesses, answered by a small side agent that never touches the chat's own agy session.
What
asideby starting a short-livedagy acp --agent sand-asideprocess. Its workspace (<home>/apps/agy) holds a custom agent withexcludeDefaultComponents: trueandtools: [], so it has no built-in tools, no sand tools and no default agy prompt.loweffort. The process closes when the answer arrives.AppSession.asidenow takes{ question, messages }, so an app that can't fork still sees the chat. Claude Code, Codex and replay read onlyquestion, as before.Why
session/fork,session/sampleor side-question method (all return -32601). Its/btwside question only works in the terminal UI: over ACP,/btwruns as a normal turn and stays in the conversation.Verification
plugins/core/agy/test/aside.test.tsruns the real session code against a fakeagyon PATH. It checks that the aside answers from a second process running the side agent, with no MCP servers, the chat's model at low effort and the recent chat in its prompt. It also checks that the chat's process got exactly one prompt and one session, and that the aside process is closed afterwards.session/loadof the main session then showed only the one exchange, with contextusedunchanged.core/agyandagent/guesses, Gemini 3.8 Flash): the turn finished, then a guess arrived about 11 s later andguessReadreturned it. The main agy session again held only its one exchange. The side session used 1,061 tokens.bunx tsc,vrui-check, deps and comment checks passed.bun testof agy, accounts, codex, claude-code, replay, guesses and app-plan passed. In the full local run, the only failure was the message-search concurrent-write test, which passes on its own.