Skip to content
loisekkPublic

About

πŸ›οΈ 3D visual OS for autonomous AI teams. Dispatch tasks by text or voice β†’ LangGraph DAGs β†’ AI employees walk, type & run code in sandboxed Docker micro-VMs with human-in-the-loop approval.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

274 Commits

Folders and files

Repository files navigation


πŸ›οΈ Overview

Atelier is not a dashboard. It is a spatial diorama of a premium AI company headquarters where you act as the CEO.

Give a high-level task to the CEO Brain Core in 3D, by keyboard or voice. A Python backend decomposes it into a Directed Acyclic Graph (DAG) and routes each step to a human-like 3D AI employee. Employees sit at their desks, type on monitors that stream real terminal logs, walk between rooms using pathfinding, and execute code inside isolated Docker micro-VMs.

Watching your agents work should feel like walking through an office, not reading a log file.


⚑ The Loop

%%{init: {'theme':'base','themeVariables':{'primaryColor':'#F1E7D8','primaryTextColor':'#3B2A1E','primaryBorderColor':'#B96D3D','lineColor':'#B96D3D','secondaryColor':'#FBF6EE','tertiaryColor':'#FBF6EE'}}}%%
flowchart LR
    A([πŸŽ™οΈ CEO<br/>text or voice]) --> B{{🧠 CEO Brain Core}}
    B -->|LangGraph| C[/DAG Decomposition/]
    C --> D1[πŸ§‘β€πŸ’» Agent A]
    C --> D2[πŸ§‘β€πŸ’» Agent B]
    C --> D3[πŸ§‘β€πŸ’» Agent C]
    D1 & D2 & D3 --> E[🐳 Alpine Micro-VM]
    E -->|dangerous command| F{{πŸ›‘οΈ HITL Approval}}
    F -->|approved| E
    E -->|logs stream| G[πŸ–₯️ Desk Monitors<br/>+ Wall Screen]
Loading

✨ Core Features

Feature What it does
🧠 Cognitive Engine LangGraph decomposes prompts into stateful, multi-actor DAGs with self-healing topologies.
🏒 Cinematic 3D HQ Custom GLB architecture with warm PBR materials, dynamic lighting and ACES Filmic tone mapping.
πŸ§‘β€πŸ’» Living AI Employees Agents walk to the Meeting Room, sit at auto-detected GLB workstations and collaborate in holographic bubbles.
πŸ›‘οΈ Micro-VM Security (HITL) No direct host access. Commands run in isolated Alpine containers; destructive ones need CEO approval.
πŸ–₯️ Dynamic Canvas Textures Desk monitors and the Meeting Room wall stream terminal logs, status and live DAG visualizations.
πŸ—ΊοΈ Spatial Calibration Load any custom 3D office model, click to map waypoints, and get generated coordinate configs.
πŸŽ™οΈ Voice Command Interface Dispatch tasks through the browser's Web Speech API.

🎬 See It In Action

🧭 2D Plan View

Atelier OS 2D view
Top-down layout of the HQ: rooms, zones and workstations at a glance.



🏒 3D Cinematic View

Atelier OS 3D model view
The live 3D diorama: PBR materials, lighting and AI employees at their desks.

πŸ—οΈ Architecture

%%{init: {'theme':'base','themeVariables':{'primaryColor':'#F1E7D8','primaryTextColor':'#3B2A1E','primaryBorderColor':'#B96D3D','lineColor':'#B96D3D'}}}%%
flowchart TB
    subgraph FE["Frontend Β· The 3D Visual OS"]
        direction TB
        UI["React 19 + Tailwind<br/>panels, modals, HITL"]
        ENG["AtelierEngine.ts<br/>vanilla Three.js"]
        UI <--> ENG
    end

    subgraph BE["Backend Β· The Cognitive Engine"]
        direction TB
        API["FastAPI + WebSocket"]
        LG["LangGraph<br/>orchestration"]
        SB["Docker SDK<br/>Alpine sandbox"]
        API --> LG --> SB
    end

    subgraph MEM["Memory Matrix"]
        direction LR
        R[("Redis<br/>episodic")]
        Q[("Qdrant<br/>semantic")]
        N[("Neo4j<br/>knowledge graph")]
    end

    FE <-->|"ws://127.0.0.1:8000/ws/cognitive"| API
    LG <--> MEM
Loading

Frontend

Layer Choice Notes
Core React 19, TypeScript, Vite, Tailwind CSS Feature-based architecture
3D Vanilla Three.js via a custom AtelierEngine.ts Direct WebGL and scene-graph control, no React Three Fiber overhead
Theme Light, warm architectural Cream #F1E7D8, Terracotta #B96D3D

Backend

Layer Choice Notes
API and I/O FastAPI + WebSockets ws://127.0.0.1:8000/ws/cognitive
Orchestration Python + LangGraph Stateful DAG execution
Memory Redis, Qdrant, Neo4j Episodic working memory, codebase embeddings, entity and dependency graph
Sandbox Docker SDK for Python Alpine micro-VMs

πŸ›‘οΈ Security Model

Autonomous agents never touch the host shell. Every command is routed through the backend into a disposable container, and anything destructive pauses for a human decision.

