Skip to content
futuregenePublic

About

One AI agent, everywhere you work — terminal, desktop, mobile, and your chat apps. Rust core.

Topics

Resources

Security policy

Stars

119 stars

Watchers

1 watching

Forks

Latest commit

 

History

3,103 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FutureOS

One AI agent, everywhere you work.

Terminal, desktop, mobile, and your chat apps — one Rust core, one agent.
Configurable approvals and OS sandboxes. Local-first. Open source.

FutureOS desktop app — sessions on the left, the conversation in the middle, the workspace's files on the right

Quick Start • Features • Models • Troubleshooting

⭐ If FutureOS is useful to you, a star helps others find it.

Rust core License: MIT + Apache-2.0 中文


Why FutureOS

  • Choose the execution boundary. File-access approvals and OS sandboxing for agent tools, in four tiers: off, manual, sandbox — and auto, the sandbox with the model reviewing the requests that would otherwise interrupt you. The desktop starts at Unrestricted (off); switch to Manual, Sandboxed or auto before working with untrusted content. See the security model and sandbox guide for defaults and limitations.
  • One backend, every surface. A single gRPC agent drives the terminal UI, desktop app, mobile apps, CLI, and IM bots — same sessions, same memory, same skills, wherever you happen to be.
  • Long runs need engineering, not prompting. The built-in goal control plane gives durable goals, event-sourced state, and verification gates to runs of 24+ hours — start a research task at night, review the results from your phone in the morning.

Features

Category Details
Run anywhere, reach it anywhere The agent is one binary that fits wherever the work is — an embedded board, a phone, a workstation, a GPU server, a cluster — and every surface reaches it: terminal UI, desktop app, mobile apps (Android & iOS), CLI and IM bots — all on the same sessions, the same memory and the same skills. Pair as many machines as you like — the phone reaches every one of them; the phone↔host channel is end-to-end encrypted (Noise handshake, ChaCha20-Poly1305 records), and the relay can be self-hosted (future relay init / future relay serve), so only ciphertext passes through it (host mode, remote, relay)
Terminal UI (TUI) A full-screen workbench in the terminal, not a chat log: a session rail (a merged recent list or the workspace tree, foldable), a transcript that folds a reply's process into ▸ 3 tool calls · 2 thoughts and opens it as a tree, side panels (to-do, usage, skills, files, git), a command palette, mouse selection, drag-resizable panels, six colour palettes, and a queue band for prompts typed mid-reply (guide)
One phone, many desktops The mobile app pairs with several desktops at once: one recent list merged across them, each row carrying the machine it lives on, a picker to switch machines, and the ability to take control of a session from the phone while the desktop keeps working (remote)
Configurable Tool Safety read, write, edit, shell — approval rules and tiers (off / manual / sandbox, plus auto = sandbox with model review of the requests that would have asked, on a FutureOS sign-in); macOS Seatbelt, Linux system Bubblewrap, Windows restricted-token write protection. Availability and guarantees differ by platform (guide)
Model Flexibility Bring your own key: the built-in catalog covers the major providers, and any OpenAI- or Anthropic-compatible endpoint can be added through models.json. Or sign in to the FutureOS provider (future auth login) and have the keys and model list provisioned for you. Both work side by side, and you choose which models the picker offers (setup)
Goal Engineering Durable goals/todos/gates/monitors for long-horizon runs of 24+ hours — deterministic should-run kernel, event-sourced state, hard checks (evidence floor / acceptance contracts / verify gates), lease liveness, multi-agent (guide)
Scheduled Tasks Recurring work without you in the loop: a reusable prompt + working directory + model/thinking level, run at full permission on a schedule (interval / daily / weekly / monthly / yearly, or a single date) — and on demand whenever you want. Every run is an ordinary conversation plus a run ledger with status, result summary and prompt-version history (guide)
Powerful Built-in Skills 15+ skills out of the box for everyday agent work — image read & generation, PDF/Word parsing, web search, browser control, slides, software install, and the /future-goal long-run goal orchestrator (builtin)
Forkable Sessions Branch any conversation like a repo — fork, clone, and tree navigation over JSONL session history
Rust Core Agent, IM channel bridge, goal control plane, CLI, and TUI are all written in Rust — high performance with memory safety

FutureOS mobile — one recent list merged across every paired desktop, each row showing the machine it lives on      FutureOS mobile — the desktop picker: lab laptop, office desktop, home workstation, server, cloud builder

One phone, many desktops — every conversation on every machine you paired, in one list.

Quick Start

Install

One line, no source build required:

macOS / Linux — one script, auto-detects the platform: macOS gets the official signed app (arm64 / Intel); Linux gets the .deb on Debian/Ubuntu (desktop app + unified future CLI) or the portable tarball everywhere else:

curl -fsSL https://dl.future-os.cn/install.sh | bash

Windows (PowerShell) — runs the signed installer silently:

iex (irm https://dl.future-os.cn/install.ps1)

Android — the phone app is on the download page, and it pairs with a desktop you already run:

https://future-os.cn/download

iOS has no build on that page yet — build it from source, the app is in this repository (mobile/).

Step-by-step installation for every platform (desktop app, toolchains, GUI packaging) is in the Build & Install guide.

Configure a model

The agent needs at least one model provider before it can answer.

FutureOS hosted models — device-flow sign-in provisions keys and a model list automatically:

future auth login

This works whether or not the agent is running: with the agent up the key is applied live; without it the key is written to ~/.future/agent/auth.json and picked up when the agent starts.

Prefer your own keys? (BYOK & custom providers)

Use a known provider. Put your API key in ~/.future/agent/auth.json, keyed by provider name. See the built-in model catalog — most providers have built-in base URLs and auto-discover their models:

{
  "openai": { "type": "api_key", "key": "sk-..." }
}

For providers with user-specific base URLs (e.g. Azure's YOUR_RESOURCE), add a baseUrl field in auth.json:

{
  "azure": { "type": "api_key", "key": "sk-...", "baseUrl": "https://my-resource.openai.azure.com/openai/v1" }
}

Custom provider. For providers not in the built-in catalog, specify everything in ~/.future/agent/models.json:

{
  "providers": {
    "my-provider": {
      "apiKey": "sk-...",
      "baseUrl": "https://my-api.example.com/v1",
      "models": [
        { "id": "my-model", "name": "My Model", "contextWindow": 128000, "maxTokens": 16384 }
      ]
    }
  }
}

Many self-hosted endpoints accept only some thinking levels (often just low/high). Declare the ones your model accepts with thinkingLevels — provider-level as the default, overridable per model. Leave it out and all six levels are offered (off/minimal/low/medium/high/xhigh); a model marked reasoning: false offers off alone. Pickers list only the declared levels, and a stored level outside the list snaps to the nearest one by depth — a tie goes to the shallower level, so the run never spends more than the level you asked for:

{
  "providers": {
    "my-provider": {
      "apiKey": "sk-...",
      "baseUrl": "https://my-api.example.com/v1",
      "thinkingLevels": ["off", "low", "high"],
      "models": [{ "id": "my-model" }]
    }
  }
}

Run the Agent, then the terminals

The Agent belongs to its host, not to the terminal. Start the host, then open as many terminals as you like against it:

future host      # this machine as a FutureOS host: local runs, tasks, and paired remote desktops
future tui       # terminal UI — attaches to that host

FutureOS terminal UI — session rail grouped by workspace, a reply's process opened as a tree, markdown with a code block and a table

Remote access

A phone or another desktop can drive this machine's agent. Pairing it is the one step that needs an account, and only on the official relay:

future auth login           # the FutureOS account that pairs your devices
future remote devices add   # print the invitation a phone or another desktop types in

The phone↔host channel is end-to-end encrypted — a Noise handshake with ChaCha20-Poly1305 records — so the relay only carries ciphertext. Without an account the host still serves everything local; the paired desktops simply stay closed until that sign-in exists, which can also happen later.

Your own relay. --relay URL takes the Future platform out of the path entirely: no account, same protocol, same pairing, same encryption (self-hosted relay). Running the host on a server is the same command over SSH, with no window or WebView (host mode); what a paired device can do is in remote.

Troubleshooting

Symptom Fix
TUI says no Agent is serving and exits Start the Agent's host first — future host (or the desktop app, or future agent). The TUI only attaches; it never starts one.
Client exits with a connection / gRPC error Run future doctor; check Agent startup/version/lock errors and that client/Agent use the same user and IPC environment. See the Desktop Agent guide before changing service ownership. Only in explicit TCP mode, check the configured address/port.
Agent replies with an auth / "no model" error No model configured yet — see Configure a model.
Build / install problems See Build & Install (platform toolchains, linker, GUI packaging).

Community

💬 Discussions • 🐛 Issues • 🔒 Security • 📖 Wiki • Third-Party Notices

About

One AI agent, everywhere you work — terminal, desktop, mobile, and your chat apps. Rust core.

Topics

Resources

Security policy

Stars

119 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages