@solenai/sdk
Keep your AI agents alive in production.
Install
npm install @solenai/sdk
Get an API key
Sign up at solenai.ca ? Settings ? API Keys.
Usage � 3 lines
import { withSolen } from '@solenai/sdk';
const result = await withSolen(
{ apiKey: 'your-api-key', agentId: 'my-research-agent' },
async (ctx) => {
const data = await ctx.step('tool_call', () => searchWeb(query), {
toolName: 'search',
});
const analysis = await ctx.step('llm_call', () => analyzeWithLlm(data));
return analysis;
}
);
When your agent breaks, Solen detects it, heals it, and resumes � without paging an engineer.