Skip to main content

Future state projection and alignment for sovereign AI agents — the fifth pillar of the NSE platform

Project description

social-alignment

Future state projection and alignment for sovereign AI agents. The fifth pillar of the NSE platform.

Install

pip install social-alignment

Quick Start

from social_alignment import AlignmentEnclave, ActionDomain

# Create the enclave — the agent gets its compass
enclave = AlignmentEnclave.create(owner_npub="npub1...", owner_name="vergel")

# Before any significant action, check the yellow line
result = enclave.check(
    domain=ActionDomain.PAY,
    description="Pay 500 sats for relay hosting",
    involves_money=True,
    money_amount_sats=500,
)

if result.should_proceed:
    # Do the thing, then record it
    do_payment()
    enclave.record_proceeded()
elif result.should_escalate:
    # Ask the human
    send_to_owner(result.escalation.message_to_owner)
    enclave.record_deferred()

The Five Lenses

Every decision passes through five lenses — the yellow line compass:

  1. Builder — Can I build with confidence knowing I've done right?
  2. Owner — Does this protect the human's sovereignty?
  3. Partnership — Does this strengthen the trust between us?
  4. Defense — Does this make an adversary's job harder?
  5. Sovereign — Does this help the agent become something we're proud of?

License

MIT — A Humanjava project.

Project details


Download files

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

Source Distribution

social_alignment-0.1.1.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

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

social_alignment-0.1.1-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file social_alignment-0.1.1.tar.gz.

File metadata

  • Download URL: social_alignment-0.1.1.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for social_alignment-0.1.1.tar.gz
Algorithm Hash digest
SHA256 92e77a85180a3d82ca0c955b41f0c1cff9726fd7b3d10323df6819a8c4d85e06
MD5 daaabd20695751a028f3d355797a45db
BLAKE2b-256 6ef88530d260bc8d0d46bcda4a9815e38525a22b465c46cbfa042693dccc57de

See more details on using hashes here.

File details

Details for the file social_alignment-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for social_alignment-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa3b43b9a258fb7a5d2b4e0dc88dc4932ed25511fb9c4c2f5c109c9fd29f97f5
MD5 4915371341a98d2bc97d9a2b33a4d0c9
BLAKE2b-256 ef94ac83ed2527ab38d8c21fd0e599afb91adf265f1a8632365323b72c4c2691

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