Skip to content

feat(appkit): add AgentPlugin for LangChain/LangGraph agents#166

Open
hubertzub-db wants to merge 1 commit intodatabricks:mainfrom
hubertzub-db:feat/agent-plugin
Open

feat(appkit): add AgentPlugin for LangChain/LangGraph agents#166
hubertzub-db wants to merge 1 commit intodatabricks:mainfrom
hubertzub-db:feat/agent-plugin

Conversation

@hubertzub-db
Copy link

Adds a new first-class plugin for building AI agents with:

  • AgentInterface contract decoupled from LangGraph internals
  • StandardAgent wrapping LangGraph createReactAgent with full Responses API SSE streaming (sequence numbers, output indices)
  • Invoke handler supporting string/array input, chat history with function_call normalization, and /invocations + /responses routes
  • Bring-your-own-agent via config.agentInstance escape hatch
  • MLflow tracing integration via OTel env vars and LangChain instrumentation
  • MCP tool loading with graceful fallback
  • injectAppRoutes hook on base Plugin class for root-level routes
  • 33 tests (unit + integration) using deterministic StubAgent
  • Cross-repo test script for validating against agent-langchain-ts template

@hubertzub-db hubertzub-db force-pushed the feat/agent-plugin branch 5 times, most recently from b3af3c3 to 1986246 Compare March 9, 2026 13:27
Signed-off-by: Hubert Zub <hubert.zub@databricks.com>
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