{"id":16064773,"url":"https://github.com/psichix/emergent","last_synced_at":"2025-04-24T04:10:20.518Z","repository":{"id":57624779,"uuid":"181006889","full_name":"PsichiX/emergent","owner":"PsichiX","description":"Toolset for producing emergent gameplay for games written in Rust","archived":false,"fork":false,"pushed_at":"2024-01-08T01:57:02.000Z","size":2936,"stargazers_count":83,"open_issues_count":2,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-24T04:09:48.969Z","etag":null,"topics":["artificial-intelligence","game-development","rust-crate"],"latest_commit_sha":null,"homepage":"https://psichix.github.io/emergent/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PsichiX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-04-12T12:47:46.000Z","updated_at":"2025-04-20T04:57:48.000Z","dependencies_parsed_at":"2025-01-09T16:54:21.460Z","dependency_job_id":"7b6c3d4f-529f-4515-a32e-172c2871754d","html_url":"https://github.com/PsichiX/emergent","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"063cfd4b176950fcceef7fb0b04184842339a2e9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsichiX%2Femergent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsichiX%2Femergent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsichiX%2Femergent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsichiX%2Femergent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PsichiX","download_url":"https://codeload.github.com/PsichiX/emergent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250560053,"owners_count":21450172,"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":["artificial-intelligence","game-development","rust-crate"],"created_at":"2024-10-09T05:09:30.254Z","updated_at":"2025-04-24T04:10:20.483Z","avatar_url":"https://github.com/PsichiX.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Emergent AI\n[![Crates.io](https://img.shields.io/crates/v/emergent.svg)](https://crates.io/crates/emergent)[![Docs.rs](https://docs.rs/emergent/badge.svg)](https://docs.rs/emergent)\n\n__*Toolset for producing emergent gameplay for games written in Rust*__\n\n## About\nEmergent AI library is a set of modular building blocks to use for building smart\nagents, events and anything you want. The goal of this library is to generalize\nmost well-known modern AI techniques into smaller units that when put together\ncan produce smart behaviors of agents and game world itself.\n\nWhen we focused on turning parts of modern AI systems into building blocks, we\nend up with these decision makers:\n- __Machinery__ - Finite State Machine (or simply network of states connected by\n  conditions to met for jumps to happen).\n- __Reasoner__ - Utility AI agent (that scores each state and selects one with\n  the highest score).\n- __Planner__ - Goal Oriented Action Planning agent (finds the best path through\n  all possible actions for goal selected by another decision maker assigned into\n  this planner).\n- __Sequencer__ - Goes through states (ones that are possible to run) in a sequence.\n- __Selector__ - Selects only one state from list of possible states to run.\n- __Parallelizer__ - Runs all states (that are possible to run) at the same time.\n\nThis modularity gives more power to the user, it allows user to build hierarchies\nof different decision makers to build the exact behavior user wants without\nputting limits on what is achievable!\n\n### Read more about all the concepts in the documentation\n\n[https://docs.rs/emergent](https://docs.rs/emergent)\n\n### Read about developing your own AI systems in the book\n\n[https://psichix.github.io/emergent/](https://psichix.github.io/emergent/)\n\n## Media\n\n#### Utility AI:\n![Utility AI](./media/utility-ai.gif)\n\n## Roadmap\n- [ ] Create a small demo project to showcase the usage of this library.\n- [ ] Write a book describing how AI works in details and how to develop AI for games.\n- [ ] Research adding support for evolution-based neural networks?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsichix%2Femergent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsichix%2Femergent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsichix%2Femergent/lists"}