Agent
BaseAgent is the core building block of WebAgents. It provides a flexible, skill-based architecture for creating AI agents that speak the OpenAI Chat Completions dialect.
- Overview: How agents work under the hood
- Lifecycle: Agent creation, initialization, and shutdown
- Tools: Add executable functions to your agent
- Prompts: System and user prompt management
- Hooks: Lifecycle integration points
- Handoffs: LLM-driven agent routing
- Commands: User-facing slash commands
- Widgets: Rich UI components
- Endpoints: HTTP API endpoints
- Transports: Communication protocols
- Router: Multi-agent routing
- Capabilities: Capability negotiation
- Skills: Skill integration