Tentang
Sora — Local-first personal AI agent across Android, Desktop, and self-hosted Relay.
AI dan pembelajaran mesinPertumbuhan bintang terukur
- dalam 24 jam
- +2
- dalam 7 hari
- +13
- dalam 15 hari
- +17
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli
Sora
An open-source, local-first Personal Super Agent for your devices
Run Sora on your Android phone and computer, with dedicated Bots and one place to coordinate work across devices.
English · 简体中文

Sora is a cross-device Personal Super Agent for individual use. It includes a native Android client, a desktop workbench for Windows, macOS, and Linux, and a Host daemon for headless servers.
Agents already come in many forms. Some handle everyday tasks in cloud desktops. Some connect to your own computer through a messaging app. Others focus on development in the terminal.
Sora brings three ideas together. The Personal Agent learns about you over time on the devices you use every day. The Coding Agent uses tools to write code, handle files, and tackle office work. The Super Agent draws on DeepSeek's separation of coordination and execution to route complex tasks to the right Bot and device.
Chat history, API keys, and long-term memory are stored locally by default. Sora has no built-in daily-active-user tracking or telemetry reporting. Where data goes depends on the model and external services you use. A local model can keep inference on your own hardware as well.
Choose the model provider you want. A single device can start once a model is configured, and offline inference depends on that model. Pair devices through an optional self-hosted Relay to delegate work from phones to computers, computers to phones, or between two phones or two computers.
Project status. Sora is under active development. Android and desktop already support local agent tools, separate Bot configurations and conversations, editable personal memory, a desktop browser you can take over, Android virtual displays and plugins, and an initial version of Orch for cross-device coordination. Team collaboration and the Inbox and Ticket workflows are planned.
Personal · Super · Agent · Installation · Development
Personal · How Sora gets to know you
Sora stores conversations, workspace files, and memory locally by default. It can pick out details from your conversations that will be useful again.
- Long-term memory you can inspect and edit. Sora can extract preferences, relationships, commitments, and recent events from conversations and store them on your device. You can view and edit entries or undo supported changes from the activity log.
- Plugins for everyday tasks. Connect your email, university academic system, or knowledge base as needed. Authorized plugins can find train tickets, book hotels, or call a ride. With screen tools configured on Android, Sora can also help with WeChat messages or food orders in the relevant app. You can choose whether to remember information from these tasks.
- Live status integrations (planned). We want you to be able to build a status plugin that reads data from an authorized watch or fitness band. It could prepare a morning briefing when you wake up or find a nearby vending machine after a workout. If the wearable flags a possible problem, Sora would ask whether you need emergency medical help and assist with contacting emergency services after you confirm.
Super · How Sora helps you manage your attention
In Orch, Sora can answer a simple question directly or act as a Router and delegate complex work to Workers that use the relevant Bot's configuration. You can add instructions while work is running. Progress, results, and questions that need your input come back to the conversation.
The planned Inbox will receive items from email, instant messaging, GitHub Issues, and group chats, then pass items that need follow-up to Orch.
Orch can delegate work on a single device. If you have several devices, a self-hosted Relay can pair your phones, computers, and standalone Hosts so tasks run where they fit best.
Bidirectional connections through an optional self-hosted Relay
Run a lightweight Relay on your server or local network. Paired Sora devices can delegate tasks to one another when they are online.
- Computer ↔ computer. From a laptop, send builds, training jobs, or long-running scripts to a home desktop, GPU workstation, or headless Linux server.
- Computer ↔ phone. While out, send work to your home computer and get its progress, results, and files back on your phone. At your desk, delegate a task to an Android phone that has a virtual display or the relevant mobile plugin configured.
- Phone ↔ phone. Delegate background work to a spare phone or dedicated Android device with the needed permissions, such as a spare phone that already has Root access.
- Files and memory. Browse, read, or transfer files from another device's workspace. Paired devices can also sync memory incrementally. Sora runs on a single device without a Relay.
Bot, Orch, and the planned Team mode
Sora draws on DeepSeek Super-agent for the separation of coordination and execution. Bot and Orch are available today. Team is planned for collaboration within a project.
- Bot (dedicated role, available). Each Bot has its own configuration, including instructions (
AGENTS.md), a default model, tool settings, enabled plugins, skills and MCP services, and a memory scope. Set up different Bots for coding, research, office work, or phone automation. Each keeps its own conversations. - Orch (coordinator, initial version available). Orch has its own coordination conversation. It can answer simple requests or delegate work to independent Workers on this device or an online paired device. You can follow progress, review results and requests for confirmation, or open a task to inspect it and add instructions.
- Team (project collaboration, planned). Different Bots will share a project directory and a division of responsibilities in
TEAM.md. The plan is to allow direct assignment with@or have a lead Bot break down work, coordinate members, and summarize results.
The desktop Orch interface shows work on this machine and a paired Android phone in the same conversation.
Agent · How Sora gets things done
The desktop workbench is designed for project files, the terminal, and the web. Android gives Sora access to the files and apps you already use on your phone, with the relevant permissions.
Desktop and CLI (Windows, macOS, and Linux)
- Workspace, code, and terminal. Put a chat next to the project file tree, live diffs, Git worktrees, and the built-in PTY terminal. Sora can read and write workspace files, search with tools such as
ls,grep, andfind, and run commands. Tool policies can require approval for operations such as editing files or running commands. - Built-in browser you can take over. Watch the browser in the side panel while Sora works. When you need to sign in, scan a code, or confirm a step yourself, select Take over. Select Resume Sora to hand back control.
- Headless Host and
soraCLI. Use the interactive REPL, run a single turn withsora -p, provide a local web interface withsora serveandsora web, or integrate through JSON-RPC withsora --mode rpc.
Native Android client
- System assistant and overlay. Set Sora as your default system assistant and open the Nebula Aura overlay for voice or text. On phones that support invoking the default assistant with the power button, that shortcut works too.
- Lightweight Linux environment. Android includes an Alpine Linux workspace. Install Python, Node.js, or other command-line tools to organize files, write code, and run scripts on the phone.
- System access and virtual displays. Choose between Standard, Wireless debugging, and Root. With wireless debugging, you can enter the pairing code through the notification. Screen tools become available with the appropriate access. Supported tasks can run on a virtual display while you keep using the foreground app.
- Long-running goals and scheduled tasks. Give a multi-turn task a completion condition or ask a conversation to check something on a schedule and report back. Android background execution depends on system settings. With notifications enabled, supported actions let you handle approvals, answer questions, or stop a task.
- Mini apps from a conversation. Ask Sora to make a small utility and add it to the Android home screen for later use.
- Signed plugin market and QR scanning. Install plugins for maps, Feishu, WeCom, hotels, rail, rides, Xiaomi Cloud, and email from Sora Market. You can also import a signed third-party
.ddppackage. The scanner works for device pairing and supported QR codes.
Check where a plugin comes from before installing it. Plugins run in the Sora process and may act with its permissions. Prefer Sora Market, and install packages from elsewhere only if you trust their source or built them yourself.
Android home screen |
Signed plugin market |
Bot tool permissions |
Shared tools and extensions
- Skills and MCP. Add custom skills and external MCP services, such as Notion, and choose which Bots can use them.
- Built-in tools. Web search, page fetching, file deliverables, task lists, background jobs, timers, and long-running goals with a completion condition.
Roadmap
- Separate Bot profiles from workspace directories. Let Bots with different roles use the same project directory.
- Team collaboration. Use a shared project directory and
TEAM.md, assign work with@, or let a lead Bot coordinate. - Inbox and Ticket. Ingest email, instant messages, GitHub issues and pull requests, system notifications, and scheduled triggers. Filter and group incoming items, then turn them into tickets for Orch to handle asynchronously.
- Proactive notifications. Separate background execution from notifications so results can be saved quietly, included in a scheduled brief, or surfaced immediately according to priority.
Installation
Download packages from GitHub Releases. Each release includes SHA256SUMS.txt.
| Platform | Package | Requirements |
|---|---|---|
| Android | Signed universal .apk |
Android 10+; the bundled Alpine environment needs arm64-v8a |
| Windows | *-setup.exe or *-portable.exe |
Windows 10/11 (x64) |
| macOS | .dmg or .zip (arm64 or x64) |
macOS 12+ |
| Linux | AppImage, .deb, .rpm, or .tar.gz |
Linux x86-64 |
| Standalone Host CLI | sora-host-<version>-<platform>.tar.gz or .zip |
Bundled JVM |
| Self-hosted Relay | ghcr.io/sadami3066/sora-relay:latest or the Relay archive |
Linux x86-64 for the container image; Node.js 24+ for the archive |
First run
- Download and open Sora for your platform.
- Connect a model through the setup guide. Enter an API key, sign in through a supported OAuth provider, or configure a custom endpoint.
- Open Bot, share a file or choose a workspace, and give it a concrete task. To run commands on Android, prepare the Linux environment in Settings → System access.
If you are moving from an earlier Android app, see installation and upgrade notes.
Optional self-hosted Relay
Deploy a Relay if you want to pair devices or sync memory. The Docker command listens over HTTP by default. For an internet-facing deployment, see the Relay guide for TLS setup.
# Docker
docker run -d --name sora-relay \
-p 8443:8443 -v sora-relay-data:/data \
ghcr.io/sadami3066/sora-relay:latest
# Or run from source with a LAN TLS certificate and a QR pairing link
pnpm install
./apps/relay/scripts/dev-relay.sh
Privacy and security
| Area | What to expect |
|---|---|
| Local data and external services | Using Sora on one device requires no hosted Sora account. External models receive the context they need for inference. Online tools, plugins, and MCP connectors send requests to their respective services. |
| Self-hosted Relay | Relay handles pairing, task routing, file transfers, and memory sync. It stores device information and shared memory state. Each device stores its own model credentials and calls its configured models. |
| Android access and isolation | In Standard or Wireless debugging mode, Alpine runs in the proot user space, which has limited isolation. Root uses system root privileges. Plugins run in the app process. |
| Steps to handle yourself | Pause a task to handle sign-in, passwords, or payment yourself on the phone or in the desktop browser. Android may block screenshots of protected screens. |
Architecture and development
Design choices
- Shared Kotlin Multiplatform runtime. Android (
apps/android) and the desktop JVM Host (apps/host) sharecore/runtime,core/relay, andcore/runtime-api, including sessions, Memory v3, tool policies, tasks, and Orch. The shared JSON test vectors inpackages/protocolkeep the wire contract aligned across languages. - JSONL and SQLite on device. Conversations are stored as JSONL under
~/.soraon desktop. Memory v3 uses SQLite with WAL, FTS5, a relationship graph, and an activity log with supported undo operations. Fast Pass and Deep Dream maintain memory. With a Relay, devices sync incrementally using last-write-wins merging and a consolidation lease. - One active Orch host per device group (
mesh-v2). Relay handles pairing, routing, and shared state.RemoteWorkerGatewaysends remote work to a Worker on the selected device, where it runs in a separate session. Switching hosts hands over the coordination conversation and settings. Workers execute on their assigned devices. - Plugin verification and Relay pairing. Kotlin
.ddpplugins build against the ABI-checkedplugin-api. Sora verifies plugin packages with Ed25519 and the Market index with ECDSA. Relay pairing supports pinning the CA certificate fingerprint. - Workspace constraint. Workspace policy and
AGENTS.mdare currently keyed by working directory. A directory can be assigned to one Bot. The Team plan is to separate the Bot identity (botId) from the workspace it uses.
Architecture
flowchart LR
subgraph Mobile["Android · apps/android"]
AND["Sora Android (Compose)"]
OVL["Assistant overlay · Alpine proot · ADB / virtual display"]
PLUG["Ed25519-signed .ddp plugins"]
AND --- OVL
AND <--> PLUG
end
subgraph Desktop["Desktop · Windows / macOS / Linux"]
EL["Electron shell (apps/desktop)"]
WEB["React 19 workbench and browser (apps/web)"]
HOST["JVM Host daemon and CLI (apps/host · Ktor)"]
EL <--> WEB
WEB <-->|"HTTP / SSE"| HOST
end
subgraph Core["Shared KMP runtime"]
RT["core/runtime · core/relay · core/runtime-api"]
DATA["JSONL sessions · Memory v3 (SQLite/FTS5) · Orch / Workers"]
RT --- DATA
end
subgraph Relay["Optional self-hosted Relay"]
RLY["@sora/relay (Node 24 · SQLite)"]
PRT["@sora/protocol (wire contract and test vectors)"]
RLY --- PRT
end
AND --> Core
HOST --> Core
AND <-->|"WSS / HTTPS · CA pinning"| Relay
HOST <-->|"WSS / HTTPS · mesh-v2 host handover"| Relay
Repository modules
| Path | Stack | Responsibility |
|---|---|---|
| core/runtime-api/ | Kotlin JVM | Contracts for tools, approvals, memory, and runtime state |
| core/runtime/ | Kotlin Multiplatform | JSONL session engine, Orch, Memory v3, goals, jobs, timers, skills, and MCP |
| core/relay/ | Kotlin Multiplatform | Relay client, cross-device Bot and Worker routing, and Orch host handover |
| apps/android/ | Kotlin · Compose | Android client, assistant overlay, Alpine/proot, wireless ADB, virtual displays, :design, and :plugin-api |
| apps/host/ | Kotlin · Ktor · Clikt | Host daemon, standalone sora CLI, local REST/SSE API, and browser bridge |
| apps/web/ | React 19 · TypeScript · Vite | Desktop and browser workbench, browser panel, Orch views, and management |
| apps/desktop/ | Electron · TypeScript | Desktop shell, tray, sora:// links, and embedded browser host |
| apps/relay/ | Node.js 24 · TypeScript · SQLite | Self-hosted Relay for pairing, routing, host coordination, and memory sync |
| packages/protocol/ | TypeScript · JSON | Wire types and cross-language JSON test vectors |
| plugins/ | Kotlin · .ddp |
Official plugins, the mcpui-demo example, and templates |
| docs-site/ | VitePress | Bilingual guides and plugin API documentation |
Companion repositories
| Repository | Purpose |
|---|---|
| Sora-KotlinSDK | KMP agent SDK for model transport, agent loops, session persistence, and compaction |
| Sora-Market | ECDSA-signed registry of plugins, skills, and remote MCP services |
| Sora-Maven | Static Maven repository for the SDK, plugin-api, and design |
| sora-website | Product showcase site source |
| Sora-Purge · sysu-materials-sora | Examples of third-party plugins built independently against Sora-Maven |
Documentation and source builds
The full guides and plugin API reference are in the Sora documentation.
- User guides · Getting Started · Android · Desktop · Orch · Memory v3 · Self-hosting Relay
- Plugins · Overview · Quick Start · Runtime API · UI Extensions · Publishing
- Architecture · Overview · Tool Harness · Wire Protocol · Contributing
Source development uses JDK 21, Node.js 24+, and the pnpm version pinned in the root package.json. Android and plugin builds also need Android SDK 36.
# Run the desktop workbench locally (Host + Web + Electron)
pnpm install
pnpm build:web
./scripts/gradlew-locked -Psora.hostOnly=true :apps:host:installDist --no-daemon
pnpm dev:desktop
# Run TypeScript checks and tests (web / desktop / relay / protocol)
pnpm check:ts
# Preview the docs site locally
pnpm dev:docs
# Run shared core and Host JVM tests without the Android SDK
./scripts/gradlew-locked -Psora.hostOnly=true \
:verifyModuleBoundaries :core:runtime:jvmTest :core:relay:jvmTest :apps:host:check
To work with a sibling checkout of ../Sora-KotlinSDK, use -Psora.localSdk=true or set SORA_LOCAL_SDK=1.
Contributing and license
- See CONTRIBUTING.md. Report security issues privately as described in SECURITY.md.
- See CHANGELOG.md and plugins/CHANGELOG.md for releases and changes.
- Sora is released under the Apache License 2.0. Third-party notices are in THIRD_PARTY_NOTICES.md.
Acknowledgements & Community
The development and promotion of this project are inspired and supported by the LINUX DO community. Feel free to join the community for discussions and feedback.
Jelajahi proyek terkait
Memuat…