惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Security Blog
Microsoft Security Blog
量子位
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - Franky
美团技术团队
Last Week in AI
Last Week in AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
人人都是产品经理
人人都是产品经理
罗磊的独立博客
Jina AI
Jina AI
小众软件
小众软件
S
SegmentFault 最新的问题
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
雷峰网
雷峰网
博客园 - 聂微东
博客园_首页
The Cloudflare Blog
WordPress大学
WordPress大学
Apple Machine Learning Research
Apple Machine Learning Research
有赞技术团队
有赞技术团队

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - gangtao/AgentPitch: An LLM-powered soccer simula...
gangtao · 2026-05-04 · via Hacker News: Show HN

CI Release Docker Image Python

An LLM-powered soccer simulation where every player on the field is an AI agent. Each player's decision logic is generated by a large language model and evolves between matches based on prior performance.

Live match view with event feed

Documentation

Doc Description
Design & Architecture System layers, data flow, sandbox internals, and key design decisions
Matches Running and replaying individual matches
Strategies Creating, editing, and managing player strategies
Arena Head-to-head match with strategy evolution
Cup Single-elimination tournament setup and bracket view
League Round-robin league setup, matchdays, and standings
Config Match configuration, field settings, and LLM providers

How it works

Each player runs a decide(game_state, player_state, history) callback that you or an LLM writes in Python, JavaScript, or Rust. Before every match the Code Generation Pipeline asks an LLM to produce a strategy; after the match the Post-Match Evolution Pipeline feeds the match log back to the LLM so strategies improve over time. All generated code executes inside language-specific sandboxes — no arbitrary host access.

Config (YAML/API)
  → Code Generation Pipeline  (LLM writes decide() code)
  → Sandbox                   (compile + cache the callback)
  → Tick Engine               (runs ticks until match ends)
      each tick: build snapshot → Sandbox.execute() → Action
               → ActionResolutionEngine
               → PlayerMovementSystem / BallPhysicsSystem
               → MatchLog records tick
  → Post-Match Evolution Pipeline  (LLM evolves strategy from match log)

Requirements

  • Python 3.11+
  • API key for at least one supported LLM provider (OpenAI, Anthropic, Gemini, DeepSeek, OpenRouter, or a local Ollama instance)

Installation

# Install with all sandbox backends (JS via QuickJS, WASM via Wasmtime)
make install          # pip install -e '.[all]'

# Python-only (no JS or Rust strategies)
pip install -e .

Quickstart

# 1. Install
make install

# 2. Start the browser UI on http://localhost:8765
make serve

Open http://localhost:8765 in your browser. Go to Config → Providers, select your LLM provider, and enter your API key. The key is stored locally in data/.secrets.json and never leaves your machine.

Supported providers: OpenAI, Anthropic, Gemini, DeepSeek, OpenRouter, or a local Ollama instance (no key required).

CLI commands

Command Description
agent-pitch serve Start the FastAPI server + browser UI (port 8765)
agent-pitch run Execute a season of matches
agent-pitch generate-strategy Generate one strategy via LLM
agent-pitch cup-run Run a cup tournament
agent-pitch league-run Run a league tournament

Make targets

make install              # install locally with all sandboxes
make test                 # run the test suite
make test-cov             # run tests with coverage (≥80% required)
make serve                # start server on port 8765

make docker-build         # build via docker compose
make docker-up            # run via docker compose (port 8765)
make docker-down          # stop compose container
make docker-image         # build standalone image agent-pitch:latest
make docker-run           # run standalone image with ./data volume mapped

Supported LLM providers

Edit data/llm-providers.yaml to select your provider and model:

Provider Notes
OpenAI OPENAI_API_KEY
Anthropic ANTHROPIC_API_KEY
Gemini GEMINI_API_KEY
DeepSeek OpenAI-compatible, DEEPSEEK_API_KEY
OpenRouter OpenAI-compatible, OPENROUTER_API_KEY
Ollama Local, no key required

Strategy languages

Extension Sandbox Extra dependency
.py RestrictedPython always available
.js QuickJS pip install -e '.[js]'
.rs Wasmtime (compiles Rust → WASM) pip install -e '.[wasm]'

Docker

# Build and run with docker compose
make docker-build && make docker-up

# Or build and run a standalone image
make docker-image && make docker-run

The container maps ./data as a volume so strategies and configuration persist between runs.

Contributing

See CONTRIBUTING.md for setup, testing, and pull request guidelines.

License

Apache 2.0 — see LICENSE.