Skip to content

init

init(appId?): void

Initializes the Steam client for this process and requests the user’s stats. If a client already exists, it is dropped first. Needs the Steam client to be running. Throws an Error carrying Steam’s reason when initialization fails. Unverified against a live Steam client: whether a logged-out Steam client initializes.

number | null

The Steam app ID to initialize as. Omit it to use the app ID the SDK resolves on its own (for example from steam_appid.txt).

void

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.