{"id":29100319,"url":"https://github.com/lightinn/protopolis","last_synced_at":"2025-06-28T18:01:48.523Z","repository":{"id":280072483,"uuid":"937702213","full_name":"LightInn/protopolis","owner":"LightInn","description":"A multi-agent Ollama simulation in Rust ","archived":false,"fork":false,"pushed_at":"2025-06-24T14:09:07.000Z","size":9655,"stargazers_count":7,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T06:34:04.260Z","etag":null,"topics":["multi-agent-systems","ollama-app","rust","simulation"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LightInn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-23T17:45:04.000Z","updated_at":"2025-05-27T21:20:17.000Z","dependencies_parsed_at":"2025-06-28T18:01:32.159Z","dependency_job_id":null,"html_url":"https://github.com/LightInn/protopolis","commit_stats":null,"previous_names":["lightinn/protopolis"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/LightInn/protopolis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightInn%2Fprotopolis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightInn%2Fprotopolis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightInn%2Fprotopolis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightInn%2Fprotopolis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LightInn","download_url":"https://codeload.github.com/LightInn/protopolis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightInn%2Fprotopolis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262473776,"owners_count":23316887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["multi-agent-systems","ollama-app","rust","simulation"],"created_at":"2025-06-28T18:01:07.871Z","updated_at":"2025-06-28T18:01:48.511Z","avatar_url":"https://github.com/LightInn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 Protopolis\r\n\r\n**A Rust-based AI multi-agent simulation framework (using Ollama)**\r\n\r\n**Protopolis is a project that allows you to create and simulate interactions between AI agents in a colorful terminal environment. Agents can communicate with each other and with the user according to different states and energy levels.**\r\n\r\n[![Build Status](https://img.shields.io/github/actions/workflow/status/LightInn/protopolis/release.yml?style=for-the-badge)](https://github.com/LightInn/protopolis/actions)\r\n[![Crates.io](https://img.shields.io/crates/v/protopolis?style=for-the-badge)](https://crates.io/crates/protopolis)\r\n[![License](https://img.shields.io/badge/license-MIT-blue?style=for-the-badge)](https://github.com/LightInn/protopolis)\r\n[![Downloads](https://img.shields.io/crates/d/protopolis?style=for-the-badge)](https://crates.io/crates/protopolis)\r\n\r\n\u003cp align=\"center\"\u003e \r\n  \u003cimg src=\"showcase/demo.gif\" width=\"800\" alt=\"Agents discussing philosophy\"\u003e \r\n\u003c/p\u003e \r\n\r\n\u003e **⚠️ Warning:** This project is a work in progress (WIP) and will have frequent updates that may break various features.\r\n\r\n## 📋 Features\r\n\r\n- **🧠 Agent Simulation** with different states (Idle, Thinking, Speaking)\r\n- **💬 Messaging System** between agents and with the user\r\n- **🌈 Colorful Terminal Interface** for better visualization\r\n- **⚡ Energy Management** for agents\r\n- **🔄 Simple Commands** to control the simulation\r\n\r\n## 🛠️ Installation\r\n\r\n\u003e **⚠️ Note:** Make sure to have [Ollama](https://ollama.ai) installed with the `llama3.2` model before continuing.\r\n\r\n```bash\r\ngit clone https://github.com/LightInn/protopolis\r\ncd protopolis\r\ncargo build --release\r\n```\r\n\r\n## 🎮 Usage\r\n\r\nTo start the simulation:\r\n\r\n```bash\r\ncargo run --release\r\n```\r\n\r\n### Available Commands\r\n\r\n- `start` - Start the simulation\r\n- `pause` - Pause the simulation\r\n- `resume` - Resume the simulation\r\n- `stop` - Stop the simulation\r\n- `exit` - Exit the application\r\n- `topic \u003csubject\u003e` - Set a new discussion topic\r\n- `msg \u003cagent\u003e \u003cmessage\u003e` - Send a message to a specific agent\r\n\r\n## 🏗️ Architecture\r\n\r\nThe project is built around several key components:\r\n\r\n- **Agents** - Entities with states and behaviors\r\n- **Messaging System** - Asynchronous communication between agents\r\n- **User Interface** - Colorful display in the terminal\r\n- **Simulation** - Orchestration of interactions\r\n\r\n## 🗺️ Roadmap\r\n\r\n- [x] Basic terminal interface\r\n- [x] Color system for agents\r\n- [x] Communication between agents\r\n- [ ] More complex agent personalities\r\n- [ ] Save/load simulations\r\n- [ ] Graphical visualization of interactions\r\n\r\n## 🤝 Contribution\r\n\r\nContributions are welcome! Feel free to open an issue or a pull request.\r\n\r\n## 📚 Inspired By\r\n\r\n- [TyniTroupe](https://github.com/microsoft/TinyTroupe) - LLM-powered multiagent persona simulation\r\n\r\n## 🔌 Powered By\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"https://ollama.ai/public/ollama.png\" width=\"200\" alt=\"Ollama\"\u003e\r\n  \u003cbr\u003e\r\n  \u003ca href=\"https://ollama.ai\"\u003eOllama\u003c/a\u003e - Local LLM runner\r\n\u003c/p\u003e\r\n\r\n## License\r\n\r\nMIT © 2025 Breval LE FLOCH","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightinn%2Fprotopolis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightinn%2Fprotopolis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightinn%2Fprotopolis/lists"}