bmw4134's picture
UPDATED README / INSTRUCTION BLOCK
12de3cc verified
metadata
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

pip install playwright langgraph
python langgraph_config.py