
Official website:Infinity · Source code:hydro-project/infinity
Infinity is an open-source agent runtime built with Rust, developed as part of the Hydro project—a collaboration between AWS and the University of California, Berkeley—and licensed under the Apache 2.0 License. The version released on October 23, 2026, is an early research release intended for developers who need to manage a large number of long-running tasks, rather than as a ready-to-use personal chat service.Project Announcement
It addresses a very specific problem: after an agent initiates a build, waits for approval, or subscribes to external events, there may be no new work for hours. Infinity breaks down a run into pausable and resumable steps, saving sessions and state so that tool results or new messages can trigger the next step. Sessions that are on hold do not have to constantly occupy active execution slots.Operational Architecture
Core Capabilities and Use Cases
For code assistants, documentation can continue to be prepared during test runs, and a decision on whether to make fixes can be made once the results are available. For backend business assistants, they can wait for a manual decision or a webhook, rather than repeatedly checking for updates. A common characteristic of these scenarios is long wait times and infrequent events—not just a high volume of model inferences.
Infinity provides sub-agents, message queues, and asynchronous programming capabilities. The accompanying RAP protocol transmits results and subscribes to events via callbacks, and also provides an MCP compatibility layer to facilitate integration with existing tools. Using an asynchronous protocol does not automatically provide tools with reliable retries, secure authorization, or business correctness; developers must still design boundaries for actual operations.Introduction to RAP
Local processes and AWS Lambda are the two official deployment options. With the Lambda approach, computing resources are released after each execution and are restarted when the next message arrives. However, the fact that “computing resources are not consumed while waiting for a message” does not mean the service is free; charges may still apply for model invocations, state storage, messaging services, and the actual execution of tools.Deployment Guide
Understanding the “75,000 Agents” Correctly”
The official benchmark uses a simulation model in which each agent enters an idle state after performing 20 rounds of tool interactions; testing was conducted on an AMD EPYC server. Based on approximately 100 KB of resident memory per idle session, 8 GB of memory can accommodate about 75,000 sessions. This figure demonstrates the lightweight nature of the idle state; it does not mean that a Raspberry Pi can run 75,000 large models simultaneously, nor does it guarantee throughput for a real-world business operation of the same scale.Base Conditions
Let's Start with a Small Experiment
- check or refer toOfficial Quick Start GuideSet up Rust and Cargo, create a local project, and add dependencies for the runtime, model provider, and Tokio.
- First, run a single session and observe the event output. This tutorial uses Amazon Bedrock, which requires access to models in the corresponding region and a valid AWS configuration; model fees are billed separately.
- Add a tool that returns results with a delay to test waiting, new messages, cancellation, and recovery, and verify that actions with side effects are not executed repeatedly.
- Configure persistence and cloud deployment only when you're ready to go live. The in-memory storage in the getting-started example retains its state only while the process is running and should not be used directly as a failover solution.
Comparison with Other Implementation Approaches
| programmatic | Main Focus | More Appropriate Tasks and Restrictions |
|---|---|---|
| Infinity | Lightweight Sessions, Asynchronous Tools, and Event-Driven Mechanisms | Architectural experiments involving a large number of waiting agents; requires development in Rust and is still in the early stages of research |
| LangGraph | Stateful graph orchestration, persistence, streaming output, and manual intervention | Applications that require explicit process organization and a combination of deterministic and model-based steps; the graph structure and deployment still need to be designed manually. |
| Temporal | Long-running Execution, Failure Recovery, and Coordination of Long-Running Processes | Cross-service business processes and tasks awaiting manual approval; requires the Temporal service to run or be used, and can also be combined with the agent framework |
The reason for choosing Infinity should be that its execution model aligns with the characteristics of the task, rather than simply chasing concurrency numbers.Official List of Open QuestionsThese include event interleaving, priority scheduling, long-term context compression, and event source authenticity. A more reasonable evaluation sequence is to first verify semantic recovery and access control, and then measure cost, latency, and fault behavior under the actual model.
data statistics
Relevant Navigation

The zero-code AI programming tool launched by Meituan quickly builds applications through natural language conversations, supports multi-end adaptation and one-click deployment, and makes it easy for non-technical people to realize creative landing and business requirements development.

Laminar
An open source AI engineering optimization platform focused on AI engineering from first principles. It helps users collect, understand and use data to improve the quality of LLM (Large Language Model) applications.

Emu3
Beijing Zhiyuan Artificial Intelligence Research Institute launched a large model containing several series with large-scale, high-precision, emergent and universal characteristics, and has been fully open-sourced.

MIDI (loanword)
AI 3D scene generation tool that can efficiently generate complete 3D environments containing multiple objects from a single image, widely used in VR/AR, game development, film and television production and other fields.

CodeGeeX
AI programming assistant based on large models, supporting code generation, completion, error correction and optimization, and completely free for individual users.

SearchOS
A multi-agent collaboration framework jointly open-sourced by Ant Group and Renmin University of China, it schedules search agents much like an operating system and efficiently completes complex, long-duration deep information retrieval tasks through global shared state and pipelined parallel mechanisms.

theORQL
An efficient development tool that captures browser state in real-time, accurately maps UI to code, and fixes front-end bugs with AI auto-replication.

DeepCode
AI-based code review and quality assurance aids designed to improve code quality and security.
No comments...
