A research assistant that takes a topic, searches the web, and returns a synthesized summary with sources. You’ll go from zero to working prototype in under 10 minutes.
curl -X POST https://api.stewrd.dev/v1/agent \ -H "Authorization: Bearer sk-stw_your_key" \ -H "Content-Type: application/json" \ -d '{ "message": "Research the current state of AI code generation tools. Compare Copilot, Cursor, and Claude Code. Include pricing and key features.", "capabilities": ["research", "chat"] }'
Wrap the API call in a function you can reuse across your app:
import { Stewrd } from '@stewrd/sdk'const stewrd = new Stewrd(process.env.STEWRD_API_KEY!)async function research(topic: string): Promise<string> { const result = await stewrd.agent.run({ message: `Research the following topic and provide a detailed, well-structured summary with key findings: ${topic}`, capabilities: ['research', 'chat'], }) return result.message}// Usageconst summary = await research('latest trends in serverless computing 2026')console.log(summary)