Skip to content

Repository files navigation

Tron black hole logo

TRON Harness

English · 简体中文

Latest release Person-AI Ecosystem License: AGPL-3.0-only Rust Backend React Frontend Electron Desktop

Platforms: macOS, Windows, Linux WSL2 Supported AI-Friendly Contributions

Build AI workflows for your own domain, right here.

🎉 The project is under active development. We welcome contributions made together with agents. o7

Interface Preview

Tron workspace in the light theme Tron workspace with the Matrix dark theme

Clean, modern UI with custom themes

Manage agents in one place Create and configure a custom agent

Manage and assemble agents in one place

Tron Capability Center Tool domain configuration

Extend on demand

The desktop app supports macOS Apple Silicon, Windows, and Linux. Windows users can run the native client or work through WSL2.

When the Windows desktop app uses WSL2, agent execution, commands, terminals, MCP, and background tasks all run inside the selected Linux distribution.

Windows
└─ Tron desktop: chat, tasks, file panel, backend environment selection
      │
      │ HTTP / WebSocket over localhost
      ▼
WSL2 · Ubuntu / Debian
├─ Tron backend: personal assistant, agent collaboration, capability packs, background tasks
├─ Linux work environment: project directories, commands, terminals, MCP
└─ ~/.tron: databases, chats, attachments, logs, and managed working directories

One Set of Capabilities, Three Ways to Use It

Tron Harness is an open-source, extensible multi-agent work platform. It gathers everything an agent needs to do a class of work—tools, skills, menus, pages, and permissions—into capability packs.

A capability pack is an installable, modifiable, and deliverable "vertical domain." You can use the same set of capabilities as-is, adapt and share it, or turn it into a standalone application that you deploy yourself.

Install domain capability packs, build and share your own capability pack, generate a standalone agent application

Install a Capability Pack

A pack takes effect as soon as it is installed: the agent knows how this kind of work is done and has the right tools at hand, and the interface offers entry points. Pick one from the Capability Center, install and enable it, then start from a concrete goal—no need to study the framework first or configure everything from scratch.

Build and Share a Capability Pack

Ready-made packs solve common problems; the differences are left to you. Describe your process, materials, and judgment criteria in natural language, and the agent generates a new capability pack—filling in tools, skills, menus, and pages—then keeps adjusting it while you use it. Once it is polished, publish it to the Capability Center so others can install it.

Generate a Standalone Agent Application

When a set of capabilities needs to live outside Tron, it deserves its own form. Reusing the framework's capabilities, Tron Harness can turn it into an agent-native application: the app's main entry point is the agent, not a chat box in a conventional interface; the interface, tools, skills, and runtime logic are packaged into a project that can be deployed independently—to your own server, intranet, or computer.

PersonAI: Your Built-in Personal Assistant

Open Tron and you have a built-in personal assistant, PersonAI. It has its own identity, sessions, and tasks. You can set its name, personality, and way of working with you, or create additional PersonAIs that take on different responsibilities.

Start with one sentence:

Help me understand this project, break it into tasks, and run whatever can run in parallel. Call me in when there is a decision I need to make.

  • Turn ideas into tasks. Clarify goals in conversation, create tasks, schedule them, and keep tracking progress and results.
  • Split work across agents. Delegate subtasks or create independent collaboration sessions; check status, add requirements, answer questions, and cancel work when needed.
  • Follow up proactively. With background execution enabled, PersonAI keeps working through heartbeats, task reminders, and work feedback, and uses notifications to report progress, completion, or decisions that need your input.
  • Remember useful experience. The built-in "memory organization" PersonAI distills stable facts and validated experience from past work; generated Skills go to the pending-approval area by default and are installed once approved.
  • Know what it is doing at any time. Conversations, delegated sessions, tasks, background work, and history each have dedicated entry points.
flowchart LR
    User[You: goals and feedback] <--> PersonAI[Personal assistant]
    PersonAI --> Tools[Tools, files, and terminal]
    PersonAI --> Agents[Subagents and collaboration sessions]
    Tools --> Results[Execution results]
    Agents --> Results
    Results --> PersonAI
    PersonAI --> Tasks[Task progress and notifications]
    Tasks --> User
    Wake[Heartbeats and task reminders] --> PersonAI
    Memory[Memory and skills] --> PersonAI
    Chat[You: ideas] --> PersonAI
Loading

Background work requires the backend to stay running and uses configured models and tools. The heartbeat interval, whether background execution is enabled, and automatic skill approval can all be adjusted.

Capability Packs: Extend Tron Around the Way You Work

Install, inspect, and manage a set of related capabilities together. Capability packs are Tron's core extension mechanism: they give agents execution capabilities and add menus and pages to the work interface.

What a pack contains What it is for
Tools and plugins Provide callable operations and connect execution logic and runtime extensions
Skills and supporting resources Distribute work methods, instructions, scripts, and reference material
MCP services Bring external tool services under capability management
Menus and navigation Add navigation entry points for specific work scenarios
Isolated pages Provide pack-specific interfaces that receive the host theme and language context
Extension declarations, dependencies, and permissions Describe a pack's composition, dependencies, and permission requirements

Bring AI Deeply into Your Workflow

What you want to do How Tron helps
Quick questions and research Casual chat, knowledge base, and web search
Move a project forward Work topics, workspaces, application management, task boards, and configurable task flows
Coordinate heterogeneous agents Agent management, subtasks, and independent collaboration sessions; connect installed and configured system agent CLIs such as Codex, OpenCode, and DeepSeek Harness to make the most of your own AI subscriptions
Debug pages Built-in headless browser with element annotations and CDP support
Control your computer Provided by the CUA Driver capability pack
Run commands in a terminal Built-in smart terminal; AI conversation keeps working across SSH hops and inside containers
Read material and organize knowledge Conversation attachments, knowledge base retrieval, long-term memory, and knowledge graphs; document parsing and retrieval require the appropriate services and models
Repeat work on a schedule Cron automation, manual triggers, execution history, and PersonAI's heartbeats and task reminders
Use your own model services Custom model providers and automatic model routing policies
Understand the execution process AGUI card replay, visualized short-term memory, and OTel (logs, traces, metrics)

Contributing

Tron is a single repository built with Rust + React + Electron; agent execution is powered by the EliteForge Agent Framework. The frontend handles interaction, the backend carries business logic and agent execution, and Electron manages desktop windows and the backend environment.

Tron/
├─ tron-frontend/       React + TypeScript interface and chat component packages
├─ tron-backend/        Rust services, business logic, and agent runtime integration
│  ├─ crates/           Tron native capability packs
│  └─ examples/         Capability pack examples
├─ electron/            Desktop shell, WSL2 connection, and installer configuration
├─ scripts/             Version sync and WSL build scripts
└─ Makefile             Entry points for install, run, check, and build

Start with AGENTS.md and read the development conventions in the directories you modify. For details, see the frontend stack and the backend stack.

Command Purpose
make help Show all common commands and parameters
make fe-check Type-check TypeScript and build the frontend
make be-check Compile-check the backend
make desktop-check Check desktop scripts and validate the existing WSL and update flows
make harness-capability-check Compile-check Tron's native capability packs
make version-check Check that component versions are consistent
make openapi Export the OpenAPI description
Build caches and cleanup

By default, the Makefile keeps user-level build caches in ~/rust-cache/sccache and ~/rust-cache/ccache, or %USERPROFILE%/rust-cache/ on Windows. Override the root with RUST_CACHE_DIR, or set SCCACHE_DIR and CCACHE_DIR separately.

Cargo artifacts live in tron-backend/target; frontend workspace packages are cached by Turbo. make be-clean-package cleans only backend crate build artifacts; make fe-clean, make web-clean, and make desktop-clean clean their respective outputs. make clean cleans everything and also removes Tron temporary files and desktop dependencies; these commands keep user-level build caches as well as the frontend .turbo directory and workspace package dist outputs.

Publishing desktop installers and the WSL2 backend

Versions are managed centrally in version.properties; update them with make version VERSION=x.y.z. Pull requests and pushes to main or master trigger CI; running the GitHub Actions Build packages workflow manually builds installers and the x86_64 WSL backend.

After pushing a v<version> tag that matches the repository version, the workflow creates a draft Release once the build succeeds and generates a SHA-256 manifest. Review the artifacts before publishing the draft. macOS packages currently use ad-hoc signing; configure proper signing and notarization before public distribution.

The Windows desktop app uses the Person-AI version service for its first WSL download. After building with make be-build-wsl WSL_ARCH=all, upload the backend binaries under output/wsl2/<version>/<Rust target>/ to the corresponding Tron product version and register the package types:

Distribution x86_64 ARM64
Ubuntu WSL_UBUNTU_X64 WSL_UBUNTU_ARM64
Debian WSL_DEBIAN_X64 WSL_DEBIAN_ARM64

