# Repository Briefing: teydra/OpenAutark
> Source: https://repoforai.com/repo/teydra/OpenAutark (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/teydra/OpenAutark
- **Official Docs / Website**: https://openautark.com
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: TypeScript
- **License**: Apache-2.0
- **Engineering Health**: A+ (89/100 · Maintenance 35/35 · Adoption 14/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.3.28 (2026-12-02) — https://github.com/teydra/OpenAutark/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, Local AI, API
- **Momentum**: 44 ★ total (+0 24h / +5 7d) · 11 forks
- **Topics**: `agent-orchestration`, `ai-agents`, `autonomous-agents`, `claude-code`, `codex`, `desktop-app`, `electron`, `llm`, `local-first`, `mcp`, `multi-agent`, `open-source`
- **When to Use**: Best for: Individuals who want a PC-hosted workspace that delegates recurring tasks to specialists, integrates with desktop apps and uses model access they already have. Skip if: You need a headless multi-user service, an air-gapped default deployment, or independently audited isolation before agents can access sensitive files and accounts.

## Overview
```text
### Architecture & Core Mechanics
OpenAutark is a PC-hosted agent workspace built around a TypeScript/Electron desktop app. A manager agent assigns work to specialists and reports back; the desktop runtime coordinates agent execution, chats, memory and tasks. The build bundles main, preload, runtime, CLI and UI. Inference is a separate concern: the workspace can use Claude Code, Codex, model APIs or a local model server. The `wf` CLI and external protocol provide an integration surface for scripts and bridges.

The Android app is a thin client for the PC's phone interface over an encrypted device link, not a second agent runtime. iPhone access uses a web app served by the PC. For devices on different networks, `services/remote-relay` provides discovery and encrypted forwarding. The public skill library is a separate service backed by a Cloudflare Worker and D1; that stack is not a prerequisite for running the desktop app.

### Key Capabilities & Differentiators
The main capability is delegation across an agent team, with chats, tasks and memory kept in the same workspace. The app also brings a calendar view and a browser alongside chat. You can use existing Claude Code or Codex plans, supply API credentials or point the workspace at a local model server without changing the desktop workflow. That choice does not establish that all model backends perform equally well on multi-step tasks.

Secure mode enforces capability settings in the runtime rather than relying on prompts. Reads and writes outside workspace folders can be governed separately, and computer control can be limited to selected apps or require per-use approval. Shell, web, messages, public posts and accounts have separate controls; spending remains blocked in Secure mode. The public library provides a separate distribution channel for skills and notes, with local secret, pattern and model-based checks before eligible content is published under CC0.

### Trade-offs & Limitations
Compared with using Claude Code or Codex directly, OpenAutark adds a manager, specialist delegation and a task workspace, but also more permissions and state to manage. For a single coding session, the direct tool is simpler. Compared with a headless agent orchestrator, the desktop design is better suited to work involving a user's browser or apps, but ties execution to the availability and security of that PC. Hosted inference shifts model compute off the PC; local inference instead makes model size and concurrency part of capacity planning.

Trust AI is preselected at first launch and gives agents the signed-in user's reach. On Windows, the installed desktop broker can use a stored password to unlock the PC. Secure mode offers narrower runtime controls, but is new and has not been externally audited. Public library sharing and the usage counter are enabled by default. Before using the app with sensitive data, review publication settings, provider data handling and outbound connections separately; running the workspace locally does not make it offline.

### Hardware & Deployment Guide
Desktop releases ship as a Windows x64 installer, a universal macOS DMG and a Linux x64 AppImage. Windows installation is per user; the macOS build is ad-hoc signed and not notarized. Linux requires FUSE 2, a working Chromium sandbox and a system keyring. Source builds use Node.js 24 and npm in `apps/desktop`, with unit, runtime end-to-end and Electron UI test commands. Android builds require JDK 17 and Android SDK platform and build-tools 36/36.0.0; the distributed APK pairs with the desktop host.

The relay can run independently from `services/remote-relay` on Node.js 24 or be built with Docker. For local inference, deploy a model server separately and size it for the chosen model and concurrency. Local inference and a self-hosted relay do not make the stock app air-gapped: update checks and model metadata requests have no documented off switch. Release v0.3.28 introduces link protocol 3 and checksum comparison for initial sync between two PCs in the same workspace; test existing device pairings when rolling it out.
```

## Key Capabilities
```text
- Runtime: Electron bundles main, preload, agent runtime, CLI and UI; Android is a thin client over an encrypted device link.
- Model access: The desktop workspace can use Claude Code, Codex, model API keys or a local model server.
- Capability policy: Secure mode gates file access, shell, web and app control in the runtime; it has not been externally audited.
- Device sync: v0.3.28 introduces link protocol 3 and uses checksum comparison for the initial sync between two PCs in the same workspace.
- Relay hosting: `services/remote-relay` runs on Node.js 24 or can be built with Docker and forwards encrypted bytes.
- Script integration: `docs/EXTERNAL_PROTOCOL.md` covers the `wf` CLI and interface for scripts and bridges.
```

## Quick Start / Clone
```bash
cd apps/desktop
npm ci
npm run build      # bundles main, preload, runtime, CLI and UI into app/
npm start          # starts the built app (npm run dev = build + start)
npm run check      # typecheck per layer, import boundaries, unit tests (a few minutes)
npm run test:e2e   # runtime end-to-end tests
npm run test:ui    # builds, then tests in real Electron windows
```
