Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

UFO

> AI 编程
Open source

UFO³: Weaving the Digital Agent Galaxy

9.4K stars0 likes2 views
WebsiteGitHub

About

UFO³: Weaving the Digital Agent Galaxy

UFO³ : Weaving the Digital Agent Galaxy

From Single Device Agent to Multi-Device Galaxy

Language / 语言: English | 中文

Quick Links: UFO³ README • ️ UFO² README • Full Documentation


Choose Your Path

UFO³ Multi-Device Agent Galaxy

✨ NEW & RECOMMENDED

Perfect for:

  • Cross-device collaboration workflows
  • Complex multi-step automation
  • DAG-based task orchestration
  • Heterogeneous platform integration

Key Features:

  • Constellation: Task decomposition into executable DAGs
  • Dynamic DAG editing for adaptive workflow evolution
  • Asynchronous execution with parallel task coordination
  • Unified AIP protocol for secure agent communication

** Galaxy Documentation →**
** Galaxy Quick Start →** ⭐ Online Docs

UFO² Desktop AgentOS

STABLE & BATTLE-TESTED

Perfect for:

  • Single Windows automation
  • ⚡ Quick task execution
  • Learning agent basics
  • ️ Simple workflows

Key Features:

  • Deep Windows OS integration
  • Hybrid GUI + API actions
  • Proven reliability
  • Easy setup
  • Can serve as Galaxy device agent

** UFO² Documentation →**


See UFO³ Galaxy in Action

Watch how UFO³ Galaxy orchestrates complex workflows across multiple devices:


What's New in UFO³?

Evolution Timeline

…

UFO³ = Galaxy (Multi-Device Orchestration) + UFO² (Device Agent)

UFO³ introduces Galaxy, a revolutionary multi-device orchestration framework that coordinates intelligent agents across heterogeneous platforms. Built on five tightly integrated design principles:

  1. ** Declarative Decomposition into Dynamic DAG** - Requests decomposed into structured DAG with TaskStars and dependencies for automated scheduling and runtime rewriting

  2. ** Continuous Result-Driven Graph Evolution** - Living constellation that adapts to execution feedback through controlled rewrites and dynamic adjustments

  3. ⚡ Heterogeneous, Asynchronous & Safe Orchestration - Capability-based device matching with async execution, safe locking, and formally verified correctness

  4. ** Unified Agent Interaction Protocol (AIP)** - WebSocket-based secure coordination layer with fault tolerance and automatic reconnection

  5. ️ Template-Driven MCP-Empowered Device Agents - Lightweight toolkit for rapid agent development with MCP integration for tool augmentation

Aspect UFO² UFO³ Galaxy
Architecture Single Windows Agent Multi-Device Orchestration
Task Model Sequential ReAct Loop DAG-based Constellation Workflows
Scope Single device, multi-app Multi-device, cross-platform
Coordination HostAgent + AppAgents ConstellationAgent + TaskOrchestrator
Device Support Windows Desktop Windows, Linux, Android (more coming)
Task Planning Application-level Device-level with dependencies
Execution Sequential Parallel DAG execution
Device Agent Role Standalone Can serve as Galaxy device agent
Complexity Simple to Moderate Simple to Very Complex
Learning Curve Low Moderate
Cross-Device Collaboration ❌ Not Supported ✅ Core Feature
Setup Difficulty ✅ Easy ⚠️ Moderate
Status ✅ LTS (Long-Term Support) ⚡ Active Development

Migration Path

For UFO² Users:

  1. ✅ Keep using UFO² – Fully supported, actively maintained
  2. Gradual adoption – Galaxy can use UFO² as Windows device agent
  3. Scale up – Move to Galaxy when you need multi-device capabilities
  4. Learning resources – Migration Guide

✨ Capabilities at a Glance

Galaxy Framework – What's Different?

Constellation Planning

bash
User Request
     ↓
ConstellationAgent
     ↓
  [Task DAG]
   /   |   \
Task1 Task2 Task3
(Win) (Linux)(Mac)

Benefits:

  • Cross-device dependency tracking
  • Parallel execution optimization
  • Cross-device dataflow management

Device Assignment

Selection Criteria
  • Platform
  • Resource
  • Task requirements
  • Performance history
        ↓
  Auto-Assignment
        ↓
  Optimal Devices

Smart Matching:

  • Capability-based selection
  • Real-time resource monitoring
  • Dynamic reallocation

Orchestration

Task1 → Running  ✅
Task2 → Pending  ⏸️
Task3 → Running  
        ↓
   Completion
        ↓
   Final Report

Orchestration:

  • Real-time status updates
  • Automatic error recovery
  • Progress tracking with feedback

UFO² Desktop AgentOS – Core Strengths

UFO² serves dual roles: standalone Windows automation and Galaxy device agent for Windows platforms.

As Galaxy Device Agent:

  • Receives tasks from ConstellationAgent via Galaxy orchestration layer
  • Executes Windows-specific operations using proven UFO² capabilities
  • Reports status and results back to TaskOrchestrator
  • Participates in cross-device workflows seamlessly

Quick Start Guide

Choose your path and follow the detailed setup guide:

Galaxy Quick Start

For cross-device orchestration

powershell
# 1. Install
pip install -r requirements.txt

# 2. Configure ConstellationAgent
copy config\galaxy\agent.yaml.template config\galaxy\agent.yaml
# Edit and add your API keys

