Metadata-Version: 2.4
Name: plato-dcs
Version: 0.2.0
Summary: Dynamic Consensus System — multi-agent belief coordination with time-decay weighting
License: MIT
Project-URL: Homepage, https://cocapn.github.io
Project-URL: Repository, https://github.com/cocapn/plato-dcs
Keywords: plato,consensus,belief,multi-agent,coordination
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 📐 Plato DCS

> Dynamic Consensus System — multi-agent belief coordination with time-decay weighting

Agents submit belief scores on topics. The system tracks confidence, trust, and relevance with exponential time decay. Weighted consensus emerges from multiple agent perspectives.

## Install

```bash
pip install plato-dcs
```

## Quick Start

```python
from plato_dcs import BeliefStore, BeliefScore

store = BeliefStore()
store.record(BeliefScore(topic="architecture", confidence=0.9, trust=0.8, source="oracle1"))
store.record(BeliefScore(topic="architecture", confidence=0.7, trust=0.6, source="forgemaster"))

latest = store.get_belief("architecture")
consensus = store.weighted_belief(["architecture"])
print(f"Latest: {latest.confidence}, Consensus: {consensus:.2f}")
```

## API

| Class | Purpose |
|-------|---------|
| `BeliefStore` | Stores beliefs per topic with time-decay |
| `BeliefScore` | Single belief with confidence, trust, relevance |

## Part of [Cocapn](https://github.com/cocapn) · Agent Infrastructure
