2026-11-27 16:21 UTC

Endo offers a unified workspace for switching and composing coding agents

state: expiredheat: lowuncertainty: mediumrelevance: mediumagent-harness multi-agent-orchestration hot-swappable-agents agent-protocolLongsurf AIWarren93

What is this?

Endo is an open-source, MIT-licensed macOS app from Longsurf AI, presented as a “Higher Order Harness” for combining AI coding agents. Its GitHub README says it can switch between Codex, Claude Code and Antigravity within a thread, run TypeScript workflows that call agents in parallel or sequence, and continue prior sessions. It is at version 0.1.x and its documentation warns that breaking changes are expected. These are the project’s documented capabilities, not independently verified performance results.

Why it matters

Endo is a useful early example of making multi-provider agents feel like interchangeable parts of one workspace: users can switch agents mid-thread and compose them in TypeScript workflows. If reliable, that could help developers choose different agents for different steps without losing context. But this is a young, 0.1.x project, and the supplied evidence is its own documentation and launch post—not independent testing or evidence of adoption.

Current assessment

Longsurf AI’s Endo is an open-source, MIT-licensed macOS app that presents a unified interface for Codex, Claude Code and Antigravity, using users’ existing provider logins. Its README describes switching agents in a thread with shared history, workflows that call agents in parallel or sequence, continuation of earlier sessions, and scheduled runs. The HN author frames the product as a “Higher-Order Harness” and says it grew from a need to balance deterministic trading workflows with agent flexibility; that motivation and the claimed capabilities are attributed to the project author. The new development is a concrete tool offering cross-provider agent handoffs and workflow composition, rather than evidence that orchestration has become a practical default. The project is at 0.1.x and warns of breaking changes. The supplied sources do not establish reliability, provider-policy compatibility, performance, security properties, or user adoption. For developers experimenting with agent workflows, Endo may be worth trying; its real value depends on how well context transfer, permissions and multi-step runs work in practice.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-14 13:00⭐ origin echo-reconstructedEndo – A Higher-Order Harness (HOH). Compose any agent on your subscription into any workflow. Switch between Codex, Claude Code, Antigravit
longsurf-ai (Warren93) on github (echo) · attributed from hn.story.50110614
—
10-15 21:32first on hacker news · published · +32.5hShow HN: Endo – A Higher-Order Harness
Warren93
—
10-15 21:32amplified on hacker news 👑hn.story.50110614
Warren93
peak 6 · 0 comments · 100% of case engagement
10-15 22:21our radar first saw it · +33.4hdiscovery anchor: hn.story.50110614—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Endo – A Higher-Order Harness
Retrieved article excerpt

Open article · Retrieved 2026-10-15T22:28:46.971650+00:00

