Skip to main content

Nexus AI Harness

Build LLM agents by composing the pieces you want.

Every part of an agent is a plugin: the loop, model, memory, tools, permissions, subagents, and more. You pick the plugins you need and register them on a harness, and you can swap any piece without touching the rest.

Why Nexus AI Harness?

  • Start in one line. A batteries-included harness gives you a working agent right away.
  • Compose, don't configure. Build an agent by adding the plugins you want.
  • Swap any part. Change the model, memory, or tools without rewriting the rest.
  • Many models, one interface. Anthropic, OpenAI, Gemini, Bedrock, and more, all called the same way.
  • Extend without forking. Add your own plugin by implementing an interface.
  • Safe by default. Built-in permissions, sandboxing, and spend and time limits.
  • Ready for real work. Memory, subagents, skills, MCP tools, and session resume come included.

Install

pip install nexus-ai-harness

Set the API key for the model you'll use (copy .env.example to .env and fill it in). For Anthropic that's ANTHROPIC_API_KEY. See Models for other providers.

Usage

Start with the batteries-included harness:

from nexus_ai_harness.plugins import default_harness
from nexus_ai_harness.plugins.models import AnthropicModel

harness = default_harness(AnthropicModel(model="..."))
answer = harness.run_sync("What is 128 * 47?")   # or: await harness.run(...)

Or compose your own:

from nexus_ai_harness.harness import NexusAIHarness
from nexus_ai_harness.plugins.loops import AgenticLoop
from nexus_ai_harness.plugins.models import AnthropicModel

harness = (
    NexusAIHarness()
    .use(AgenticLoop())
    .use(AnthropicModel(model="..."))
    .use(...)                       # add the plugins you want
)

Documentation

See docs/ for the architecture, the plugin guides, and how to write your own plugin.

Contributing

See CONTRIBUTING.md.

License

MIT

Metadata

Release files for nexus-ai-harness 0.1.2

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

Source distribution (sdist)

Source distribution for nexus-ai-harness 0.1.2
File Size Uploaded
nexus_ai_harness-0.1.2.tar.gz 375.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nexus-ai-harness 0.1.2
File Interpreter ABI Platform
nexus_ai_harness-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 563.8 kB

Release files / nexus_ai_harness-0.1.2.tar.gz

Download URL nexus_ai_harness-0.1.2.tar.gz
Size 375.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5f57679de9eb6fedac8542234f546c365fbecb5fc418efab70f8685ab3050a9b
BLAKE2b-256 checksum
How to use checksums
654ff10b3e666fa0fb7258f6da499c82f2374ad31b877e83a6e9a74f6f1b31a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / nexus_ai_harness-0.1.2-py3-none-any.whl

Download URL nexus_ai_harness-0.1.2-py3-none-any.whl
Size 188.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d0758eba38a9ec473d7e386059353fcf1d98b847fe2b593fa1d6c0379494f6e
BLAKE2b-256 checksum
How to use checksums
9bc09129c89bc580e54f033b79a2b35ab4f950b81a5fd448f0464a2f3e03dbe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

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