Skip to content

[appkit plugin] Add @databricks/appkit-agent package#384

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

[appkit plugin] Add @databricks/appkit-agent package#384
hubertzub-db wants to merge 1 commit intodatabricks:mainfrom
hubertzub-db:stack/agent-plugin-p2

Conversation

@hubertzub-db
Copy link

@hubertzub-db hubertzub-db commented Mar 19, 2026

🥞 Stacked PR


Summary

Extracts the agent plugin from the AppKit monorepo into a standalone, publishable package at integrations/appkit-agent.

This package provides:

  1. AgentInterface — a contract for writing custom agent implementations that speak the OpenAI Responses API format (streaming + non-streaming).
  2. StandardAgent — a ready-to-use LangGraph-based ReAct agent with function tools and Databricks-hosted tool integration (Genie, Vector Search, MCP servers).

Key decisions:

  • @databricks/appkit is a peer dependency — the plugin integrates via AppKit's public Plugin/toPlugin/PluginManifest API
  • LangChain packages (@databricks/langchainjs, @langchain/core, @langchain/langgraph, @langchain/mcp-adapters) are optional peer dependencies — only needed when using StandardAgent, not needed for custom agentInstance implementations
  • Internal createLogger replaced with a local minimal console logger to avoid coupling to AppKit internals
  • Added CI workflow (appkit-agent.yml) and release workflow (release-appkit-agent.yml)

@hubertzub-db hubertzub-db changed the title Agent plugin [appkit] Add @databricks/appkit-agent package Mar 19, 2026
@hubertzub-db hubertzub-db changed the title [appkit] Add @databricks/appkit-agent package [appkit plugin] Add @databricks/appkit-agent package Mar 19, 2026
Copy link
Collaborator

@smurching smurching left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good (mostly just a copy-over of the code from databricks/appkit#166), but should we also include tests here/those seem missing in this PR?

@hubertzub-db hubertzub-db force-pushed the stack/agent-plugin-p2 branch 7 times, most recently from bc6e379 to 3cb6507 Compare March 20, 2026 10:08
Signed-off-by: Hubert Zub <hubert.zub@databricks.com>
@hubertzub-db
Copy link
Author

but should we also include tests here/those seem missing in this PR?

@smurching agree, let's bring over tests in this PR. Initially I wanted to bring them over in latter parts but there's no guarantee we'll get there soon - so it sounds good to colocate them here.
I've added appkit test harness, moved unit tests and added one larger integration-ish test.

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.

2 participants