[Endo logo](https://github.com/longsurf-ai/endo/blob/main/app/src/components/ui/brand/endo.png)

# Endo

**The Higher Order Harness (HOH).**  
Compose any agent, on the subscription you already have, into any workflow.

[Endo: choosing an agent, starting /best-of-n, and the workflow finishing with an answer in the thread](https://github.com/longsurf-ai/endo/blob/main/demo/media/readme-loop.gif)

[Download for Mac](https://downloads.longsurf.ai/endo/darwin/arm64/Endo.dmg) ·
[Quick start](https://github.com/longsurf-ai/endo#quick-start) ·
[Features](https://github.com/longsurf-ai/endo#key-features) ·
[Development guide](https://github.com/longsurf-ai/endo/blob/main/docs/development.md)

[Latest release](https://github.com/longsurf-ai/endo/releases/latest)
[macOS, Apple Silicon](https://downloads.longsurf.ai/endo/darwin/arm64/Endo.dmg)
[License: MIT](https://github.com/longsurf-ai/endo/blob/main/LICENSE)
[Build status on main](https://github.com/longsurf-ai/endo/actions/workflows/ci.yml)

## Higher Order Harness

A harness runs one agent: it sends the prompt, runs the tools and keeps the
history. Endo is a **Higher Order Harness (HOH)**. It takes agents as its
building blocks, the way a higher-order function takes functions, and composes
them freely:

- **In one session**, switch between Codex, Claude Code and Antigravity
  mid-thread, or Dig In on any answer. Each agent picks up the full history.
- **Across sessions**, a workflow fans work out to agents from different
  vendors and continues any of their sessions, and a schedule runs the whole
  composition again later.

**Why Endo?** The name comes from *endomorphism*, a map whose output is the
same kind of thing as its input. Endo takes agents and gives you back an agent:
every composition answers in a thread you can talk to, dig into and schedule
like any other chat.

## Quick start

[Download Endo for macOS (Apple Silicon)](https://downloads.longsurf.ai/endo/darwin/arm64/Endo.dmg),
open the disk image, and install Endo. Signed releases update themselves in the
background.

To run it from source, install [Node.js 24](https://nodejs.org/en/download),
[Bun 1.4.2](https://bun.sh/docs/installation), and [Just](https://just.systems/man/en/), then:

```
git clone https://github.com/longsurf-ai/endo.git
cd endo
just install --frozen-lockfile
just desktop
```

Sign in to at least one provider (an existing `codex`, `claude` or Antigravity
login works, or use Settings → Models), then ask something like "Every weekday
at 9 AM, summarize my priorities for the day" and open the Schedule page.

## Key features

### Any agent, one protocol, your subscription

Endo drives Codex, Claude Code and Antigravity natively through their own CLIs,
signed in with the accounts you already have. There are no API keys to paste,
and Settings → Models shows each provider's plan usage. Every provider streams
through one protocol into one harness, so answers, tool calls, permission
prompts and history behave the same whichever model you pick, and you can
change it mid-thread.

[Codex, Claude and Gemini answer in turn in one Endo thread, then Settings → Models shows each provider's plan usage.](https://github.com/longsurf-ai/endo/blob/main/demo/media/feature-agents.gif)

### Workflows that compose anything

A workflow is a TypeScript file in your workspace. `agent()` calls any model
from any provider, `parallel()` fans calls out, `phase()` groups them, and a
session ID continues an earlier agent's conversation. Run one from chat and the
Workflow card shows every call as it happens. `/best-of-n`,
`/multi-turn-debate`, `/thesis-killer` and `/hypothesis-race` ship as
workflows, and schedules run any prompt later, on a cron or once.

[A workspace workflow drafts with Codex, Claude and Gemini in parallel, then Claude reviews; the Workflow card shows each call and the final answer.](https://github.com/longsurf-ai/endo/blob/main/demo/media/feature-workflow.gif)

### Dig in, one thread, persistent memory

Select any part of an answer and Dig In: a focused conversation opens beside
the thread, and the main thread stays clean. Sessions, runs and Dig Ins persist
on your machine, so after a restart every thread and branch is still there, and
any agent can pick up where another left off.

[Selecting text and choosing Dig in opens a side conversation; after Endo restarts, the thread and its Dig In return and Claude continues where Gemini left off.](https://github.com/longsurf-ai/endo/blob/main/demo/media/feature-dig-in.gif)

## Building on it

- Add user data as a Resource: define it once, as a Drizzle table and an Effect
  Schema, and get a typed API, agent tools and live updates, so people and
  agents change the same state under the same rules. See
  [Adding a Resource](https://github.com/longsurf-ai/endo/blob/main/docs/architecture/resource.md#adding-a-resource).
- Add an agent tool in `server/agent/tool/tools/` and register it in
  `server/agent/tool/registry.ts` and `server/agent/profiles/builtin.ts`.
- Change the agent's instructions in `server/agent/profiles/prompt/segments/`.
- Add a page under `app/src/app/` and a feature under `app/src/features/`.
- Build and publish a signed Mac release with the
  [release guide](https://github.com/longsurf-ai/endo/blob/main/docs/operations/desktop-release.md).

See the [development guide](https://github.com/longsurf-ai/endo/blob/main/docs/development.md) and the
[code organization guide](https://github.com/longsurf-ai/endo/blob/main/docs/architecture/code-organization.md). Endo is at
0.1.x, so expect breaking changes.

## Staying updated

[Star Endo](https://github.com/longsurf-ai/endo) to follow releases and help more
people discover it.

[A cursor clicks Star on the Endo GitHub repository, changing it to Starred.](https://github.com/longsurf-ai/endo)

## License

[MIT](https://github.com/longsurf-ai/endo/blob/main/LICENSE)

## Credits

Endo began as the core of [OpenChart](https://github.com/longsurf-ai/openchart).
It credits [Jan](https://www.jan.ai/) for the app's design and visual style,
[OpenCode](https://opencode.ai/) and [Effect](https://effect.website/),
[assistant-ui](https://www.assistant-ui.com/) and [AG-UI](https://docs.ag-ui.com/introduction),
and [shadcn/ui](https://ui.shadcn.com/docs), [Radix UI](https://www.radix-ui.com/primitives),
and [Base UI](https://base-ui.com/).
Warren9360
🟧 echo.github ⭐Endo – A Higher-Order Harness (HOH). Compose any agent on your subscription into any workflow. Switch between Codex, Claude Code, Antigravitlongsurf-ai (Warren93)——

Interpretation history

Decision trace