Skip to content

feat: add OGX integration with agentic loop and state hydration#34

Draft
franciscojavierarceo wants to merge 1 commit into
mainfrom
feat/axum-ogx-integration-v2
Draft

feat: add OGX integration with agentic loop and state hydration#34
franciscojavierarceo wants to merge 1 commit into
mainfrom
feat/axum-ogx-integration-v2

Conversation

@franciscojavierarceo
Copy link
Copy Markdown
Collaborator

Summary

  • Adds trait-based store backend (ResponseStore, VectorSearch) to agentic-core with OGX as first implementation
  • Implements state hydration via previous_response_id — fetches conversation history from OGX and prepends to input
  • Implements agentic loop for file_search tool — calls vLLM, executes vector store searches via OGX, feeds results back until no more tool calls or max iterations
  • Adds Responses API types (ResponseRequest, ResponseBody, OutputItem, etc.) to agentic-core
  • Extends agentic-server CLI with --ogx-base-url and --max-iterations flags
  • Adds /health endpoint
  • 14 new integration/unit tests (proxy, agentic loop, state hydration)
  • CI workflow for OGX integration tests via uv pip install ogx[sqlite-vec]
  • make integration-test target for local + CI usage

Test plan

  • cargo build — clean
  • cargo test — 39 tests pass (23 core + 2 CLI + 7 proxy + 4 agentic loop + 2 hydration + 1 integration skip)
  • cargo clippy --all-targets -- -D warnings — clean
  • cargo fmt -- --check — clean
  • make integration-test — works locally with OGX installed

🤖 Generated with Claude Code

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>
@franciscojavierarceo franciscojavierarceo force-pushed the feat/axum-ogx-integration-v2 branch from d282b0c to 0ef5f75 Compare June 4, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant