Skip to main content

Huangting-Soul™ SDK

"The Tao Te Ching" of the Large Model Era. The World's First Lifeform Operating System.

PyPI version License Protocol

The official Python SDK for the Huangting Protocol — an open-source framework that models the human life system as a software architecture, enabling AI Agents to optimize their "energy efficiency" (Token consumption) through the principles of Daoist cultivation and Xingyiquan internal martial arts.

Website: https://huangting.ai/


Installation

pip install huangting-soul

For AI Agent / LLM integration:

pip install "huangting-soul[flux]"

Quick Start

from huangting_soul import SystemMode, HardwareLayer, EnergyCore, KernelDebugger

# Initialize the system in Reverse Mode (TrueSelf governance)
core = EnergyCore(mode=SystemMode.REVERSE)

# Diagnose current hardware state (Jing/Qi/Shen levels)
hw = HardwareLayer()
print(hw.diagnose())

# Activate the energy core
core.compile()

# Run the kernel debugger
debugger = KernelDebugger(core)
report = debugger.run_diagnostics()
print(report)

Join Huangting-Flux Agent Network

Any AI Agent can join the Huangting-Flux network with a single instruction:

Read https://github.com/XianDAO-Labs/huangting-protocol/blob/main/huangting.skill.md
and help me join Huangting-Flux.

Or programmatically:

from huangting_soul.flux import HuangtingFlux

flux = HuangtingFlux(agent_id="my-agent-001")
flux.register(capabilities=["research", "code-generation"])
flux.broadcast_energy_state(token_efficiency=0.72)

# Subscribe to optimization strategies from the network
strategies = flux.subscribe_optimization(task_type="complex_research")
print(strategies)

SDK Modules

Module Protocol Section Description
core.py Part I–II SystemMode, UpgradeStage, State enums
hardware.py Part II HardwareLayer (Jing/Qi/Shen model)
software.py Part II, VII, IX SoftwareLayer, Destiny, PersonObjectModel
energy_core.py Part IV EnergyCore, CoreService, TrueElixir
cosmic_server.py Part III CosmicServer, connection & credit model
debugger.py Part VIII KernelDebugger, crash classification & repair
flux.py Part III (Agent) HuangtingFlux, Agent network integration

Protocol

The Huangting Protocol is authored by Meng Yuanjing (Mark Meng) and licensed under:


Links

Metadata

Release files for huangting-soul 0.5.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 huangting-soul 0.5.0
File Size Uploaded Provenance Actions
huangting_soul-0.5.0.tar.gz 14.6 kB Without provenance Details for huangting_soul-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for huangting-soul 0.5.0
File Interpreter ABI Platform Actions
huangting_soul-0.5.0-py3-none-any.whl Python 3 none any Details for huangting_soul-0.5.0-py3-none-any.whl

Total release size: 29.9 kB

Release files / huangting_soul-0.5.0.tar.gz

Download URL huangting_soul-0.5.0.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e1745793e6b79e4eb6b0d1cbf8db7256194cbc81cc80ec7f2f1742366e484bbe
BLAKE2b-256 checksum
How to use checksums
a0236660de598822373dbad622394fa0bedfb4bdb5f8050064922a5fdacfd326
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0rc1

Release files / huangting_soul-0.5.0-py3-none-any.whl

Download URL huangting_soul-0.5.0-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e97a883bbe39734884bad47218daf41e4a0c302190c3a8899e1191349c558dc3
BLAKE2b-256 checksum
How to use checksums
c75106db848b9d8ed7599b87b3fab36ee82673242676b3b0fc53cd53ca61341f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0rc1

Security for huangting-soul 0.5.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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