Skip to main content

Nexus AI Harness

Build LLM agents by composing the pieces you want.

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

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.1

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.1
File Size Uploaded
nexus_ai_harness-0.1.1.tar.gz 232.1 kB Details

Built distribution (wheel)

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

Total release size: 347.9 kB

Release files / nexus_ai_harness-0.1.1.tar.gz

Download URL nexus_ai_harness-0.1.1.tar.gz
Size 232.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1076ff8e1c4856889b49f591a215997c60d74469035d58fa149f950cbd51e2b2
BLAKE2b-256 checksum
How to use checksums
50dfa0c917c802a0b60fe7b7cd1281c4d3cd3c1dcf6ae9535fc8d32ee3f08745
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 Sep 28, 2026.

Transparency log

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

Download URL nexus_ai_harness-0.1.1-py3-none-any.whl
Size 115.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa8610d45fc8deb89e931560c5eb45568155e72933afcee83b8d18961859c448
BLAKE2b-256 checksum
How to use checksums
a66703e8dbe6e3ff5f7cf9dd0afbe8bbe9ff14f7eb622e890b8f3d077b8b02cf
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 Sep 28, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

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