Skip to content

Feat/agents sdk#222

Open
manapard wants to merge 4 commits intocallstackincubator:mainfrom
manapard:feat/agents-sdk
Open

Feat/agents sdk#222
manapard wants to merge 4 commits intocallstackincubator:mainfrom
manapard:feat/agents-sdk

Conversation

@manapard
Copy link
Copy Markdown

@manapard manapard commented Apr 9, 2026

Description

Introduces @rozenite/agent-sdk, a new SDK for programmatic use of Rozenite agent sessions and tools.

The existing rozenite agent CLI is refactored to use the SDK internally and extracted reusable agent logic from the CLI into the SDK:

  • HTTP transport
  • static/runtime domain discovery
  • domain and tool resolution
  • optional tool auto-pagination

Also added website docs for the new Agent SDK.

Related Issue

Context

Testing

@manapard manapard marked this pull request as ready for review April 9, 2026 12:13
domain: string;
tool: string;
}) => Promise<AgentToolSchema>;
callTool: (input: {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can make it generic <TArgs, TResult>, so it's easier to provide types later on.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I wonder if there's a way to safely expose tools from plugins without bringing in any JavaScript or third-party packages. We'd probably need a separate entry point, like @rozenite/storage-plugin/sdk

"type": "git",
"url": "https://github.com/callstackincubator/rozenite.git"
},
"author": "Szymon Chmal <szymon.chmal@callstack.com>",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not an author 😛 Feel free to put yourself here!

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