A full-stack experimental system that simulates a continuously running AI agent that makes decisions over time under a deterministic execution and verification layer.
This project extends the idea from a single-shot AI decision system into a continuous agent-based execution loop.
This system simulates an autonomous AI agent that runs in cycles:
Each cycle:
- Market conditions are generated or provided
- AI produces a decision (BUY / SELL / HOLD)
- Verification layer validates the decision
- Execution layer updates system state
- Result is stored in history
Unlike a single decision system, this one runs continuously over time.
This project explores agent behavior over time, not just single outputs.
Instead of:
→ Input → AI → Output
It becomes:
→ Looping system → AI → Verification → Execution → State evolution
Most AI systems today are stateless:
- they respond once
- they do not evolve
But real-world systems often require:
- persistence
- memory
- sequential decision-making
This project explores a minimal simulation of that idea.
- Backend: Node.js + Express
- Frontend: HTML + CSS + Vanilla JavaScript
- AI: OpenAI API (optional) + deterministic fallback
- Storage: file-based state persistence (JSON)
Agent Loop ↓ AI Decision Layer ↓ Verification Layer ↓ Execution Layer ↓ State Update ↓ History Log ↺ (repeats over time)
- Runs step-by-step or continuously
- Produces decisions per cycle
- Simulates autonomous behavior
- Validates AI output consistency
- Rejects contradictory or invalid decisions
- Updates simulated portfolio state:
- balance
- asset
- step counter
- System state evolves over time
- Each cycle modifies the environment
- Stores all cycles
- Includes:
- input
- decision
- verification result
- execution result
- updated state
- 3-panel dashboard layout
- Input / Control panel
- Live execution panel
- History panel
- Real-time agent updates
- System status indicator:
- IDLE
- RUNNING
- PAUSED
- ERROR
- Subtle animations (typing + transitions)
- Monochrome (black / white / gray) design system
Includes persistent attribution:
- X icon
- "Created by emir_ethh"
- Both link to: https://x.com/emir_ethh
npm install
npm start
http://localhost:3001