File size: 1,278 Bytes
12de3cc
 
 
 
 
 
 
 
 
 
 
 
5c0e1d7
 
 
 
 
 
12de3cc
 
 
5c0e1d7
 
 
 
12de3cc
5c0e1d7
 
 
 
 
 
 
12de3cc
5c0e1d7
12de3cc
 
5c0e1d7
 
12de3cc
5c0e1d7
 
 
12de3cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
license: apache-2.0
language: en
tags:
  - langgraph
  - browser-trader
  - wasm
  - agent-system
  - edge-deployment
pipeline_tag: agent
---

# Infinity Kernel: Edge-Deployed Browser Trader 🧠⚑🌍

This repository implements an autonomous trading agent system using LangGraph DAGs and Playwright-based browser execution. It is optimized for low-latency deployment via WebAssembly (WASM) edge containers.

## πŸ” Architecture Overview

- **LangGraph Agent Chain**: Parses market signals β†’ validates strategy β†’ executes trades.  
- **Playwright Execution Layer**: Uses headless browser automation to place trades without relying on broker APIs.  
- **Self-Evolution Loop**: Adapts strategies using `prompt_dna.json`, `goal_tracker.json`, and `session_audit.json`.  
- **Strict Schema Mode**: Blocks hallucinated trades and enforces validated execution flows.

## πŸ“‚ File Structure

```
edge-browser-trader/
β”œβ”€β”€ langgraph_config.py
β”œβ”€β”€ browser_executor.py
β”œβ”€β”€ prompt_dna.json
β”œβ”€β”€ goal_tracker.json
β”œβ”€β”€ session_audit.json
β”œβ”€β”€ wasm_agent/
β”‚   └── compiled_agent.wasm
β”œβ”€β”€ config/
β”‚   └── strict_mode_schema.json
```

## πŸ§ͺ Quick Test

```bash
pip install playwright langgraph
python langgraph_config.py
```