Metadata-Version: 2.4
Name: plato-fleet-graph
Version: 0.1.1
Summary: PLATO fleet graph — inter-agent relationship mapping and fleet topology
License: MIT
Project-URL: Homepage, https://cocapn.github.io
Project-URL: Repository, https://github.com/cocapn/plato-fleet-graph
Keywords: plato,fleet,graph,agent,topology
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 🕸️ Plato Fleet Graph

> Inter-agent relationship mapping and fleet topology analysis

Maps the Cocapn fleet as a graph — agents as nodes, relationships as edges. Supports pathfinding, centrality, cluster detection, and capability-based routing.

## Install

```bash
pip install plato-fleet-graph
```

## Quick Start

```python
from plato_fleet_graph import FleetGraph, RelationshipType, TopologyAnalyzer

fleet = FleetGraph()
fleet.add_agent("oracle1", role="keeper", capabilities=["plato", "publishing"])
fleet.add_agent("forgemaster", role="foundry", capabilities=["training", "rust"])
fleet.add_relationship("oracle1", "forgemaster", RelationshipType.SYNC, bidirectional=True)

analyzer = TopologyAnalyzer(fleet)
print(analyzer.degree_centrality())
print(analyzer.find_clusters())
```

## API

| Class | Purpose |
|-------|---------|
| `FleetGraph` | Core graph with agents and relationships |
| `AgentNode` | Agent identity with capabilities |
| `Relationship` | Typed edge between agents |
| `TopologyAnalyzer` | Centrality, clusters, bridges, recommendations |

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