mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-27 04:20:09 +00:00
Run ruff check --fix and ruff format across the repo to fix ~495 auto-fixable lint errors (mostly I001 import sorting) and reformat 225 files to match the py312 target. Co-authored-by: Hanzo Dev <[email protected]>
24 lines
451 B
Python
24 lines
451 B
Python
"""Metastable consensus protocol.
|
|
|
|
Two-phase finality for multi-agent agreement.
|
|
|
|
Reference: https://github.com/luxfi/consensus
|
|
"""
|
|
|
|
from .mcp_mesh import MCPMesh, MCPAgent, create_mesh, run_mcp_consensus
|
|
from .consensus import State, Result, Consensus, run
|
|
|
|
__all__ = [
|
|
# Core
|
|
"Consensus",
|
|
"State",
|
|
"Result",
|
|
"run",
|
|
# MCP Mesh
|
|
"MCPMesh",
|
|
"MCPAgent",
|
|
"run_mcp_consensus",
|
|
"create_mesh",
|
|
]
|
|
__version__ = "0.1.0"
|