Skip to content

[KYUUBI #7379][2b/4] Data Agent Engine: agent runtime, middleware, and OpenAI provider#7382

Closed
wangzhigang1999 wants to merge 3 commits intoapache:masterfrom
wangzhigang1999:pr2b/data-agent-runtime
Closed

[KYUUBI #7379][2b/4] Data Agent Engine: agent runtime, middleware, and OpenAI provider#7382
wangzhigang1999 wants to merge 3 commits intoapache:masterfrom
wangzhigang1999:pr2b/data-agent-runtime

Conversation

@wangzhigang1999
Copy link
Copy Markdown
Contributor

Summary

Part 2b of 4 for the Data Agent Engine (umbrella). Stacked on #7380 and PR 2a, please review those first.

  • ReactAgent — ReAct loop with streaming LLM interaction and configurable max iterations
  • ConversationMemory — per-session multi-turn context management
  • Middleware pipeline: ApprovalMiddleware (STRICT/NORMAL/AUTO_APPROVE), LoggingMiddleware
  • OpenAiProvider — wires ReactAgent + tools + middleware for any OpenAI-compatible LLM service
  • MockLlmProvider — enables full pipeline integration testing without a real LLM

Note: Stacked PR. After prior PRs merge, this will be rebased to show only incremental diff.

Test plan

  • ReactAgentBuilderTest — builder validation
  • ConversationMemoryTest — message management, defensive copy
  • ApprovalMiddlewareTest — approve/deny, timeout, risk-level routing, cancelAll
  • LoggingMiddlewareTest — event pass-through, truncation
  • DataAgentMockLlmSuite — full tool-call pipeline via JDBC with MockLlmProvider
  • DataAgentE2ESuite — end-to-end with real LLM (CI-optional)
  • ApprovalWorkflowIntegrationSuite — approval workflow via JDBC

@wangzhigang1999 wangzhigang1999 deleted the pr2b/data-agent-runtime branch April 4, 2026 17:00
@wangzhigang1999 wangzhigang1999 restored the pr2b/data-agent-runtime branch April 10, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant