StarCraft II API
StarCraft II Client - C++ library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3341
- days_rel: n/a
- days_push: 2452
- n_releases_24m: 0
Adoption not part of the score
1682 stars · 281 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Blizzard's official StarCraft II Client API, providing protobuf protocol definitions and a reference C++ library for full external control of StarCraft II. It enables building scripted and machine-learning bots, replay analysis, and tool-assisted play against headless Linux, Windows, or Mac clients.
Use cases
- build a StarCraft II AI bot
- train reinforcement learning agents on StarCraft II
- analyze StarCraft II replays programmatically
- run headless StarCraft II for machine learning research
- control StarCraft II externally from C++ or Python
- create a scripted bot for SC2 bot ladders
When to choose
- you want the official, low-level protocol for controlling StarCraft II
- you are building a C++ bot or a custom language wrapper on top of the protocol
- you need headless Linux SC2 builds, maps, or replay packs for ML research
When to avoid
- you want a high-level Python RL environment - use DeepMind's PySC2 instead
- you want a ready-made bot architecture - consider CommandCenter
- you need to control games other than StarCraft II
Facets
library · maturity maintenance
sdk machine-learning simulation parser gaming-tools artificial-intelligence reinforcement-learning simulation windows cpp python starcraft-ii game-ai protobuf bot-development replay-analysis blizzard linux macos
1 source
- readme: https://github.com/Blizzard/s2client-api · fetched 2026-08-28 · 0607d2482787
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Blizzard/s2client-api | main | 23 |
| Blizzard/s2client-proto | infra | 64 |
For agents
markdown · JSON · MCP: product_card(name="Blizzard/s2client-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem