While many agent frameworks offer little more than a disparate collection of parts, OxyGent provides a streamlined production line. It treats agents, tools, and models as standardized, modular components—referred to as "Oxy" units—that integrate seamlessly. You can hot-swap a tool, replace a model, or reuse a sub-agent across multiple projects without friction. The framework manages all the underlying orchestration.
The result is a system that eliminates repetitive boilerplate code, allowing you to focus on shipping agents ready for production environments.
What Sets It Apart
OxyGent is designed to solve the primary challenges that often stall enterprise AI initiatives.
Who Benefits
The Full Lifecycle
OxyGent is not merely a research prototype; it is production infrastructure designed to put multi-agent systems to work.
Get Started in Five Minutes
First, create a Python environment using conda or uv:
conda create -n oxy_env python==3.10
conda activate oxy_env
Alternatively, using uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install 3.10
uv venv .venv --python 3.10
source .venv/bin/activate
Install the OxyGent framework:
pip install oxygent
# or: uv pip install oxygent
Install Node.js and any additional required dependencies:
pip install -r requirements.txt
brew install coreutils # Install if necessary for your OS
A Working Example
import os
from oxygent import MAS, Config, oxy, preset_tools
Config.set_agent_llm_model("default_llm")
oxy_space = [
oxy.HttpLLM(
name="default_llm",
api_key=os.getenv("DEFAULT_LLM_API_KEY"),
base_url=os.getenv("DEFAULT_LLM_BASE_URL"),
model_name=os.getenv("DEFAULT_LLM_MODEL_NAME"),
llm_params={"temperature": 0.01},
semaphore=4,
),
preset_tools.time_tools,
oxy.ReActAgent(
name="time_agent",
desc="Queries the current time",
tools=["time_tools"],
),
preset_tools.file_tools,
oxy.ReActAgent(
name="file_agent",
desc="Reads and writes files",
tools=["file_tools"],
),
preset_tools.math_tools,
oxy.ReActAgent(
name="math_agent",
desc="Performs calculations",
tools=["math_tools"],
),
oxy.ReActAgent(
is_master=True,
name="master_agent",
sub_agents=["time_agent", "file_agent", "math_agent"],
),
]
async def main():
async with MAS(oxy_space=oxy_space) as mas:
await mas.start_web_service(
first_query="What time is it? Save the time to time.txt."
)
if __name__ == "__main__":
import asyncio
asyncio.run(main())
Configure your LLM credentials:
export DEFAULT_LLM_API_KEY="your_api_key"
export DEFAULT_LLM_BASE_URL="your_base_url"
export DEFAULT_LLM_MODEL_NAME="your_model_name"
You can also store these in a .env file for easier management. Finally, run the demo:
python demo.py
The Bottom Line
OxyGent treats multi-agent development as a rigorous engineering discipline rather than a series of experiments. With its modular components, clear observability, and built-in learning capabilities, it is designed for deployment in real-world environments. If your team is ready to move beyond basic demos and into production-grade AI, OxyGent is the ideal starting point.
Mantis: A Smarter Vision-Language-Action Model for Robots
Wan2.2-Animate: Local Setup Guide for Image-to-Video and Character Consistency
Skill Seeker: Convert Any Documentation Site Into Claude AI Skills
Tempurai Coder Review: An AI Terminal Assistant That Plans Before It Acts
Checkmate: Open-Source Server Monitoring with Uptime Alerts
LandPPT: Create AI-Powered Presentations from Any Document
MindForger Review: A Private Markdown IDE for Personal Knowledge Management
Beszel Lightweight Server Monitor: Docker Stats and Alerts Setup
MemoryOS: Equip AI Agents with Persistent Recall via a Memory Hierarchy
ALLinSSL: Automated SSL Certificate Lifecycle Management
DeerFlow: Modular Multi-Agent Research With LangGraph and MCP
How to Highlight Top 3 and Bottom 3 Bars in an Excel Chart