{"data":{"kind":"file","path":"README.md","version_id":"x1tquagme67gw80g02hq5obp","entry":{"name":"README.md","path":"README.md","is_directory":false,"size":1549,"modified_at":"2025-09-08T02:48:05.732000","content_hash":"375793159529790acfca5fb70909938af5b3a39c916562b7c7d5211028f0dd1f"},"entries":[],"content":"Diplomacy Environment (Prototype)\n================================\n\nOverview\n- Board‑centric Diplomacy prototype focused on negotiation phases, trust dynamics, and simplified order resolution. Ideal for generating strategic dialog data and experimenting with alliance/betrayal mechanics.\n\nKey Features\n- Phases: Spring/Fall diplomacy and orders; Winter builds (simplified)\n- Multi‑agent state: 7 Great Powers, supply centers, messages, trust matrix\n- Rewards: Encourages cooperation integrity, penalizes betrayals; survival/centers bonuses\n- Prompts: Rich, per‑power prompts including recent messages and trust levels\n\nQuick Start\n- Requirements: Python 3.11+ and `verifiers` (`uv add verifiers` or `pip install verifiers`)\n- Demo: `python run_diplomacy_demo.py` (interactive, terminal)\n- Library usage:\n  - `from diplomacy_environment import DiplomacyEnvironment`\n  - `env = DiplomacyEnvironment(max_years=5, enable_press=True)`\n  - `prompt = env.get_prompt(\"Austria\")`\n\nFiles\n- `diplomacy_environment.py`: Core environment (phases, orders, trust, rewards)\n- `run_diplomacy_demo.py`: Personalities + phase flow demo\n- `PLAN.md`: Project notes and roadmap\n- `setup_diplomacy_env.sh`: Developer utility for packaging (optional)\n\nRoadmap\n- Integrate a proper rules engine (e.g., python‑diplomacy) for realistic orders\n- Bridge prototype mechanics into a verifiers package when ready\n- Add visualizations (board/trust over time) and richer persona templates\n\nSecurity\n- No API keys required or embedded here. Avoid committing any `.env` files.\n","encoding":"utf-8","truncated":false,"total_bytes":1549},"status":null}