What problem does it solve? Developers need to integrate ai-powered coding agents into Node.js applications without running interactive CLIs, and need fine-grained control over available tools, authentication, and session management. ## Core Features & Use Cases - SDK Integration: Spawn agent sessions from any Node 20.6+ script with full programmatic control. - Tool Restriction: Limit agents to read-only, domain-specific, or custom tool sets; prevent dangerous operations. - Extension System: Register custom tools, commands, and lifecycle hooks via TypeScript modules. - Use Case: A DevOps orchestrator registers a deploy tool and restricts bash to read-only operations, then spawns ephemeral agent sessions to diagnose and fix infrastructure issues without exposing full shell access. ## Quick Start Create a Node script that imports createAgentSession, configure your allowed tools, pass your API key, and call session.prompt() to send a task to the agent.