feat: add OGX integration with agentic loop and state hydration#34
Draft
franciscojavierarceo wants to merge 1 commit into
Draft
feat: add OGX integration with agentic loop and state hydration#34franciscojavierarceo wants to merge 1 commit into
franciscojavierarceo wants to merge 1 commit into
Conversation
48035cb to
84bb97f
Compare
This was referenced May 29, 2026
ebbcb9f to
d282b0c
Compare
Add trait-based store backend (ResponseStore, VectorSearch) in agentic-core with OGx as the first implementation. The gateway handler detects file_search tool calls and runs an agentic loop: send to vLLM with file_search converted to a function tool, execute vector search via OGx, feed results back, repeat until no more tool calls or max iterations reached. State hydration prepends previous conversation history when previous_response_id is set. - agentic-core: types, store traits, OGx impl, error expansion - agentic-server: handler with agentic loop, state hydration, proxy - 22 new tests: proxy, agentic loop, state hydration, integration - CI: integration job with OGx vector search Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
d282b0c to
0ef5f75
Compare
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
ResponseStore,VectorSearch) toagentic-corewith OGX as first implementationprevious_response_id— fetches conversation history from OGX and prepends to inputfile_searchtool — calls vLLM, executes vector store searches via OGX, feeds results back until no more tool calls or max iterationsResponseRequest,ResponseBody,OutputItem, etc.) toagentic-coreagentic-serverCLI with--ogx-base-urland--max-iterationsflags/healthendpointuv pip install ogx[sqlite-vec]make integration-testtarget for local + CI usageTest plan
cargo build— cleancargo test— 39 tests pass (23 core + 2 CLI + 7 proxy + 4 agentic loop + 2 hydration + 1 integration skip)cargo clippy --all-targets -- -D warnings— cleancargo fmt -- --check— cleanmake integration-test— works locally with OGX installed🤖 Generated with Claude Code