Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Unreal Agent

An async-first agent harness from Unreal Labs.

Glossary

  • Input: an event with a caller-supplied globally unique ID that remains stable across redeliveries.
  • Inbox: session-scoped, in-memory deduplication of external, control, and crash inputs.
  • Session: append-only persisted history that can be forked.
  • LLM turn: the coordinator-managed sequence around one logical LLM request.
  • Tool: a capability described by a schema and bound to a translator.
  • Tool call: a model-produced request to use a tool.
  • Tool translator: validates a tool call and translates it into one or more operations. It runs synchronously on the coordinator's event loop and must not perform I/O or suspend the loop.
  • Tool call status: the translation outcome: a validation error or references to submitted operations. Operation execution state is tracked separately; the translator formats these into a model-facing result.
  • Operation: a serializable description of work produced by a tool translator for asynchronous execution. Implementations are encouraged to use the available primitives.

Components

ComponentResponsibility
Session inboxVolatile, session-scoped input idempotency.
CoordinatorPersist accepted inputs, run LLM turns, resolve tool translators through the registry, and dispatch committed operations.
Session storePersist canonical session history and operation state; support recovery and forks; atomically record tool-call status with operations.
Context builderStatefully assemble model input in memory. Return the model input together with a record of anything omitted, truncated, or compacted. Perform no I/O and accept no persistence dependencies.
LLM AdapterSend prepared model input to a provider and return a normalized completed response. Own authentication, cancellation, and provider errors.
Tool registryOwn the fixed Bash, ViewImage, and skill-use definitions and their translators; expose the host-selected set.
Tool translatorValidate a tool call and produce its status and operations. Format a recorded call status and prepared operation output into model results. Perform no I/O.
Operation managerActor runtime for durable operations. The local implementation is swappable.

Extending the harness

Harness components are composable, and alternative implementations of their interfaces are encouraged.

We intend to preserve these invariants:

  • Session-store items are serializable, and the storage format is versioned.
  • We'll do our best to maintain backwards compatibility for sessions. An unsupported session version will always cause an explicit error on resume.
  • Operations are versioned and always serializable.

For example, a proxy operations manager can send serialized operations to a local operations manager running in a process inside a remote sandbox, allowing tools to execute there.

关于 About

Async-first agent harness

语言 Languages

Go95.4%
Python4.4%
Dockerfile0.1%
Makefile0.1%
Shell0.1%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
125
Total Commits
峰值: 37次/周
Less
More

核心贡献者 Contributors