Skip to content

writeFile

writeFile(name, content): boolean

Writes text to a Steam Cloud file as UTF-8, replacing its previous content. Needs init(). The write is committed when the write stream closes, which happens before this call returns.

string

The cloud file name.

string

Text to write, encoded as UTF-8.

boolean

true if the content was accepted by the write stream, false if writing failed. The commit result is not reported. Unverified against a live Steam client whether a failed commit is visible.

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.