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
…loop Add OGx-backed state hydration and agentic loop to the three-crate workspace: agentic-core: - ResponseStore and VectorSearch traits (store/mod.rs) - OgxStore implementation hitting OGx REST APIs (store/ogx.rs) - Framework-agnostic agentic loop with file_search tool execution - State hydration via previous_response_id - Serde types for the Responses API subset (types.rs) agentic-server: - Axum handler dispatches to agentic-core, converts AgenticResult to HTTP responses (streaming and non-streaming) - CLI flags: --ogx-base-url, --max-iterations - Integration test with real OGx (health + passthrough) - Mock-based tests for proxy, state hydration, and agentic loop CI: - Integration test job that starts OGx and runs cargo test - Clippy and cargo-test pre-commit hooks Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
48035cb to
84bb97f
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