Skip to content

openWriteStream

openWriteStream(name): FileWriteStream

Opens a Steam Cloud write stream on a file, for writing content in chunks. Needs init(). The file changes only when close() commits the stream. Throws when the name contains a NUL character, or when Steam does not open the stream.

string

The cloud file name.

FileWriteStream

the open stream.

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.