1
0
Fork 0
mirror of https://github.com/elizaOS/eliza.git synced 2026-08-15 02:44:55 +00:00
Read-only mirror of github.com/elizaOS/eliza — source of truth, issues, and pull requests live on GitHub.
  • TypeScript 60%
  • JavaScript 32.3%
  • Python 3.6%
  • Solidity 1.1%
  • Swift 0.6%
  • Other 1.9%
Find a file
Uuriko 1e180f65c8
fix(agent): tell the truth when /pair upstream 5xx fails (#19591)
* fix(agent): tell the truth when /pair upstream 5xx fails

The standalone /pair relay collapsed upstream HTTP 5xx, abort/transport
failure, and malformed 2xx into one 502 page claiming Eliza Cloud
'accepted the link' — false for upstream 5xx, where Cloud failed before
verifying anything (issue #18066, standujar 2026-08-08).

- Upstream 5xx now renders its own 502: the link was not accepted, with
  Retry-After: 60 since the upstream degradation is retryable.
- Abort (timeout) and transport failure keep their 503 but gain
  Retry-After: 60 and distinct honest copy.
- Malformed 2xx keeps the 'accepted the link' copy (true there) with no
  Retry-After — the one-time token is spent at this URL.
- Unexpected non-2xx statuses are reported as such instead of claiming
  acceptance.
- All recovery copy sends the user back to Eliza Cloud for a fresh link;
  one-minute token reuse is not recovery.

Deterministic handler tests cover upstream 500/502/503, abort, transport
failure, malformed 2xx, and unexpected non-2xx.

Relates to #18066 — deploy-safety, raw Cloudflare 502-before-handler,
and router-restart residuals remain open.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(agent): keep pairing timeout outcomes epistemically honest

Use neutral recovery copy when a timeout, transport error, or upstream 5xx cannot prove whether Cloud consumed the one-time token. Exercise the real abort deadline with fake timers, model an upstream commit after caller abort, and clear the deadline on every completion path.

AI provider/model: openai / gpt-5.6-sol
Client / agent tooling: codex
Contribution skill revision: elizaOS/eliza@b8939d678d885f79473be58f82d493da6e29aa2d:packages/skills/skills/contribute-to-eliza
Attribution status: self-reported
— [codex-review]
<!-- eliza-computer-attribution:v1 {"provider":"openai","model":"gpt-5.6-sol","client":"codex","skill_revision":"elizaOS/eliza@b8939d678d885f79473be58f82d493da6e29aa2d:packages/skills/skills/contribute-to-eliza"} -->

* fix(agent): preserve timeout semantics while reading pair response

---------

Co-authored-by: potter <potter@pop-os.localdomain>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Shaw <shawgotbags@gmail.com>
2026-08-14 19:42:57 -07:00
.github fix(cloud): make WARM_POOL_ENABLED source-controlled in daemon reconcile and wrangler vars (#19726) 2026-08-14 19:26:48 -07:00
.well-known docs: add contributor governance policy (#13654) 2026-07-04 19:13:00 -04:00
packages fix(agent): tell the truth when /pair upstream 5xx fails (#19591) 2026-08-14 19:42:57 -07:00
patches fix(auth): complete passkey recovery review 2026-08-13 19:25:40 -07:00
plugins fix(plugin-app-control): a static app is not a failed worker spawn (#19615) 2026-08-14 19:40:21 -07:00
scripts Merge pull request #17660 from elizaOS/fix/certification-image-link-gate 2026-08-14 16:14:36 -07:00
upstreams docs(os): remove local OS ownership remnants 2026-08-03 01:53:30 -07:00
.biomeignore more refactoring and cleanup 2026-08-03 01:53:43 -07:00
.dockerignore docs(os): remove local OS ownership remnants 2026-08-03 01:53:30 -07:00
.env.example elizaOS v2.0.4 — clean baseline 2026-06-18 21:42:03 -04:00
.env.test.example refactor(scripts): migrate packages/scripts clusters to owning packages; dedupe; sweep concurrent-lane WIP 2026-08-03 01:53:31 -07:00
.gitattributes fix(ci): restore UI and Android scheduled gates (#17205) 2026-07-30 21:00:13 -07:00
.gitignore chore: ignore generated root output (#18310) 2026-08-12 23:04:30 -07:00
.gitleaks.toml fix(ci): restore scripts/vast and add hosted certification fallback (#17792) 2026-08-05 16:15:20 -07:00
.gitleaksignore more refactor 2026-08-03 01:53:47 -07:00
.gitmodules chore: remove bundled research packages 2026-07-05 22:55:59 -04:00
.madgerc elizaOS v2.0.4 — clean baseline 2026-06-18 21:42:03 -04:00
.nvmrc elizaOS v2.0.4 — clean baseline 2026-06-18 21:42:03 -04:00
AGENTS.md fix(rebase): preserve reviewed cleanup tree 2026-08-03 01:53:56 -07:00
biome.json fix(ci): complete Dependabot Bun lockfile migration (#18772) 2026-08-12 15:03:05 -07:00
bun.lock fix(deps): align pg dependency graph (#18935) 2026-08-14 19:25:29 -07:00
bunfig.live.toml fix(cloud): route Opus 4.7/4.8 to adaptive thinking, not a manual budget (#16220) 2026-07-13 09:59:40 -04:00
bunfig.toml elizaOS v2.0.4 — clean baseline 2026-06-18 21:42:03 -04:00
CLAUDE.md fix(rebase): preserve reviewed cleanup tree 2026-08-03 01:53:56 -07:00
CONTRIBUTING.md docs(security): restore GitHub-discoverable SECURITY.md (#18446) (#18514) 2026-08-12 01:10:23 -04:00
knip.json more refactors 2026-08-03 01:53:53 -07:00
lerna.json more refactoring and cleanup 2026-08-03 01:53:43 -07:00
LICENSE elizaOS v2.0.4 — clean baseline 2026-06-18 21:42:03 -04:00
package.json fix(deps): align pg dependency graph (#18935) 2026-08-14 19:25:29 -07:00
plugins.json elizaOS v2.0.4 — clean baseline 2026-06-18 21:42:03 -04:00
README.md docs: standardize issue template link capitalization 2026-08-14 05:09:25 -07:00
SECURITY.md docs(security): restore GitHub-discoverable SECURITY.md (#18446) (#18514) 2026-08-12 01:10:23 -04:00
tsconfig.base.json elizaOS v2.0.4 — clean baseline 2026-06-18 21:42:03 -04:00
tsconfig.build.template.json elizaOS v2.0.4 — clean baseline 2026-06-18 21:42:03 -04:00
tsconfig.json fix(agent): report provider endpoint parity 2026-08-12 15:58:02 -07:00
turbo.json fix(ci): order scenario-runner filtered typecheck 2026-08-10 03:26:21 -07:00
vitest.config.ts refactor(scripts): migrate packages/scripts clusters to owning packages; dedupe; sweep concurrent-lane WIP 2026-08-03 01:53:31 -07:00
WINDOWS.md wip(ci): workflow consolidation in-progress snapshot 2026-08-08 22:47:32 -07:00

elizaOS

elizaOS

Your agentic operating system.

Eliza · Eliza Cloud · elizaOS downloads · Documentation · App catalog

elizaOS is an open-source TypeScript framework and product stack for autonomous AI agents. This monorepo contains the core runtime, the Eliza app, the CLI, cloud services, native bridges, and first-party plugins. The bootable Linux and Android distributions live in the separate elizaOS/os repository.

Choose a starting point

Goal Start here
Use Eliza Open the web app, visit Eliza downloads, or use a published GitHub release
Run this repository Follow Run Eliza from source
Build an agent or plugin Install the elizaos CLI and read the developer docs
Contribute Read CONTRIBUTING.md and the repository guide in AGENTS.md
Run a whole device as elizaOS Use the installers and target guides in elizaOS/os

Run Eliza from source

The repository pins Bun and Node versions in package.json. Install those versions, then:

git clone --filter=blob:none https://github.com/elizaos/eliza.git
cd eliza
bun install
bun run dev

bun install also prepares submodules, patches, and runtime artifacts. For a smaller development install that skips the large artifact bundle, use bun run install:light.

Common repository commands:

bun run build       # build the workspace with Turbo
bun run verify      # package parity, dependency, type, lint, and audit gates
bun run test        # repository unit/integration test lane
bun run test:e2e    # end-to-end lane
bun run cloud:mock  # local Eliza Cloud stack with mocks

See AGENTS.md for package scoping, shared development servers, and the evidence required before a change is considered complete.

What is in the stack?

Eliza

Eliza is the user-facing agent app for web, desktop, and mobile targets. Its capabilities are supplied by the runtime and installed plugins, including:

  • chat, voice, memory, knowledge, and document workflows;
  • messaging and workspace connectors;
  • calendar, reminders, inbox, goals, health, and other personal-assistant domains;
  • browser and desktop automation;
  • camera, phone, messages, contacts, location, and other native device bridges;
  • non-custodial EVM and Solana wallet operations with approval boundaries; and
  • scheduled workflows, coding-agent orchestration, and installable app views.

Availability depends on the operating system, installed plugins, granted permissions, and configured model or service providers. Package-level READMEs document the exact support and setup for each capability.

The framework

The framework is model-agnostic and extended through plugins:

  • @elizaos/core defines AgentRuntime, the canonical types, the message loop, memory and state primitives, and plugin contracts.
  • @elizaos/agent assembles a standalone agent and HTTP backend around the core runtime.
  • @elizaos/app-core provides shared application hosting, API, and platform orchestration for Eliza app targets.
  • @elizaos/ui contains the shared React UI used by app surfaces.
  • elizaos is the project and plugin scaffolding, upgrade, and deployment CLI.

A plugin exports a Plugin object. Plugins can register actions, providers, evaluators, services, model handlers, routes, events, tests, and app views. See the plugin component guide and the first-party implementations under plugins/.

Local inference

@elizaos/plugin-local-inference provides the Eliza-1 on-device path. The current Eliza-1 registry contains 2B, 4B, 9B, and 27B text tiers based on Gemma 4, plus local embeddings, speech, vision, and image-generation assets. Hardware detection and model routing select supported backends; after the required assets are downloaded, eligible operations can run without a network connection.

Local inference is not forced on hardware that cannot support it. Eliza can route each model capability to local, direct-provider, or Eliza Cloud backends.

Eliza Cloud

Eliza Cloud is optional. It provides account and authentication services, hosted model routing, application and agent deployment, remote connectivity, and cross-device product services. The local runtime and direct model-provider configuration remain first-class paths.

elizaOS distributions

The standalone elizaOS/os repository owns bootable Linux and AOSP distributions, installers, release manifests, and OS toolchains. This monorepo retains the Eliza application shells and native runtime bridges used by desktop, iOS, Android, and device integrations.

Build with elizaos

The beta CLI published from this branch uses the unscoped elizaos package:

bun add --global elizaos@beta
elizaos create my-project --template project
elizaos create plugin-example --template plugin

Projects are deployable workspaces; plugins are reusable capability packages. The packaged templates and their scaffold contracts live in packages/elizaos/templates/.

To embed the runtime directly without the CLI or application host, import @elizaos/core. The scenario runner provides executable integration coverage against a real runtime and, when configured, live models.

Repository map

packages/        runtime, hosts, UI, CLI, docs, cloud, native code, and tooling
plugins/         first-party model, connector, domain, app, and device plugins
scripts/         repository-wide checks, test orchestration, and release tools
patches/         dependency patches applied during installation

Every maintained package or plugin should explain its public surface, scripts, configuration, and local constraints in its own README.md and paired CLAUDE.md / AGENTS.md. Read the nearest package guide before making changes.

Contributing

Open an issue before a non-trivial change and submit work through a pull request against develop. CONTRIBUTING.md defines the coordination, testing, synchronization, and human-verifiable evidence requirements.

Report vulnerabilities privately through the security policy, not a public issue.

License

MIT