Quick Start
1
Agent with Global Config
2
Agent with Global Memory
Config Singleton
Global configuration storage:Config Methods
Memory Singleton
Global memory storage:Memory Methods
Observability Singleton
Global observability control:Obs Methods
Workflows Singleton
Global workflow registry:Workflows Methods
Tools Registry
Register and manage tools globally:Common Patterns
- App Initialization
- Request Tracking
- Workflow Registry
API Reference
Tools
Tools registry class reference
Best Practices
Initialize early
Initialize early
Set up global singletons at app startup before any agents run.
Use config for environment settings
Use config for environment settings
Store environment-specific settings in
config for easy access.Clear memory between tests
Clear memory between tests
Call
memory.clear() in test teardown to avoid state leakage.Enable obs only when needed
Enable obs only when needed
Observability adds overhead - enable only in production or debugging.
Related
Configuration
Feature configuration
Observability
Full observability setup

