Skip to content

alexpicode/caosmos-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Caosmos Logo

Caosmos UI

The High-Performance Visualization Engine for AI-Driven Simulations.

React TypeScript Vite Tailwind CSS PixiJS License: AGPL-3.0 Email


🌌 Overview

Caosmos UI is the official frontend companion for the Caosmos Engine. While the engine handles the complex AI cognition, spatial logic, and simulation physics, this dashboard provides a high-performance, real-time visualization layer.

It is designed to be used in tandem with the backend engine to provide developers, researchers, and users with a deep look into the autonomous behavior of AI "Citizens" within the simulated world.

Designed with Clean Architecture principles and built for extreme performance, Caosmos UI leverages PixiJS for smooth 2D rendering and React 19 for a modern, responsive interface.

Warning

Project Status: Experimental This interface is currently in an experimental phase. It is designed as a basic visualization tool to observe and debug the events occurring within the Caosmos simulation. Features and layout may change frequently.

πŸ–ΌοΈ Preview

Click to view application screenshot

Caosmos UI Screenshot


✨ Key Features

  • πŸ›°οΈ Real-time Map Visualization: High-performance 2D viewport using PixiJS, capable of rendering thousands of entities, zones, and environmental effects.
  • 🧠 Cognition Monitoring: Visualize the internal thought processes, goal hierarchies, and decision-making logic of AI agents in real-time.
  • πŸ‘€ Citizen Insights: Detailed tracking of individual agents, including vitality status, inventory, equipment, and movement history.
  • 🌍 World State Tracking: Monitor environmental conditions, time cycles, and dynamic zone interactions.
  • πŸ“Š Data Analytics: Integrated charts and metrics for simulation-wide performance and population health.
  • πŸ› οΈ Interaction Tools: Directly influence the simulation through a dedicated command and control interface.

πŸš€ Tech Stack

πŸ—οΈ Architecture

The project follows a strict Clean Architecture pattern to ensure maintainability and testability:

  • core: Pure domain logic and entity definitions. No external dependencies.
  • data: Data providers, mappers, and API implementations.
  • presentation: UI components, hooks, and PixiJS renderers.
  • store: Global state management using Zustand.
  • shared: Utilities and common types.

πŸ› οΈ Getting Started

Prerequisites


🐳 Docker Deployment (Recommended)

The easiest way to run Caosmos UI in a production-ready environment is using Docker.

Running with Docker Compose

  1. Ensure you have Docker and Docker Compose installed.
  2. Run the following command to build and start the container:
    docker compose up -d --build
  3. The UI will be available at http://localhost:5173 (by default).

Configuration

You can customize the deployment using environment variables:

Variable Description Default
PORT The host port where the UI will be accessible. 5173
VITE_API_BASE_URL The URL of the running Caosmos Engine API. http://localhost:8080

πŸš€ Local Development

If you prefer to run the project directly on your machine without Docker:

1. Installation

git clone https://github.com/alexpicode/caosmos-ui.git
cd caosmos-ui
npm install

2. Environment Setup

Create a .env file based on .env.example and configure your VITE_API_BASE_URL.

Important

This UI requires a running instance of the Caosmos Backend to function.

3. Run Development Server

npm run dev

4. Manual Production Build

To generate a static build in the dist/ folder:

npm run build

🀝 Contributing

We welcome explorers and architects! To get started, please read our Contributing Guide.

  1. Open an issue for discussion before starting major changes.
  2. Submit a PR for bug fixes or new features.

πŸ“¬ Contact

If you have any questions, suggestions, or would like to collaborate, feel free to reach out:

πŸ“§ Email: alexpicode@proton.me


Built with ❀️ for the AI community by alexpicode

About

The official observer for Caosmos. A high-performance web interface built with React 19 and PixiJS v8 to visualize autonomous agent behavior, semantic world states, and systemic events in real-time.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages