Quickstart Guide
Get started with Egregore in just a few minutes and create your first AI agent with PACT architecture.Installation
Setup API Key
Egregore supports 30+ AI providers. Set up your preferred provider’s API key:Your First Agent
Create a simple agent that maintains conversation history:Using Scaffolds for Memory
Add persistent memory to your agent with the built-in notes scaffold:Streaming Responses
Get real-time responses as they’re generated:Context Operations
Manipulate context precisely using PACT coordinates:Using Tools
Add custom tools to your agent:Hooks for Observability
Monitor and modify agent behavior with hooks:Next Steps
Core Concepts
Learn about PACT architecture
Context Management
Master the context tree
Scaffolds
Build persistent memory systems
Workflows
Orchestrate multi-agent systems
Common Patterns
Multi-turn Conversation
Temporary Context with TTL
Async Support
Troubleshooting
ImportError: No module named 'egregore'
ImportError: No module named 'egregore'
Make sure you’ve installed the package:
API Key Not Found
API Key Not Found
Set your provider’s API key as an environment variable:Or pass it directly:
Context Too Long Error
Context Too Long Error
Use TTL to manage context size:
Resources
What’s Next?
Now that you have a basic agent running, explore:- Context Management - Learn PACT coordinates and depth system
- Scaffolds - Build custom persistent memory systems
- Hooks - Add observability and custom logic
- Workflows - Orchestrate multiple agents

