Essentials
Configuration
Configure AgenticFleet for your environment
Configuration Guide
AgenticFleet provides flexible configuration options to customize its behavior for your specific needs.
Environment Variables
Set up your environment variables in a .env
file:
Configuration File
Create a config.yaml
file in your project root:
Application Configuration
The ApplicationConfig
class manages core settings:
Available Settings
Setting | Type | Default | Description |
---|---|---|---|
debug | bool | False | Enable debug mode |
log_level | str | ”INFO” | Logging level |
host | str | ”localhost” | Server host |
port | int | 8000 | Server port |
max_retries | int | 3 | Max retry attempts |
timeout | int | 30 | Request timeout |
Agent Configuration
Configure individual agents:
Model Settings
Setting | Type | Default | Description |
---|---|---|---|
model | str | ”gpt-4” | Model to use |
temperature | float | 0.7 | Response randomness |
max_tokens | int | 2000 | Max response length |
tools_enabled | bool | True | Enable tool usage |
Fleet Configuration
Configure fleet behavior:
Fleet Settings
Setting | Type | Default | Description |
---|---|---|---|
max_agents | int | 10 | Max agents per fleet |
coordination_pattern | str | ”sequential” | Fleet pattern |
timeout | int | 300 | Fleet operation timeout |
auto_scaling | bool | True | Enable auto-scaling |
Memory Configuration
Configure memory storage:
Memory Settings
Setting | Type | Default | Description |
---|---|---|---|
storage_type | str | ”redis” | Storage backend |
ttl | int | 86400 | Time-to-live (seconds) |
max_size | int | 1000000 | Max storage size |
OAuth Configuration
Configure OAuth settings:
OAuth Settings
Setting | Type | Default | Description |
---|---|---|---|
enabled | bool | True | Enable OAuth |
provider | str | ”github” | OAuth provider |
scopes | list | [] | OAuth scopes |
Best Practices
-
Environment Management
- Use
.env
for sensitive data - Use
config.yaml
for app settings - Override with environment variables
- Use
-
Security
- Never commit API keys
- Rotate secrets regularly
- Use minimum required scopes
-
Performance
- Adjust timeouts for your use case
- Configure memory TTL appropriately
- Enable auto-scaling as needed