ProactiveAgent Documentation¶


What is ProactiveAgent?¶
ProactiveAgent is an open-source Python library that adds time-awareness to your AI agents. Unlike traditional agents that only respond when prompted, ProactiveAgent creates AI agents that can decide when to speak based on intelligent timing and context analysis.
Your agents become truly conversational - they understand when to follow up, when to wait, and when to initiate conversations naturally.
Key Features¶
- Intelligent Decision Making - Multi-factor decision engines that determine when to respond
- Smart Timing - Dynamic sleep calculators that adapt to conversation patterns
- Fully Customizable - Mix and match decision engines and sleep calculators
- Production Ready - Robust, tested, and ready for real-world applications
- Easy Integration - Simple API that works with any LLM provider
How It Works¶
The 3-Step Decision Cycle: Wake → Decide → Respond → Sleep
Quick Start¶
Get up and running in minutes:
Installation¶
Bash | |
---|---|
Basic Usage¶
That's it! Your agent now has intelligent timing and will respond naturally based on the conversation flow.
Demo¶
Advanced Features¶
- Runtime Configuration Updates - Modify agent parameters dynamically without restarting
- Comprehensive Monitoring - Observe decision-making processes and timing patterns through callback mechanisms
- Context Management System - Programmatically manage conversation state and metadata
- Provider-Agnostic Architecture - Compatible with multiple LLM providers including OpenAI, Anthropic, and local models
- Asynchronous Operations - Native async/await support for high-performance concurrent applications
Documentation¶
Ready to dive deeper? Check out our comprehensive documentation:
- Getting Started - Complete guide with detailed examples
- Examples - Code examples for different use cases
- API Reference - Complete API documentation
Contributing¶
We welcome contributions! Help us make ProactiveAgent even better:
- Bug Reports - GitHub Issues
- Feature Requests - GitHub Discussions
- Code Contributions - Contributing Guide
License¶
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.
Made by the community
Star on GitHub • Report Issues • Read the Docs
Maintained by Leonardo Mariga