bevy_agent_core
Deterministic simulation primitives for agent-controlled Bevy games.
Part of bevy-agent. Requires Bevy 0.18.1 and Rust 1.91+. Version 0.0.2 is experimental; pin all companion crates to the same exact version.
[]
= "=0.0.2"
What this crate provides
AgentControlPluginand the reset, decision, tick, and finalization schedules.AgentAction,AgentActionQueue, andCurrentInputFramefor explicit input.SimClockandDeterministicRngfor simulation timing and seeded randomness.- Observation, reward, terminal-state, stable-identity, and checksum types.
AgentControlAppExtfor metadata, action catalogs, schemas, and extractors.
Run authoritative gameplay in AgentTick, consume domain actions, and read SimClock instead of frame time. A game must declare its supported actions and observation modes and install both observation and checksum extractors. Determinism depends on the game's state coverage and system ordering.
For a complete environment, start with bevy_agent_runner::AgentControlPlugins and AgentApp; the runner composes core, snapshots, and replay.
Next steps
Read the guide for an organized walkthrough, examples, and troubleshooting.
Licensed under MIT OR Apache-2.0, at your option.