Agents
Agentic AI hooks for React. Multi-step tool calling, agent status tracking, and typed tool definitions built on the Vercel AI SDK.
npm install @allem-sdk/agents @allem-sdk/ai ai @ai-sdk/react # Pick your provider(s) npm install @ai-sdk/google @ai-sdk/anthropic @ai-sdk/openai # For defining tools with schemas npm install zod
useAllemAgent
Agent hook with status tracking, step history, and tool call awareness
AgentProvider
Optional context for registering tool metadata for UI display
useAgentTools
Read registered tool metadata from AgentProvider
createAllemAgentHandler
Server-side request handler with tool calling for agentic workflows
createAllemTool
Typed tool definition helper with zod schema validation