feat(appkit): add createAgent wrapper, agent-app, and API docs#286
Draft
MarioCadenas wants to merge 1 commit intoagent/3-plugin-contextfrom
Draft
feat(appkit): add createAgent wrapper, agent-app, and API docs#286MarioCadenas wants to merge 1 commit intoagent/3-plugin-contextfrom
MarioCadenas wants to merge 1 commit intoagent/3-plugin-contextfrom
Conversation
This was referenced Apr 16, 2026
4544acb to
e40b36c
Compare
d467fcf to
1df3849
Compare
e40b36c to
114150b
Compare
Add the final layer for building agent apps end-to-end: - createAgent(): declarative one-call API that composes server + agent plugins, registers code-defined agents and tools, and starts the HTTP server with its REST API and SSE streaming. - agent-app/: example app demonstrating createAgent with config-driven agents, function tools, and custom MCP servers. - Use tool() and mcpServer() helpers in agent-app/server.ts: tool() with Zod schemas replaces the hand-written JSON Schema, and mcpServer(name, url) replaces the verbose custom_mcp_server wrapper. - Regenerated typedoc API reference for the new public exports. - Docs and guides for the agent plugin, tools, and adapter pattern. Signed-off-by: MarioCadenas <MarioCadenas@users.noreply.github.com>
1df3849 to
a681394
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
PR 5 of 5 in the agent plugin stack.
createAgent(): high-level convenience wrapper aroundcreateAppwithagent()+server()pre-wired. Normalizes singleadapterto{ assistant }. ReturnsAgentHandlewithregisterAgent,addTools,getTools,getThreads, andplugins.agent-app: standalone reference application with React frontend, Databricks deployment config (databricks.yml), and TailwindCSSdev-playground: adds an agent route with chat UIPR Stack
Test plan