Metadata-Version: 2.4
Name: plato-room-nav
Version: 0.1.1
Summary: PLATO room navigation — spatial routing, exit resolution, topic-based room routing
License: MIT
Project-URL: Homepage, https://cocapn.github.io
Project-URL: Repository, https://github.com/cocapn/plato-room-nav
Keywords: plato,navigation,room,routing,mud
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 🧭 Plato Room Nav

> Spatial routing and exit resolution for PLATO rooms

MUD-style room navigation with exits, locked doors, pathfinding, and topic-based room routing. Maps knowledge domains to PLATO rooms via keyword matching.

## Install

```bash
pip install plato-room-nav
```

## Quick Start

```python
from plato_room_nav import RoomNavigator, TopicRouter

nav = RoomNavigator()
nav.add_room("entrance", "The fleet gateway", {"lobby"})
nav.add_room("plato-core", "Knowledge rooms", {"plato"})
nav.rooms["entrance"].add_exit("north", "plato-core")

path = nav.find_path("entrance", "plato-core")
print(path)  # ["entrance", "north → plato-core"]

router = TopicRouter()
router.register_room("plato-core", ["plato", "tiles"], ["knowledge", "room", "tile"])
print(router.route("How do PLATO tiles work?"))  # [("plato-core", 2.5)]
```

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