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

- **GitHub URL**: https://github.com/taracodlabs/aiden
- **Official Docs / Website**: https://aiden.taracod.com
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: TypeScript
- **License**: AGPL-3.0
- **Engineering Health**: B+ (73/100 · Maintenance 26/35 · Adoption 19/25 · Releases 17/20 · License 11/20)
- **Latest Release**: v4.21.3 (2026-10-19) — https://github.com/taracodlabs/aiden/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Docker, Self-Hosted, CLI, MCP
- **Momentum**: 916 ★ total (+0 24h / +5 7d) · 161 forks
- **Topics**: `agentskills`, `ai`, `ai-agents`, `ai-os`, `ai-skills`, `ai-tools`, `aiden`, `aiden-agent`, `autonomous-agents`, `llm`, `local-first`, `open-source-project`
- **When to Use**: Best for: Operators running multi-step research, repository maintenance, or browser workflows that require approval before consequential actions and evidence of the final state. Skip if: You only need chat or inline edits, already have a deterministic workflow, or cannot grant host and account access within a controlled permission boundary.

## Overview
```text
### Architecture & Core Mechanics
Aiden is an event-driven TypeScript runtime. Channel adapters normalize CLI, messaging, email, desktop, and webhook inputs before planning. `core/agentLoop.ts` dispatches tools, collects parallel subagent results, and reads and writes across six memory layers. `providers/router.ts` routes model calls, including local Ollama inference. The package includes `better-sqlite3`, Express, and the MCP SDK; the MCP bridge adds external tools, while `SKILL.md` bundles workflow instructions with optional scripts and tool requirements.

The durable execution model separates a Job from its Attempts. Each Attempt carries a generation and lease, along with cancellation and budget state, so a stale Attempt cannot simply finalize the Job. Consequential actions are registered as Effects, tied to specific approvals, and reconciled if the external outcome is uncertain. Evidence and explicit Verification inform a Verdict; Proof is produced only when the requested Claims are supported. This makes recovery more informative than a retry loop that sees only whether a tool returned successfully.

### Key Capabilities & Differentiators
Aiden can coordinate browser sessions, shell commands, files, applications, APIs, and MCP tools in one Job. The provider router offers hosted routes such as Anthropic, OpenAI, Gemini, and OpenRouter, plus custom OpenAI-compatible endpoints and local Ollama. Supported subscription sign-ins depend on entitlement. Operators can switch models with `/model`, inspect evidence in the terminal UI, or use the browser Workbench. The opt-in daemon adds file, schedule, email, and webhook triggers.

Codebase Mode uses the same execution model. Before modifying a repository, it records the branch, HEAD, dirty and untracked files, manifests, and available build and test commands. Writes are tied to the Attempt, snapshot, and expected base revision, then read back from disk to capture hashes and diffs. Builds, tests, and diagnostics produce structured records, while Git mutations are tracked as Effects. This gives reviewers a way to distinguish changes actually observed on disk from work the agent only reported as complete.

### Trade-offs & Limitations
Compared with a chat assistant or an IDE coding agent, Aiden's clearest advantage is coordinating work that crosses tools while recording approvals, effects, and evidence. A scripted CLI or fixed workflow is easier to test and maintain when the steps are known in advance. Aiden is a better fit when the next step depends on what it observes, but outcomes still depend on the model, the tools, and the strength of the verification checks. A recorded Effect does not make an external action reversible or guarantee exactly-once execution.

Local inference avoids sending model inputs to a hosted provider, but using browser, API, or messaging tools can still move data off the host. Shell access, account connections, external MCP servers, and background triggers widen the trust boundary. Start with scoped permissions and required approvals before enabling unattended work. Also factor in the known cosmetic terminal-resize issue and AGPL-3.0 obligations when deploying a modified runtime for network users.

### Hardware & Deployment Guide
The npm runtime requires Node.js 20.x or 22.x. Install the qualified security release with `npm install -g aiden-runtime@4.21.3`, start the terminal interface with `aiden`, and check the installed version with `aiden --version`. `aiden-runtime` starts the same standalone runtime; `aiden web` opens Workbench. Runtime support covers Windows, Linux, and WSL, with macOS listed for API mode. Local Ollama inference can run offline, while hosted providers and third-party integrations need connectivity and authorization.

Budget host resources for browser and tool processes as well as Node.js. With Ollama, the selected model, context size, and concurrency determine additional RAM or VRAM needs; no fixed hardware minimum is specified. `docker-compose.searxng.yml` is specific to SearXNG, not evidence of a turnkey Docker deployment for the full runtime. v4.21.1 improved Workbench continuity and workflow authoring; v4.21.2 updated setup and connection discovery. v4.21.3 strengthens SSRF protections and qualifies only the npm runtime package, not a desktop installer.
```

## Key Capabilities
```text
- Execution control: Each Attempt has a generation, lease, cancellation state, and budget; consequential Effects are bound to specific approvals.
- Outcome verification: Evidence, Verification, and Verdict are recorded separately; Proof depends on support for the requested Claims, not a zero exit code.
- Repository safety: Codebase Mode checks snapshot and base revision before writes, blocks path and symlink escapes, and records fresh readbacks, hashes, and diffs.
- Tool integration: The dispatcher exposes 60+ built-in tools; MCP extends tool access, while `SKILL.md` packages reusable workflows.
- Background automation: The opt-in daemon dispatches file, schedule, email, and webhook triggers; `aiden runs list` exposes triggered runs.
- Release scope: `aiden-runtime@4.21.3` strengthens SSRF protections and qualifies only the npm runtime package.
```

## Quick Start / Clone
```bash
npm install -g aiden-runtime
aiden
```
