Environment:ANative Lab EvoAgentX Python 3 10 Plus
| Knowledge Sources | |
|---|---|
| Domains | Infrastructure, Python |
| Last Updated | 2026-10-21 00:00 GMT |
Overview
Standard Python 3.10+ runtime with pydantic >=2.9.0, networkx >=3.3, loguru, and the EvoAgentX core dependency stack.
Description
This environment provides the foundational Python runtime for all EvoAgentX components. It requires Python >=3.10 (declared in `pyproject.toml`) and the core dependency set: `pydantic` for configuration and structured output models, `networkx` for workflow graph DAG operations, `loguru` for logging, `tenacity` for retry logic, `openai` and `litellm` for LLM access, `dashscope` for Aliyun models, and `jsonschema` for output validation. This is the base environment that every implementation depends on before adding provider-specific or feature-specific environments.
Usage
Use this environment for any EvoAgentX component that does not fall under a specific provider environment (OpenAI_API, OpenRouter_API, LiteLLM_Dependencies, FAISS). It covers agents, workflow execution, benchmark evaluation, HITL, and debate frameworks.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | Linux / macOS / Windows | OS Independent per pyproject.toml |
| Hardware | Any CPU | No GPU required for core |
| Disk | 500MB+ | For pip packages and datasets |
| Network | Varies | Only if using cloud LLM providers |
Dependencies
System Packages
- None OS-specific
Python Packages
- `python` >= 3.10
- `pydantic` >= 2.9.0
- `networkx` >= 3.3
- `numpy` >= 1.26.4
- `pandas` >= 2.2.3
- `loguru` >= 0.7.3
- `python-dotenv` >= 1.0.0
- `requests` >= 2.28.0
- `openai` >= 1.55.3
- `litellm` >= 1.83.10
- `dashscope` >= 1.23.4
- `tenacity`
- `tqdm` >= 4.65.0
- `PyYAML` >= 6.0
- `jsonschema`
- `regex`
- `tree_sitter`
- `tree_sitter_python`
- `overdue`
Credentials
No credentials are required for the core environment itself. Provider-specific credentials are documented in their respective environment pages (OpenAI_API, OpenRouter_API, LiteLLM_Dependencies).
Quick Install
# Install EvoAgentX with core dependencies
pip install evoagentx
# Or install from source
pip install -e .
# Core dependencies only
pip install pydantic>=2.9.0 networkx>=3.3 numpy>=1.26.4 pandas>=2.2.3 \
loguru>=0.7.3 python-dotenv>=1.0.0 requests>=2.28.0 openai>=1.55.3 \
litellm>=1.83.10 dashscope>=1.23.4 tenacity tqdm>=4.65.0 PyYAML>=6.0 \
jsonschema regex tree_sitter tree_sitter_python overdue
Code Evidence
Python version requirement from `pyproject.toml:10`:
requires-python = ">=3.10"
Core dependencies from `pyproject.toml:19-38`:
dependencies = [
"overdue",
"tenacity",
"networkx>=3.3",
"numpy>=1.26.4",
"pandas>=2.2.3",
"pydantic>=2.9.0",
"loguru>=0.7.3",
"python-dotenv>=1.0.0",
"requests>=2.28.0",
"openai>=1.55.3",
"litellm>=1.83.10",
"dashscope>=1.23.4",
"tree_sitter",
"tree_sitter_python",
"PyYAML>=6.0",
"tqdm>=4.65.0",
"regex",
"jsonschema"
]
Pydantic BaseModel usage from `evoagentx/models/model_configs.py:2`:
from pydantic import BaseModel, Field
NetworkX graph usage in workflow graph:
import networkx as nx # used for DAG operations in workflow_graph.py
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
| `ImportError: cannot import name '...' from 'pydantic'` | Pydantic < 2.9.0 installed | `pip install pydantic>=2.9.0` |
| `ModuleNotFoundError: No module named 'networkx'` | networkx not installed | `pip install networkx>=3.3` |
| `Python version too old` | Python < 3.10 | Upgrade to Python 3.10+ |
Compatibility Notes
- Python <3.10: Not supported. `pyproject.toml` declares `requires-python = ">=3.10"`.
- browser-use: Requires Python >=3.11; the `browser-use-py310x` package is used as a fallback for Python 3.10.
- Optional extras: RAG, tools, multimodal, optimizers, benchmarks, and viz are installed via `pip install evoagentx[rag,tools,...]` or `pip install evoagentx[all]`.
Related Pages
- Implementation:ANative_Lab_EvoAgentX_CustomizeAgent
- Implementation:ANative_Lab_EvoAgentX_AgentManager
- Implementation:ANative_Lab_EvoAgentX_WorkFlow
- Implementation:ANative_Lab_EvoAgentX_WorkFlowGenerator
- Implementation:ANative_Lab_EvoAgentX_SequentialWorkFlowGraph
- Implementation:ANative_Lab_EvoAgentX_RAGConfig
- Implementation:ANative_Lab_EvoAgentX_AFlowOptimizer
- Implementation:ANative_Lab_EvoAgentX_Benchmark
- Implementation:ANative_Lab_EvoAgentX_QAActionGraph
- Implementation:ANative_Lab_EvoAgentX_Evaluator
- Implementation:ANative_Lab_EvoAgentX_HITLManager
- Implementation:ANative_Lab_EvoAgentX_HITLInterceptorAgent
- Implementation:ANative_Lab_EvoAgentX_MultiAgentDebateActionGraph
- Implementation:ANative_Lab_EvoAgentX_Evaluation_Functions
- Implementation:ANative_Lab_EvoAgentX_LLMOutputParser
- Implementation:ANative_Lab_EvoAgentX_Toolkit