%%{init: {'theme':'base','themeVariables':{'primaryColor':'#F1E7D8','primaryTextColor':'#3B2A1E','primaryBorderColor':'#B96D3D','lineColor':'#B96D3D','actorBkg':'#F1E7D8','actorBorder':'#B96D3D','signalColor':'#B96D3D'}}}%%
sequenceDiagram
    autonumber
    participant Agent as πŸ§‘β€πŸ’» Agent
    participant Engine as βš™οΈ Python Engine
    participant CEO as πŸ‘€ CEO (UI Modal)
    participant VM as 🐳 Alpine Micro-VM

    Agent->>Engine: request command
    Engine->>Engine: classify risk
    alt safe command
        Engine->>VM: execute
        VM-->>Agent: stream logs
    else dangerous (rm -rf, DROP TABLE)
        Engine->>CEO: HITL approval request
        alt approved
            CEO-->>Engine: allow
            Engine->>VM: execute
            VM-->>Agent: stream logs
        else denied
            CEO-->>Engine: deny
            Engine-->>Agent: blocked
        end
    end
Loading

πŸš€ Quick Start

Prerequisites

Requirement Version / Note
Node.js or Bun Node v18+
Python 3.10+
Docker Desktop Running and accessible via CLI
Memory stack Redis, Neo4j and Qdrant (Docker Compose or local)

1 Β· Frontend

cd client/atelier-planner
npm install
npm run dev

Open http://localhost:5173

2 Β· Backend

cd python_engine
python -m venv venv
source venv/bin/activate        # Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reload --port 8000

The WebSocket server listens on ws://127.0.0.1:8000/ws/cognitive.

3 Β· Dispatch your first task

  1. Confirm the frontend connects to the gateway (check the top bar).
  2. Click the CEO Brain Core, or use the mic, and describe a goal.
  3. Watch the DAG appear on the Meeting Room wall, then follow agents to their desks.
  4. Approve or deny any HITL prompts that appear.

πŸ“‚ Project Structure

The frontend follows a feature-based architecture so each domain scales independently.

client/atelier-planner/src/
β”œβ”€β”€ app/
β”‚   └── App.tsx                 # Orchestrator, state management, HITL modals
β”œβ”€β”€ features/
β”‚   β”œβ”€β”€ canvas/                 # 🎬 The 3D engine
β”‚   β”‚   β”œβ”€β”€ engine/             #    AtelierEngine, Navigation, ScreenManager, AgentController
β”‚   β”‚   └── architecture/       #    BuildingLoader, MaterialTheme, SpatialConfig, RoomScanner
β”‚   β”œβ”€β”€ workspace/              # 🏒 AI company logic and UI
β”‚   β”‚   β”œβ”€β”€ components/         #    TopBar, LeftPanel, RightPanel, Modals
β”‚   β”‚   └── hooks/              #    useAtelier, useGateway, useVoice
β”‚   β”œβ”€β”€ furniture/              # πŸͺ‘ 3D catalog (catalog, templates, factories/avatars)
β”‚   └── ai-agents/              # πŸ€– Types: AgentStatus, Task, DAG steps
└── styles/
    └── index.css               # Tailwind and global CSS variables
πŸ”Ž Engine module responsibilities
Module Responsibility
AtelierEngine.ts Scene graph, render loop, lighting, tone mapping
Navigation.ts Waypoint graph and BFS pathfinding
ScreenManager.ts Canvas textures for monitors and wall screens
AgentController.ts Agent movement, seating and state animation
BuildingLoader.ts Procedural and GLB building loading (Meshopt)
MaterialTheme.ts V2 PBR materials via name-based and bounding-box heuristics
SpatialConfig.ts Room zoning and coordinate configuration
RoomScanner.ts Workstation detection and spatial calibration

πŸ—ΊοΈ Roadmap

%%{init: {'theme':'base','themeVariables':{'primaryColor':'#F1E7D8','primaryTextColor':'#3B2A1E','primaryBorderColor':'#B96D3D','lineColor':'#B96D3D'}}}%%
timeline
    title Atelier Roadmap
    Phases 0 to 12 (Shipped) : Core AI OS and LangGraph DAGs
                             : Docker micro-VMs and HITL
                             : GLB loaders, PBR theme, workstation registry
                             : Room zoning, calibration, RoomFurnisher
                             : Dynamic canvas textures
    Phase 13 (Next)          : Real CLI adapters
    Phase 14 (Next)          : Navmesh pathfinding
Loading

βœ… Shipped (Phases 0–12)

  • Core AI OS, LangGraph DAG decomposition, Docker micro-VMs, HITL security
  • Procedural and GLB building loaders with Meshopt compression
  • V2 PBR material theme (name-based and bounding-box heuristics)
  • Workstation registry that auto-assigns agents to GLB desks
  • Room zoning, spatial calibration and floor-height syncing
  • RoomFurnisher for automated room-based furniture placement
  • Dynamic canvas textures and real-time DAG visualization

🚧 Up Next

  • Phase 13 Β· Real CLI adapters: replace mock sandbox commands with actual Bun.spawn(['opencode', 'run', prompt]) or claude CLI calls for real-world coding tasks
  • Phase 14 Β· Navmesh pathfinding: migrate from BFS waypoint graphs to @recast-navigation/three for true obstacle-avoiding crowd simulation

πŸ“„ License

This project is proprietary and built for the Atelier AI ecosystem.


footer

Built with Three.js, LangGraph and a lot of terracotta.

About

πŸ›οΈ 3D visual OS for autonomous AI teams. Dispatch tasks by text or voice β†’ LangGraph DAGs β†’ AI employees walk, type & run code in sandboxed Docker micro-VMs with human-in-the-loop approval.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages