welcome-to-bot0.md

Welcome to bot0

bot0 is an intelligent agent framework designed for building powerful, autonomous AI assistants.

What is bot0?

bot0 provides the infrastructure for creating AI agents that can:

  • Execute tasks autonomously - Agents can plan and execute multi-step workflows
  • Manage state intelligently - Built-in conversation and context management
  • Run proactively - Background tasks and scheduled operations
  • Scale efficiently - Queue-based task management for concurrent operations

Getting Started

Installation

bash
npm install bot0

Quick Example

typescript
import { Bot0 } from 'bot0'; const agent = new Bot0({ model: 'claude-3', systemPrompt: 'You are a helpful assistant.', }); const response = await agent.chat('Hello, world!'); console.log(response);

Core Concepts

Conversations

Every interaction with bot0 happens within a conversation context. Conversations maintain state, history, and can be persisted across sessions.

Tasks

Tasks are discrete units of work that agents can execute. They can be:

  • Synchronous or asynchronous
  • Scheduled for future execution
  • Chained together in workflows

Queues

The queue system manages task execution, ensuring:

  • Proper ordering and prioritization
  • Resource management
  • Error handling and retries

Documentation

Explore the documentation to learn more:

Community