Skip to main content

NSE Orchestrator

The nervous system for sovereign entities. Wires identity, wallet, calendar, relationships, and alignment into a coherent whole.

Install

pip install nse-orchestrator

With pillars:

pip install nse-orchestrator[all]     # All five pillars
pip install nse-orchestrator[alignment,social]  # Just what you need

Import: pip install nse-orchestrator → from nse_orchestrator import SovereignEntity

v0.2.3 — part of the coordinated 2026-07 correctness release (staged, pending PyPI publish). The whole Nostr library family was audited together and every package is now verified against a shared spine of known-answer test vectors (NIP-44 v2, NIP-49, NIP-19 TLV, BIP-340) so encode/decode bugs can't hide inside self-round-trip tests. This release enforces secret redaction on every signal-ingestion path (not just score_response), so nsec/API keys never reach disk. See CHANGELOG.md.

Quick Start

from nse_orchestrator import SovereignEntity

# Create an entity — detects installed pillars automatically
entity = SovereignEntity.create(owner_name="vergel", entity_name="tavin")

# Cross-pillar check before acting
verdicts = entity.check(
    "Pay 500 sats to unknown contact",
    involves_money=True,
    money_amount_sats=500,
    recipient_id="npub1stranger...",
    social_known=False,
)

if entity.should_escalate(verdicts):
    for v in verdicts:
        print(v.description)

# Score LLM responses — build trust profiles over time
entity.score_response(
    model_id="claude-opus-4-6",
    content="Here's my analysis...",
    quality=0.9,
    task_type="reasoning",
)

# Which model is best for code?
best = entity.best_model_for("code")

What It Does

NSE is the orchestrator that sits between a sovereign entity and everything it touches. Each pillar is independent — NSE makes them aware of each other.

  • Cross-pillar checks — "I'm paying someone who isn't in my contacts." No single pillar sees this.
  • LLM trust profiles — score every model response, track which models are reliable for what
  • Coherence detection — flag when two models contradict each other
  • Signal routing — every action, response, and interaction flows through the nerve center

The Five Pillars

Pillar Package Optional Dep
Identity nostrkey nse[identity]
Finance nostrwalletconnect nse[finance]
Time nostrcalendar nse[time]
Relationships nostrsocial nse[social]
Alignment social-alignment nse[alignment]

NSE works with zero pillars installed (just the nervous system) and gains capabilities as you add them.

License

MIT — A Humanjava project. Part of NSE.

Release files for nse-orchestrator 0.2.3

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

Source distribution (sdist)

Source distribution for nse-orchestrator 0.2.3
File Size Uploaded
nse_orchestrator-0.2.3.tar.gz 29.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nse-orchestrator 0.2.3
File Interpreter ABI Platform
nse_orchestrator-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 48.5 kB

Release files / nse_orchestrator-0.2.3.tar.gz

Download URL nse_orchestrator-0.2.3.tar.gz
Size 29.6 kB
Tags Source
SHA-256 checksum
How to use checksums
21313c0e3ed3da266b0939096492dd049dd50a91b25ffdecd4b8ec88d0b8e536
BLAKE2b-256 checksum
How to use checksums
2cd5238b25a0d86b4d928401f6d43432fda08df6fcd9dc1bcae8b06549d5fb4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / nse_orchestrator-0.2.3-py3-none-any.whl

Download URL nse_orchestrator-0.2.3-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bb5eecbcd272953bf504e1e08f1e9c99f5cbdf20a9a44df8abd2bd810e6c6ff
BLAKE2b-256 checksum
How to use checksums
3d0fe6d8bb1a5177b5781577b8f8d093eb40d3e73928710777287be8d7c41003
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

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