Skip to main content

LinguaClaw

arXiv CI Release License: MIT

A Claude-Code-style agent harness implemented mostly in natural language: LiteLLM at the model boundary, one bash tool at the action boundary, and reusable harnesses everywhere else.

LinguaClaw is the open-source implementation and continuation of the Natural-Language Agent Harnesses (NLAH) line of work. We are building it as a natural-language implementation of the Claude Code idea: a very thin runtime, a strong runtime policy, and most behavior expressed as reusable markdown modules instead of framework glue code.

Paper: Natural-Language Agent Harnesses Reproduction guide (WIP): How to Reproduce the NLAH Paper Results

What We Are Open-Sourcing

The broader LinguaClaw open-source effort is organized around three connected layers:

  1. The runtime itself together with reusable natural-language harnesses.
  2. An experiment platform for testing agents and skills on benchmarks.
  3. A unified interface for running dozens of agents under one consistent contract.

This repository is the public starting point for that effort. The benchmark-facing experiment platform will live in a separate repository; this repository focuses on the runtime, reusable harnesses, and the public package surface.

Why LinguaClaw

Modern agent performance increasingly depends on harness engineering, but harness logic is often hidden inside glue code, runtime defaults, and framework-specific orchestration. LinguaClaw treats harness design as a first-class artifact:

  • Natural-language-first harness logic instead of hard-coded controller bundles.
  • Explicit contracts, roles, artifacts, and stopping conditions.
  • A shared runtime that can interpret reusable harness modules.
  • A path toward more modular benchmarking, comparison, and customization.

In practice, we care about harnesses that can coordinate subagents, memory, compression, verification, and task-specific procedures without freezing every decision into handwritten controller code.

Current Status

The public runtime is intentionally small and already runnable. It assembles a prompt stack from the runtime policy plus selected harnesses, calls LiteLLM, dispatches one native bash tool, records the message history, and automatically compresses context once the prompt reaches roughly 80% of the model window.

Getting Started

uv tool install git+https://github.com/curated-skills/NLAH.git
linguaclaw --version

For local development, clone the repository and install it in editable mode:

git clone https://github.com/curated-skills/NLAH.git
cd LinguaClaw
uv venv
source .venv/bin/activate
uv pip install -e .[dev]

Copy the environment template and fill in the provider credentials you need:

cp .env.template .env

Then a minimal run looks like:

linguaclaw run \
  --harness trae-agent \
  --task-file task.md \
  --model gpt-5.4-mini

Or pass the task inline:

linguaclaw run \
  --harness trae-agent \
  --prompt "Inspect the repository and explain the runtime entrypoint." \
  --model gpt-5.4-mini

--harness usually points at a complete harness under harnesses/artifacts/. If you want a lighter custom stack, it can also point at reusable modules under harnesses/modules/ or at a direct SKILL.md path. Passing it multiple times is how you compose those layers.

Contributing

See CONTRIBUTING.md.

This project is intentionally friendly to natural-language-first development. Traditional unit tests are welcome when they fit, but behavior reports, demo artifacts, and trajectory-based evidence are often more informative for harness changes.

Architecture And Roadmap

The short version is simple: this repository ships a thin runtime built around LiteLLM + one bash tool + minimal run state + reusable markdown harnesses. Benchmark orchestration and large-scale experiment plumbing will stay in a separate repository.

Acknowledgements

Special thanks to Ronak Shah for the public signal boost and the broader discussion around harness engineering that helped motivate this project.

Metadata

Release files for linguaclaw 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for linguaclaw 0.1.0
File Size Uploaded
linguaclaw-0.1.0.tar.gz 64.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for linguaclaw 0.1.0
File Interpreter ABI Platform
linguaclaw-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 135.1 kB

Release files / linguaclaw-0.1.0.tar.gz

Download URL linguaclaw-0.1.0.tar.gz
Size 64.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0679bb4428f58cae3f7a99af217be25e33af4be96b4da115181d8916d4d6619e
BLAKE2b-256 checksum
How to use checksums
498e01dcff945e4f8e19d9a760a4e7d8dad7619738f98699b4fdcc0f31746004
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / linguaclaw-0.1.0-py3-none-any.whl

Download URL linguaclaw-0.1.0-py3-none-any.whl
Size 71.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccaf46735d8e3b996f5db2fd942f7fe5dec7e7859fc8d14c9a2957cc8dad4016
BLAKE2b-256 checksum
How to use checksums
50df99edc54bad5e3dabb876fa6f0f2c76f2347bc19f850c203be5b64cd990dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page