Uni-Agent: A Scalable Framework for Training Long-Horizon AI Agents
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Uni-Agent is a powerful Python framework designed for training long-horizon agents at scale. It allows users to integrate existing agent harnesses, unify diverse agent tasks through an extensible interface, and run thousands of sessions concurrently for efficient data collection and training.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Uni-Agent is a powerful Python framework designed for training long-horizon agents at scale. It allows you to bring any existing agent harness into reinforcement learning, unify diverse agent tasks through one extensible interface, and run agents concurrently at scale. The framework collects traceable trajectories as training-ready data for Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL).
Why Use It & Key Benefits
Uni-Agent offers several compelling features for developing and training advanced AI agents:
- Plug in any agent harness: Connect harnesses like Claude Code and Mini-SWE-Agent, or any harness compatible with OpenAI or Anthropic model endpoints, directly to the Uni-Agent Gateway.
- Decouple agents, tasks, and infrastructure: Build white-box agents from reusable
Agent,Tool,Task, andSandboxabstractions. Customize agent logic, tools, task environments, sandbox backends, and rewards independently while reusing the same evaluation and training runtime. - Run thousands of sessions concurrently: Execute over 1,000 long-horizon, stateful sessions with distributed workers, pooled Gateway sessions, isolated sandboxes, and asynchronous scheduling. Every trajectory, log, and reward remains associated with the correct session for reliable evaluation, RL training, and data synthesis.
- Reproducible training, verifiable results: The project publishes runnable recipes with complete configurations, benchmark settings, result tables, and learning curves. These recipes provide tested starting points and make reported improvements easier to reproduce and verify.
The framework demonstrates strong performance in both parallel inference and verification, as well as agent reinforcement learning, with impressive scores on benchmarks like SWE-Bench and Terminal-Bench.
Installation
To get started with Uni-Agent, follow the official installation guide:
Examples
Uni-Agent provides a clear end-to-end path for development and training:
- Launch a sandbox and run code locally or with cloud services.
- Run agent inference at scale for benchmarking and trajectory generation.
- Train an agent with RL with reproducible scripts and verifiable results.
For more detailed guides and examples, refer to the comprehensive Uni-Agent documentation.
Links
Related repositories
Similar repositories that may be relevant next.

Benchmark Radar: A Living Database for AI Benchmarks and Evaluation
September 29, 2026
Benchmark Radar is an extensive open-source project that tracks over 20,710 AI benchmark, evaluation, dataset, and data-quality records from 37 public sources. It provides daily updates, linked evidence, and tools for researchers and developers to discover and analyze AI benchmarks. This project is essential for anyone needing to stay current with AI evaluation trends and model performance.

Pydantic AI Harness: Enhancing Your AI Agents with Robust Capabilities
September 28, 2026
Pydantic AI Harness is the official capability and harness library for Pydantic AI, designed to extend agents for complex, long-running tasks. It provides a modular system of "capabilities" for functionalities like file system interaction, web research, memory, and sub-agent delegation. This library enables developers to build sophisticated and durable AI agents with ease.

Bernstein: Open-Source Governance and Orchestration for AI Agents
September 28, 2026
Bernstein is an open-source framework designed for the governance and orchestration of AI agents, allowing users to define rules declaratively. It enforces these policies and generates verifiable, replayable records of all agent activities. This Python-based solution provides a robust layer for managing complex AI agent workflows with transparency and accountability.

Meshtastic-MCP: AI Tooling for Meshtastic Device Control and Testing
September 27, 2026
Meshtastic-MCP provides an MCP server and agent skills designed for AI tooling to discover, drive, observe, and test Meshtastic devices and applications. It offers a comprehensive suite of capabilities, from portable device control to advanced hardware-free end-to-end testing and replay functionalities. This project aims to streamline the development and testing of Meshtastic ecosystems.
Source repository
Open the original repository on GitHub.