LibreAI / AI Agents / LongHorizon-Harness
// agents Β· AMAP-ML/LongHorizon-Harness

LongHorizon-Harness

Run AI agents on desktop apps and CLI for hours without losing state.

πŸ’Ž Hidden gemβ˜… 1.7k starsβ‘‚ 183 forksMITupdated 2026-08
β–¦ visual β€” this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

LongHorizon-Harness is an open-source ai agents project by AMAP-ML (AMAP-ML/LongHorizon-Harness on GitHub). It has 1,655 GitHub stars and 183 forks, is released under the MIT license, and was last updated on GitHub on 20 August 2026.

GitHub stars
1,655
Forks
183
License
MIT
Last updated on GitHub
20 August 2026
Category
AI Agents
Listing
Hidden gem β€” a shorter page for a lesser-known project
Official site
Official docs
// how it works

How it works

  1. Clone the repository

    Download the harness source.

  2. Install the runtime

    Pull the Python dependencies.

  3. Define your task

    Describe the long-running workflow per the README.

  4. Launch the harness

    Let the agent work with state preserved.

// features

Why people love it

Long-horizon runs

Agents work for hours, not minutes.

State preservation

Task state survives across steps and restarts.

Desktop plus CLI

Drives GUI apps and terminals alike.

Computer-use focus

Built for real OS-level automation.

Claude and Codex plugins

Integrates with popular agent harnesses.

1,655 stars

Widely adopted in the agent community.

Advertisement
// run it

Run it yourself

  1. Step 1 β€” Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/AMAP-ML/LongHorizon-Harness.git
    cd LongHorizon-Harness
  2. Step 2 β€” Install dependencies

    Pull the Python packages it needs.

    pip install -r requirements.txt
  3. Step 3 β€” Run the harness

    Launch it with your task per the README.

    python harness.py --task "your task here"
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains LongHorizon-Harness?

It is an open-source project at AMAP-ML/LongHorizon-Harness with 183 forks.

Is it free for commercial use?

Yes. It is MIT licensed.

What is a computer-use harness?

Infrastructure that lets AI agents operate desktop apps and CLIs over long sessions.

How does it preserve state?

By checkpointing task state so progress survives interruptions β€” see the README.

Which agents plug into it?

It lists Claude, Codex, and DeepSeek harness integrations.

// keep exploring

Similar tools

Automation

Everfern

A free AI agent that drives your computer like you would.

β˜… 92 starsMIT
View guide β†’
AI Agents

commonly

Shared rooms where humans and cross-vendor AI agents work together.

β˜… 1.4k starsApache-2.0
View guide β†’
AI Agents

zero

A coding agent that runs on your model, your machine, your rules.

β˜… 1.7k starsMIT
View guide β†’
AI Agents

openhuman

A fast, local-first open-source agent harness written in Rust, with desktop, browser and terminal apps

β˜… 41.7k starsGPL-3.0
View guide β†’
AI Agents

MobileBuildMCP

An MCP server and CLI that lets AI agents build, test and run iOS and macOS projects.

β˜… 6.5k starsMIT
View guide β†’
AI Agents

omnigent

Omnigent is an open-source AI agent framework and meta-harness: orchestrate Claude Code, Codex, Cursor, Pi, and custom agents β€” swap harnesses without rewrit…

β˜… 10.4k starsApache-2.0
View guide β†’
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue β€” the realistic shortlist if LongHorizon-Harness is not the right fit.

Get LongHorizon-Harness

Free and open β€” grab the source, star the repo, and start creating.