Skip to main content
Typed configuration classes provide type safety and validation for networking and package management in managed environments.
The user defines typed networking and package settings; PraisonAI validates them before the managed agent runs.

How It Works

Quick Start

1

NetworkingConfig Usage

Configure network access with type safety.
2

PackagesConfig Usage

Configure package dependencies for all supported managers.

How It Works


NetworkingConfig

Configuration Options

NetworkingType Enum

Examples


PackagesConfig

Configuration Options

Examples


Common Patterns

Migration from Dict Config

Environment-Specific Configurations

Package Templates


Best Practices

Use LIMITED networking in production environments:
Organize packages logically and minimize dependencies:
Both dict and typed configs work seamlessly:
  • IDE Support: Auto-completion and type checking
  • Runtime Validation: Early error detection
  • API Compatibility: Seamless serialization with to_dict()
  • Documentation: Self-documenting configuration structure

Managed Vault

OAuth credentials management for managed agents

Sandboxed Agent

Local agent loop with configurable tool sandboxing