feat(appkit): add createAgent wrapper, agent-app, and API docs#286
Closed
MarioCadenas wants to merge 1 commit intoagent/3-plugin-contextfrom
Closed
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 was referenced Apr 21, 2026
Collaborator
Author
|
Superseded by the v2 6-PR stack:
The v2 stack reorganizes the same work so no PR ships API that a later PR deletes. Start at #301 for the new entry point. Branches from this older stack are preserved unchanged. |
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
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
agents()plugin +createAgent(def)+.toolkit()— feat(appkit): add agents() plugin, createAgent() factory, and .toolkit() #294agents()— feat(appkit): migrate agent-app and docs to the new agents() plugin #295preparePluginsforwards eager instance — refactor(appkit): forward eager plugin instance through preparePlugins #297fromPlugin()API — feat(appkit): add fromPlugin() for referencing plugin tools in code-defined agents #298agent()+createAgentApp— chore(appkit): remove deprecated agent() plugin and createAgentApp shortcut #299toPluginWithInstance+ bug fixes — refactor(appkit): retire toPluginWithInstance; consolidate on fromPlugin + fix schema/routing bugs #300Test plan