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.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 nexus-ai-harness 0.1.0
File Size Uploaded
nexus_ai_harness-0.1.0.tar.gz 225.8 kB Details

Built distribution (wheel)

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

Total release size: 341.6 kB

Release files / nexus_ai_harness-0.1.0.tar.gz

Download URL nexus_ai_harness-0.1.0.tar.gz
Size 225.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d54a2502aea52d6313c2580ce1b1c0b90785a4c8e3b7d4dd291847804cb83a86
BLAKE2b-256 checksum
How to use checksums
56aac1b829be6ed8c7d7f5d55ceaf16ab5a829f00bdd1a5d89d7a177d6de9b33
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.0-py3-none-any.whl

Download URL nexus_ai_harness-0.1.0-py3-none-any.whl
Size 115.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78cb94e099c748a6c586ff5bf90f1ce72ef69eb98ddf4decef5a756a73809599
BLAKE2b-256 checksum
How to use checksums
010ca8d4901553260dc0f26e2de86a03626715f99410d4270f12757403bc019d
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

0.1.1

2 release files

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