# 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.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/verl-project-uni-agent
Generated for open source discovery and AI-assisted research.

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.

GitHub: https://github.com/verl-project/uni-agent
OSRepos URL: https://osrepos.com/repo/verl-project-uni-agent

## 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.

## Topics

- Python
- Reinforcement Learning
- AI Agents
- Machine Learning Framework
- Scalable Training
- Long-Horizon Agents
- Distributed Systems

## Repository Information

Last analyzed by OSRepos: Thu Oct 01 2026 00:59:02 GMT+0100 (Western European Summer Time)
Detail views: 1
GitHub clicks: 1

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## 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`, and `Sandbox` abstractions. 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:

*   [Install Uni-Agent](https://uni-agent.readthedocs.io/en/latest/quickstart/installation.html)

## Examples

Uni-Agent provides a clear end-to-end path for development and training:

*   [Launch a sandbox and run code](https://uni-agent.readthedocs.io/en/latest/quickstart/launch-sandbox.html) locally or with cloud services.
*   [Run agent inference](https://uni-agent.readthedocs.io/en/latest/quickstart/agent-inference.html) at scale for benchmarking and trajectory generation.
*   [Train an agent with RL](https://uni-agent.readthedocs.io/en/latest/quickstart/rl-training.html) with reproducible scripts and verifiable results.

For more detailed guides and examples, refer to the comprehensive [Uni-Agent documentation](https://uni-agent.readthedocs.io/en/latest/).

## Links

*   [Uni-Agent GitHub Repository](https://github.com/verl-project/uni-agent)
*   [Uni-Agent Official Documentation](https://uni-agent.readthedocs.io/en/latest/)
*   [Uni-Agent 26Q3 Roadmap](https://github.com/verl-project/uni-agent/issues/79)