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

- **GitHub URL**: https://github.com/elizaOS/eliza
- **Official Docs / Website**: https://elizaresearch.ai/
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Java
- **License**: MIT
- **Engineering Health**: A+ (100/100 · Maintenance 35/35 · Adoption 25/25 · Releases 20/20 · License 20/20)
- **Deployment / Stack Signals**: CLI
- **Momentum**: 19,940 ★ total (+4 24h / +32 7d) · 5,909 forks
- **Topics**: `agent`, `agentic`, `ai`, `autonomous`, `chatbot`, `crypto`, `discord`, `eliza`, `elizaos`, `framework`, `plugins`, `rag`
- **When to Use**: Best for: Teams building a device-side assistant that need an explicit cloud boundary for identity, billing, and model access, plus reviewable contracts and recovery tests. Skip if: You need a lightweight server-side model wrapper, guaranteed offline inference, or a turnkey production deployment with an established provider compatibility matrix.

## Overview
```text
### Architecture & Core Mechanics
The Eliza v4 workspace divides the system into a kernel, agent host, device image, cloud services, and assistant plugins. Agents execute on the device; the cloud handles identity, billing, and model access. Assistant plugins are a named extension surface, but the available interfaces do not establish a stable third-party plugin API or wire protocol.

This is a specification-first workspace. `spec/index.md` indexes package specifications, `SPEC.md` is the specification reference, and Quint models and requirements feed generated contracts for VibeLang and Effect implementations. Package shells are implemented from accepted specifications. The root `vibestack` manifest exposes a `spec` CLI and includes TypeScript, `vibelang-runtime`, `effect`, and `@effect/platform-node`; those dependencies describe the root tooling, not a uniform runtime for every package.

### Key Capabilities & Differentiators
`pnpm check` generates contracts, checks model traces and replay, proves specified safety obligations, runs available end-to-end journeys, and lists changes for review. `pnpm accept` records the review separately. Vitest and Playwright are present in the toolchain. The resulting checks address modeled properties and tested flows; they do not amount to a proof of the entire runtime.

One concrete integration test exercises cold-start password-vault recovery on Android 15 or later. The two-emulator variant saves on one device and restores into an empty vault backed by an independent Android Keystore after enrolling a fresh device grant. A disposable PGlite-backed Cloud Worker, a temporary HTTPS reverse mapping, and a synthetic account exercise the same Worker routes as the production app. The single-emulator variant separates processes, not Keystores. No supported model-family, provider, or model-format matrix is established, so verify those requirements independently.

### Trade-offs & Limitations
Choose this architecture over a lightweight agent library when you need to own a device-side agent host and review device/cloud contracts explicitly. For a server-side assistant that only sequences model calls, contract generation, proof tooling, trace replay, and review steps add maintenance without necessarily solving a problem you have. Compared with a managed agent service, this split gives your team a device-side component to control and operate, but does not remove its dependency on cloud services.

Local execution is not the same as offline inference. Model calls through the cloud retain network and service dependencies, and identity and billing remain on the cloud side. For a pilot, verify provider compatibility and exercise loss of connectivity before committing to the split. MIT permits commercial use and redistribution with the required notices; third-party dependencies and service terms still need separate review.

### Hardware & Deployment Guide
For source work, use Node 26, pnpm 10.24.0, and Dafny 4.11. Install with `pnpm install --frozen-lockfile`, then run `pnpm gen`, `pnpm check`, and `pnpm verify`. The Android fixture additionally needs an unlocked Android 15 or later test emulator with a screen lock, the instrumentation APK, and an installed `@capacitor/android` path for the Gradle build. Size browser and emulator jobs separately from the agent runtime; there is no established hardware or VRAM minimum.

The v2.0.5 release published 81 npm packages from `develop`, with exact pins such as `@elizaos/core@2.0.5` and `@elizaos/agent@2.0.5`. Those packages are a separate adoption path from the v4 source workflow, not evidence of package or plugin compatibility. A separate Android release ships Node 26.13.1 executables built with NDK 29.0.14206865 for API level 29; that artifact target is not the Android 15 test-fixture requirement. The root exposes `deploy` and `deploy:plan` scripts, but a complete production topology and a fully offline setup are not established.
```

## Key Capabilities
```text
- Execution boundary: Agents run on the device; cloud services handle identity, billing, and model access.
- Contract generation: Quint models and package specifications inform generated contracts for VibeLang and Effect.
- Verification workflow: `pnpm check` covers contract generation, model traces and replay, safety proofs, and available journeys; `pnpm accept` records review.
- CLI entry point: The `vibestack` workspace exposes the `spec` binary, with Node 26, pnpm 10.24.0, and Dafny 4.11 specified for setup.
- Android recovery: The fixture exercises vault restore into a separate Android Keystore using a disposable PGlite-backed Cloud Worker.
- Release boundary: v2.0.5 shipped 81 npm packages as a cohort, including `@elizaos/core` and `@elizaos/agent`; the source workspace specifies v4.
```

## Quick Start / Clone
```bash
pnpm install --frozen-lockfile
pnpm gen
pnpm check
pnpm verify
```
