| 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 | |
| ``` | |