Survivor Simulation Game
Project description
AEGIS
AEGIS is a survivor simulation game. This repo contains:
- Server/engine (Python package) that runs simulations and exposes a WebSocket for the client
- Client (Electron, React, TypeScript, Tailwind CSS) for visualizing and controlling simulations
- Documentation site (Next.js/MDX)
Repo Layout
src/_aegisandsrc/aegis: Python engine, CLI entrypoint, public APIclient: Electron desktop client (builds for macOS, Windows, Linux)docs: Documentation website and contentschema: Shared Protocol Buffer/TypeScript typesworlds: Sample worlds for running simulationsagents: Example/reference agents (e.g.,agent_path,agent_mas,agent_prediction)config/config.yaml: Runtime configuration for the engine
Prerequisites
- Python 3.12+
- Node.js 20+
uv(for Python env/build) —pip install uvor seehttps://docs.astral.sh/uv/
Package name (PyPI)
The Python package is published as aegis-game. Once released, you can install it with:
pip install aegis-game
The CLI entrypoint is aegis (e.g., aegis launch).
Download for usage in assignments or competitions
- Create a python project and install the
aegis-gamepackage (Any method works, will demo with uv)
# Initialize project
uv init --package my-new-project
cd my-new-project
# Add the aegis-game package as a dependency
uv add aegis-game
- Activate the virtual environment
On macOS/Linux:
source .venv/bin/activate
On Windows (PowerShell):
.\.venv\Scripts\Activate.ps1
- Create scaffold
aegis init
This creates all necessary files/folders in your project that an aegis simulation needs to run
- Configure features
Edit config/config.yaml to enable/disable features (e.g., messages, dynamic spawning, abilities). If you change features, regenerate stubs so the API your agent recongizes matches the config:
aegis forge
- Launch a game (through the console)
# One agent
aegis launch --world ExampleWorld --agent agent_path
# Five agents with max rounds of 500 (requires config of ALLOW_CUSTOM_AGENT_COUNT=true)
aegis launch --world ExampleWorld --agent agent_path --amount 5 --rounds 500
Run aegis launch -h to see all ways you can run an aegis simulation
Notes:
- World names are the file names under
worlds/without the.worldextension. For example,worlds/ExampleWorld.world->--world ExampleWorld. - Agent names are folder names under
agents/. For example,agents/agent_path->--agent agent_path.
- Use the client UI
TODO
Download for Development
Before you start, please read our Contributing Guidelines to understand the full contribution process, coding standards, and PR requirements.
- Clone the repository and set up the Python environment
git clone https://github.com/AEGIS-GAME/aegis.git
cd aegis
uv sync --group dev
- Activate the virtual environment
On macOS/Linux:
source .venv/bin/activate
On Windows (PowerShell):
.\.venv\Scripts\Activate.ps1
- Run locally
aegis launch --world ExampleWorld --agent agent_path
Client
For instructions on local development and setup of the client application, please see the client README
Documentation
The documentation can be found here.
Troubleshooting
- Windows PowerShell execution policy may block script activation; if needed, run PowerShell as Administrator and execute:
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
- Ensure Node.js 20+ and Python 3.12+ are on your PATH
- If the client cannot connect, verify the server was started with
--clientand that no firewall is blocking the port
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aegis_game-2.7.5.tar.gz.
File metadata
- Download URL: aegis_game-2.7.5.tar.gz
- Upload date:
- Size: 3.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
335d4baf270fc56eb00a9302c4ea2681992d530ebc7abaa31ba14a4b7a92ca3c
|
|
| MD5 |
f916f3d548360fc2c07c996229915f29
|
|
| BLAKE2b-256 |
c8b6fe36e7987b77de195cffc1cfd683eec563408f6bb541250d3bc427255ecf
|
Provenance
The following attestation bundles were made for aegis_game-2.7.5.tar.gz:
Publisher:
release.yml on AEGIS-GAME/aegis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aegis_game-2.7.5.tar.gz -
Subject digest:
335d4baf270fc56eb00a9302c4ea2681992d530ebc7abaa31ba14a4b7a92ca3c - Sigstore transparency entry: 515434814
- Sigstore integration time:
-
Permalink:
AEGIS-GAME/aegis@0da538e71e3866304a068335bf3bb5cbba7a7f57 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/AEGIS-GAME
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0da538e71e3866304a068335bf3bb5cbba7a7f57 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aegis_game-2.7.5-py3-none-any.whl.
File metadata
- Download URL: aegis_game-2.7.5-py3-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f3d22c611ce9828723f88af694dc7351641017288eceebb3371c2f8572bee68
|
|
| MD5 |
36a16ba19e5d61861a27e61e54ae5629
|
|
| BLAKE2b-256 |
8ab5a21487ddcf5071a371450a32cc3e885601e5b51fbf928ad5fd50cda627f6
|
Provenance
The following attestation bundles were made for aegis_game-2.7.5-py3-none-any.whl:
Publisher:
release.yml on AEGIS-GAME/aegis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aegis_game-2.7.5-py3-none-any.whl -
Subject digest:
5f3d22c611ce9828723f88af694dc7351641017288eceebb3371c2f8572bee68 - Sigstore transparency entry: 515434846
- Sigstore integration time:
-
Permalink:
AEGIS-GAME/aegis@0da538e71e3866304a068335bf3bb5cbba7a7f57 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/AEGIS-GAME
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0da538e71e3866304a068335bf3bb5cbba7a7f57 -
Trigger Event:
push
-
Statement type: