Purpose
OxyGent is an open-source multi-agent development framework, open-sourced by JD.com, and has a paper accepted by ACL 2026, "OxyGent: Making Multi-Agent Systems Modular, Observable, and Evolvable via Oxy Abstraction" (arXiv:2604.25602). It is aimed at developers who want to quickly build production-grade intelligent systems. Through a unified Oxy abstraction, it encapsulates tools, models, and agents all as modular components, making the construction, operation, and evolution of multi-agent systems transparent and extensible.
Main Capabilities
- Efficient development: Standardized Oxy components can be assembled like Lego bricks, support hot-swapping and cross-scenario reuse, and are assembled through a concise Python interface without complex configuration.
- Intelligent collaboration: Using a dynamic planning paradigm, agents can autonomously decompose tasks, negotiate solutions, and adapt to changes in real time; unlike rigid workflow systems, OxyGent's agents can naturally handle emergent problems while maintaining full auditability of every decision.
- Elastic architecture: The underlying elastic architecture supports arbitrary agent topologies, from simple ReAct to complex hybrid planning patterns; automatic dependency mapping and visual debugging tools facilitate performance optimization in distributed systems.
- Continuous evolution: The built-in evaluation engine can automatically generate training data, and every interaction becomes a learning opportunity. Agents continuously improve through knowledge feedback loops while remaining fully transparent.
- Scalability: Following Metcalfe's law, the distributed scheduler makes costs grow linearly while collaborative intelligence yields exponential returns, and it can handle domain-level optimization and real-time decision-making at any scale.
Usage
Environment requirements include the pip package manager and an API key from an LLM provider (such as OpenAI, Anthropic, etc.). Installation steps: Step 1: Create and activate a Python environment (Python 3.10 required).
- conda method:
conda create -n oxy_env python==3.10Thenconda activate oxy_env. - uv method:
curl -LsSf https://astral.sh/uv/install.sh | sh,uv python install 3.10,uv venv .venv --python 3.10,source .venv/bin/activate. Step 2: Install the Python package. - conda:
pip install oxygent - uv:
uv pip install oxygent - Development environment:
git clone https://github.com/jd-opensource/OxyGent.git,cd OxyGent,pip install -r requirements.txt(under uv, you can firstbrew install coreutils). Step 3: If you need to use MCP, download and install Node.js. Step 4: Write an example Python script (such as demo.py), importMAS、Config、oxy、preset_tools, set the model viaConfig.set_agent_llm_model("default_llm"), define inoxy_spacetheHttpLLM, the preset tools (time_tools, file_tools, math_tools), and eachReActAgent(time_agent, file_agent, math_agent), and define master_agent and its sub_agents withis_master=True. In the main function, start it viaasync with MAS(oxy_space=oxy_space) as masand callmas.start_web_service(first_query=...). Step 5: Set the environment variableDEFAULT_LLM_API_KEY、DEFAULT_LLM_BASE_URL、DEFAULT_LLM_MODEL_NAME. You can export it in the terminal or write it to a .env file. Step 6: Run the examplepython demo.pyLaunch the multi-agent system. Step 7: View the output.
Use cases
- Developers: Focus on business logic without reinventing the wheel.
- Enterprises: Replace isolated AI systems with a unified framework, reduce communication overhead, support horizontal scaling through distributed scheduling, complete auditing of every decision, continuous improvement with a built-in evaluation engine, and domain-level optimization and real-time decision-making.
- Users: Experience seamless team collaboration brought by the agent ecosystem.
Supported planning paradigms
- ReAct: A "reasoning + acting" mode for simple tasks.
- Dynamic Planning: Agents autonomously decompose tasks and negotiate solutions.
- Hybrid Planning: Combine multiple paradigms for complex scenarios.
Collaboration and deployment
OxyGent's elastic architecture supports arbitrary agent topologies. Agents communicate through standardized interfaces and are equipped with automatic dependency mapping and visual debugging tools. Applications can be deployed as standard Python applications: run locally for development python demo.py; in production, use a distributed scheduler to scale across multiple nodes; they can also be containerized for deployment. OxyGent supports any LLM provider that offers a compatible API, including local models configured through DEFAULT_LLM_BASE_URL、DEFAULT_LLM_MODEL_NAME . Custom Oxy can be implemented by inheriting from the base Oxy class and implementing the required methods.
Project information and limitations
OxyGent offers two open-source versions, Python and Java. The latest version on July 15, 2025 scored 59.14 on the GAIA evaluation, while the top-ranked open-source system at that time, OWL, scored 60.8. The project welcomes contributions through reporting issues, suggesting enhancements, improving documentation, or writing code; community support can be obtained by submitting reproducible steps and log snippets through project Issues, or by contacting the core team via internal Slack. Common troubleshooting: for import errors, ensure Python 3.10+ and update dependencies; for API key errors, check the LLM provider key; for agent communication issues, check whether all Oxy components are correctly registered. Regarding specific pricing, charging models, the complete taxonomy, and prices for each version, the available information does not currently provide this.