Skip to content
4fuuPublic

About

A small, script-composable text-only coding agent with traditional tools, JavaScript code_exec, MCP, notes, semantic search, and HTTP/ACP access.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

UAT logo

UAT

English | 简体中文

License: MIT

UAT is a small, script-composable coding agent. It combines traditional file and shell tools with JavaScript code_exec, durable notes, semantic search, MCP modules, and text-first CLI, HTTP, and ACP interfaces. Sessions can run locally or bind their workspace tools to a remote executor. Replies and events are text; callers own file and process composition.

Note

The previous URI/protocol implementation is preserved on the legacy/uri-protocol branch. Its last version is 2026.1030.0.

Features

  • Script-composable tool loop. Traditional file, shell, grep, semantic_search, and notes tools stay flat, while code_exec combines them with native modules such as github.search_issues({ query: "crash" }). tool_search and the script-only tool_describe expose signatures on demand; only text(...), print, and returned values reach the model.
  • Durable session state. SQLite preserves transcripts, notes, pending input, archive state, and frozen project context. Context rollover starts a fresh window without summarizing old turns; the script-only context module recovers exact records through stable IDs, anchors, pagination, and exact/semantic/hybrid search.
  • Multiple sessions and steering. One process can host independent sessions. Scripts can queue or steer messages between online sessions and archive or restore another open session.
  • MCP as native modules. Configured servers become script modules instead of direct model tools. UAT supports resources, prompts, tasks, subscriptions, MRTR input requests, progress notifications, and OAuth for remote servers.
  • Text-first integration. CLI, HTTP, and ACP accept text and image prompts. --jsonl, HTTP event routes, and SSE expose complete persisted events for grep, jq, or another agent to filter; the authenticated HTTP configuration API can update settings, credentials, Agent Environment, and MCP servers.
  • Local or remote workspaces. A session can bind its workspace tools to one executor over an outbound WSS connection. Direct executors run without a sandbox; allocated executors can be wrapped in one. Allocators manage ensure, sleep, stop, and destroy through a script adapter.

Quick start

  1. Install UAT with Homebrew, Scoop, or the Linux installer.
  2. Set a provider credential and run one turn:
export DEEPSEEK_API_KEY=...
uat -x "summarize this repository"

The final reply goes to stdout and progress goes to stderr. See Configuration for other providers and credential sources.

Interfaces

Command Use it for Details
uat -x, uat One-shot turns, a line REPL, images, and JSONL event output CLI entry modes
uat serve HTTP access for scripts and services, multiple sessions, steering, and the configuration API Sessions and HTTP
uat acp ACP v1/v2 over stdio for editors and other clients ACP sessions
uat executor, uat allocator Remote workspace tools and machine lifecycle through outbound WSS connections Allocators and executors

Direct tools keep flat names such as read("src/main.rs"). Script-only tools are native modules such as sessions.list() or github.search_issues({ query: "crash" }); tool_search and the script-only tool_describe expose their signatures. See Tools for the full contract.

Security and status

UAT is not a sandbox. File, shell, and MCP tools run with the authority of the uat process. Only run it on projects and with MCP servers you trust. Peer messages and MCP content are untrusted data, not authorization.

UAT is an early release and may change between dated versions. Model requests and their context are sent to the provider you select. Unless offline mode is enabled, UAT fetches model catalog metadata from pi.dev and supported providers.

Documentation

Task Document
Install and verify UAT Installation
Use tools, code_exec, notes, search, or MCP Tools
Configure models, credentials, settings, or MCP Configuration
Use the CLI, HTTP API, ACP, or session lifecycle Sessions and HTTP
Run remote tools or manage machines with an allocator Allocators and executors
Understand frozen project context, rollover, and history recovery Context
Build from source or contribute Development
Inspect release artifacts and versioning Release

About

A small, script-composable text-only coding agent with traditional tools, JavaScript code_exec, MCP, notes, semantic search, and HTTP/ACP access.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages