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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nse_orchestrator-0.2.3.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nse_orchestrator-0.2.3-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file nse_orchestrator-0.2.3.tar.gz.

File metadata

  • Download URL: nse_orchestrator-0.2.3.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nse_orchestrator-0.2.3.tar.gz
Algorithm Hash digest
SHA256 21313c0e3ed3da266b0939096492dd049dd50a91b25ffdecd4b8ec88d0b8e536
MD5 f3bf17679041f05414b915ff82cfdb9d
BLAKE2b-256 2cd5238b25a0d86b4d928401f6d43432fda08df6fcd9dc1bcae8b06549d5fb4d

See more details on using hashes here.

File details

Details for the file nse_orchestrator-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nse_orchestrator-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7bb5eecbcd272953bf504e1e08f1e9c99f5cbdf20a9a44df8abd2bd810e6c6ff
MD5 e535ab70dc60f7ccacb6850f95538610
BLAKE2b-256 3d0fe6d8bb1a5177b5781577b8f8d093eb40d3e73928710777287be8d7c41003

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page