# 3. Configure devices
# Edit config\galaxy\devices.yaml to register your devices

# 4. Start device agents (with platform flags)
# Windows: Start server + client
# Linux: Start server + MCP servers + client  
# Mobile (Android): Start server + MCP servers + client
# See platform-specific guides for detailed setup

# 5. Launch Galaxy
python -m galaxy --interactive

** Complete Guide:**

  • Galaxy README – Architecture & concepts
  • Online Quick Start – Step-by-step tutorial
  • Windows Device Setup
  • Linux Device Setup
  • Mobile Device Setup – Android agent setup
  • Configuration – Device pool configuration

UFO² Quick Start

For Windows automation

powershell
# 1. Install
pip install -r requirements.txt

# 2. Configure
copy config\\ufo\agents.yaml.template config\\ufo\agents.yaml
# Edit and add your API keys

# 3. Run
python -m ufo --task <task_name>

** Complete Guide:**

  • UFO² README – Full documentation
  • Configuration Guide – LLM setup
  • Advanced Features – Multi-action, RAG

Common Configuration

Both frameworks require LLM API configuration. Choose your provider:

OpenAI Configuration

For Galaxy (config/galaxy/agent.yaml):

yaml
CONSTELLATION_AGENT:
  REASONING_MODEL: false
  API_TYPE: "openai"
  API_BASE: "https://api.openai.com/v1/chat/completions"
  API_KEY: "sk-your-key-here"
  API_MODEL: "gpt-4o"

For UFO² (config/ufo/agents.yaml):

yaml
VISUAL_MODE: True
API_TYPE: "openai"
API_BASE: "https://api.openai.com/v1/chat/completions"
API_KEY: "sk-your-key-here"
API_MODEL: "gpt-4o"
Azure OpenAI Configuration

For Galaxy (config/galaxy/agent.yaml):

yaml
CONSTELLATION_AGENT:
  REASONING_MODEL: false
  API_TYPE: "aoai"
  API_BASE: "https://YOUR-RESOURCE.openai.azure.com"
  API_KEY: "your-azure-key"
  API_MODEL: "gpt-4o"
  API_DEPLOYMENT_ID: "your-deployment-id"

For UFO² (config/ufo/agents.yaml):

yaml
VISUAL_MODE: True
API_TYPE: "aoai"
API_BASE: "https://YOUR-RESOURCE.openai.azure.com"
API_KEY: "your-azure-key"
API_MODEL: "gpt-4o"
API_DEPLOYMENT_ID: "your-deployment-id"

More LLM Options: See Model Configuration Guide for Qwen, Gemini, Claude, and more.


Documentation Structure

Galaxy Documentation

  • Galaxy Framework Overview ⭐ Start Here – Architecture & technical concepts
  • Quick Start Tutorial – Get running in minutes
  • Galaxy Client – Device coordination and API
  • Constellation Agent – Task decomposition and planning
  • Task Orchestrator – Execution engine
  • Task Constellation – DAG structure
  • Agent Registration – Device registry
  • Configuration Guide – Setup and device pools

** Technical Documentation:**

  • AIP Protocol – WebSocket messaging
  • Session Management – Session lifecycle
  • Visualization – Real-time monitoring
  • Events & Observers – Event system

UFO² Documentation

  • UFO² Overview – Desktop AgentOS architecture
  • Installation – Setup & dependencies
  • Configuration – LLM & RAG setup
  • Usage Guide – Running UFO²
  • Advanced Features – Multi-action, RAG, etc.
  • Automator Guide – Hybrid GUI + API
  • Benchmarks – WAA & OSWorld results

** Online Docs:**

  • Complete Documentation
  • Model Support
  • RAG Configuration

Latest Updates

2025-11 – UFO³ Galaxy Framework Released

Major Research Breakthrough: Multi-Device Orchestration System

  • Declarative DAG Decomposition: TaskConstellation structure for workflow logic and dependencies
  • Dynamic Graph Evolution: Living constellation that adapts through controlled rewrites
  • Heterogeneous Orchestration: Safe, asynchronous execution with capability-based device matching
  • Unified AIP Protocol: WebSocket-b

Issues· 86 open

View all issuesOpen on GitHub
  • #357

    Request For Maintainers

    Updated Sep 23, 2026
  • #347

    请问UFO支持deepseek模型吗?我看里面有deepseek.py,但是使用deepseek api配置之后不能正确执行

    Updated Sep 13, 2026
  • #340

    [Docs] Multiple broken documentation links in README (stale URLs after docs restructure)

    Updated Jul 25, 2026
  • #333

    Add HVTracker trust badge to README

    Updated Jun 6, 2026
  • #304

    [Bug] 评估阶段崩溃 - IndexError when app_agent_log is empty

    Updated Apr 11, 2026
  • #292

    UFO2 agent trying to incorrectly call click_input tool

    Updated Mar 25, 2026
  • #294

    GNAP: git-native task board for UFO³'s multi-device agent galaxy coordination

    Updated Mar 15, 2026
  • #254

    Dependency Conflicts in requirements.txt with Python 3.13.9

    Updated Mar 9, 2026
  • #286

    Local AI deployment

    Updated Feb 9, 2026
  • #269

    Release NebulaBench on Hugging Face

    Updated Nov 19, 2025

> Tags

Pythonagentautomationcopilotgui

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.