Catalog PyPI
PACKAGE EXPLORERView in registry

acgs-deliberation

PyPI

ACGS deliberation and HITL orchestration package

Versions collected1
Direct dependencies3From release 0.1.1
Last observed20 Oct, 18:11 UTC

README

Version 0.1.1 documentation

acgs-deliberation

PyPI Python License: AGPL-3.0

Deliberation, HITL orchestration, consensus, and impact routing for ACGS agents.

acgs-deliberation is the extraction-friendly deliberation package for the ACGS runtime. Today it re-exports the stable surface from enhanced_agent_bus.deliberation_layer, so you can start using the standalone import path now without waiting for the full source move.

Installation

acgs-deliberation supports Python 3.11+.

pip install acgs-deliberation

Quick Start

from acgs_deliberation import Vote, VotingService, calculate_message_impact
from enhanced_agent_bus.models import AgentMessage, MessageType, Priority

message = AgentMessage(
    from_agent="planner",
    to_agent="compliance",
    message_type=MessageType.COMMAND,
    priority=Priority.HIGH,
    content={"action": "deploy", "target": "payments"},
)

voting = VotingService(force_in_memory=True)
election_id = await voting.create_election(
    message,
    participants=["security", "risk", "compliance"],
)

await voting.cast_vote(
    election_id,
    Vote(agent_id="security", decision="APPROVE", reason="controls in place"),
)

decision = await voting.get_result(election_id)
impact = calculate_message_impact(message.to_dict(), {"environment": "production"})

Redis-Backed Voting

from acgs_deliberation import get_redis_voting_system

redis_voting = get_redis_voting_system()

Key Features

  • Voting primitives including VotingService, Election, Vote, and VotingStrategy.
  • Event-driven collection via EventDrivenVoteCollector, VoteSession, and VoteEvent.
  • Deliberation queue support with DeliberationQueue and DeliberationTask.
  • Optional Redis-backed queueing and voting primitives for distributed deployments.
  • Impact scoring and GraphRAG context enrichment hooks for review routing.

Package Relationship

  • Install name: acgs-deliberation
  • Import namespace: acgs_deliberation
  • Runtime dependency: enhanced-agent-bus>=3.0.0

License

AGPL-3.0-or-later. Commercial licensing is available; contact hello@acgs.ai.

Constitutional Hash: 608508a9bd224290

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.15 Apr 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

NOT_FOUND
dislovelhl/acgs-deliberation

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:11 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f79c573a9527598f846d3fee3ec984993dc5a5f5b92aba14cea31b50c96da2b6