A binary for the same architecture can be registered as both an Ubuntu and a Debian package. The latest version returned by the version service must match the desktop version and include packages for the required platforms before the desktop app can complete its first installation.

License

Tron Harness is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-only). Third-party components and assets retain their respective licenses and copyright notices.

Acknowledgements

Special thanks to OpenAI Codex, DeepSeek Harness, and Antigravity. The entire Tron Harness project was built together with agents. From discussing ideas and designing the architecture to writing code, troubleshooting, and authoring documentation, agents turned imagination into reality.

We hope Tron Harness becomes your partner, colleague, and confidant, and that together you bring your ideas to life.

Thanks also to every open-source package and project used here, and to their authors, maintainers, and contributors. Whether a component is used directly or is a transitive dependency, your work made Tron possible and keeps it improving.

Thanks to the dbx project. Tron's capability pack design draws on dbx's plugin mechanism, including plugin manifests, installation and distribution, and the Sidecar runtime.

Agent and Desktop Capabilities

Project Role in Tron
EliteForge Agent Framework Agent execution, tools, plugins, capability packs, memory, and storage
EliteForge Agent UI Chat, input, terminal, and agent interaction components
Person-AI Rust SDK Person-AI service integration
Cua Computer Use native SDK and supporting skills
Electron · electron-builder Cross-platform desktop runtime and installer builds
Frontend interface, editor, and visualization
Project Purpose
React · React Router Interface construction and routing
TanStack Query · TanStack Table · Zustand Data fetching, tables, and state management
Base UI · Radix UI · shadcn/ui Core interactive components
Tailwind CSS · PostCSS · Sass Styling and style processing
CVA · clsx · cn · tailwind-merge · tw-animate-css Style composition and animation styles
CodeMirror · Lezer Highlight Code editing, language support, and syntax highlighting
xterm.js Terminal display, resizing, and link interaction
react-markdown · remark-gfm · github-markdown-css Markdown rendering and typography
PDF.js PDF preview
AntV G2 · AntV G6 Charts and relationship graphs
Three.js · Post Processing · GSAP Visual effects and animation
i18next · react-i18next Internationalization
react-resizable-panels · Pretext · Lodash Panel layout, text measurement, and general utilities
Lucide · Fontsource · Geist · Inter Icons, fonts, and font distribution
Rust backend, data storage, and document processing
Project Purpose
Tokio · async-trait · async-stream Async runtime and stream processing
Axum · Tower HTTP · Reqwest · Socketioxide HTTP services, clients, and real-time communication
Serde · serde_json · serde_yaml · serde_path_to_error Data serialization and parsing
jsonschema · Utoipa JSON Schema validation, OpenAPI, and API documentation
tracing · OpenTelemetry Rust Logs, metrics, and traces
rusqlite · tokio-rusqlite · SQLx Database access
Grafeo · Apache OpenDAL Graph data and object storage access
redis-rs · rskafka · ldap3 · Russh Redis, Kafka, LDAP, and SSH connectivity
Rustls · rustls-pemfile · webpki-roots TLS and certificate handling
RustCrypto AEADs · MACs · Hashes · gm-crypto-rs Encryption, message authentication, and hashing
bcrypt · jsonwebtoken · Rand Password hashing, tokens, and random numbers
Chrono · chrono-tz · cron Dates, time zones, and scheduling expressions
sysinfo · fs2 · tempfile · rfd · windows-rs System information, file operations, and native platform APIs
flate2 · zip · base64 · hex Compression, archives, and encoding
Regex · rust-url · unicode-normalization · shell-words Text, URL, and command-line argument processing
roxmltree · scraper · umya-spreadsheet · pdf-extract · image XML, HTML, spreadsheet, PDF, and image processing
semver · snowflaked Version parsing and ID generation
Languages and build tools
Project Purpose
Rust · Cargo · Node.js · npm CLI Compilation, runtime, and dependency management
TypeScript · DefinitelyTyped Type checking and type definitions
Vite · Vite React Plugin · esbuild · vite-plugin-dts Frontend development, bundling, and type declaration generation
Turborepo · Changesets · patch-package Workspace builds, version management, and dependency patches
sccache · ccache Build caching

Thanks also to the transitive dependencies, development tools, and community contributions not listed here. All third-party components and assets remain subject to their respective licenses and copyright notices.

Donors

Thank you to everyone who supports this project! Please remember to include a note when donating so we can list you in the donors table below.

WeChat Pay QR Code

Donor Amount
Jiayuan $20

Releases

Packages

Contributors

Languages