Open
Conversation
academo
commented
Feb 17, 2026
| @@ -0,0 +1,49 @@ | |||
| package storage | |||
Collaborator
Author
There was a problem hiding this comment.
please keep an eye for "testdata" files. like this one. all this file content is fake an irrelevant.
academo
commented
Feb 17, 2026
| @@ -0,0 +1,320 @@ | |||
| package llmclient | |||
Collaborator
Author
There was a problem hiding this comment.
this is a real file
s4kh
reviewed
Feb 18, 2026
s4kh
reviewed
Feb 18, 2026
s4kh
reviewed
Feb 18, 2026
s4kh
reviewed
Feb 18, 2026
s4kh
approved these changes
Feb 18, 2026
xnyo
reviewed
Feb 19, 2026
Member
xnyo
left a comment
There was a problem hiding this comment.
Awesome work! I have some comments but I really like this idea, much much better than the Gemini CLI approach we currently have 🥇 🙌
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.
this PR adds a basic agent client that can use openai/anthropic/google apis to answer questions about code.
The agent is barebones and it is not yet used anywhere. The idea is introduce the client here and then move code-diff to use it directly instead of the gemini-cli
AgenticClient
The agentic client runs a tool-calling loop where the LLM can explore code using read-only tools, then submits structured answers via
submit_answer.Tools:
list_directory,read_file,grep,git(allowlisted subcommands),submit_answerProviders: Google (Gemini), Anthropic (Claude), OpenAI
sequenceDiagram participant Caller participant AgenticClient participant LLM participant Tools Caller->>AgenticClient: CallLLM(prompt, repoPath, opts) AgenticClient->>LLM: system prompt + user prompt + tool definitions loop until submit_answer or 100 tool calls LLM-->>AgenticClient: tool call(s) alt submit_answer AgenticClient->>AgenticClient: collect answer AgenticClient-->>LLM: "Answer recorded" else read_file / list_directory / grep / git AgenticClient->>Tools: execute tool (sandboxed to repoPath) Tools-->>AgenticClient: result AgenticClient-->>LLM: tool result end end Note over LLM,AgenticClient: LLM sends message with no tool calls → done AgenticClient-->>Caller: []AnswerSchema