Forge documentation
Runtime concepts

Generation

Generation concepts mapped to actual Forge source packages.

Generation calls accept messages, tool definitions and generation options through the language model interface. Text, streamed chunks, structured objects and object streams have different return contracts. Validate structured output and handle provider refusal, cancellation and incomplete streams explicitly.

Implementation references

The references below are the Rust implementation. They include manifest versions, features, source hashes, and declarations.

Other languages

Use the language-specific package catalog for TypeScript, Python, Go, Swift and Kotlin. Similar responsibilities do not imply the same types, defaults, targets or deployed capabilities.

Validation

Read the exact package boundary and selected feature conditions. Run the relevant library tests and the applicable conformance fixtures before making a release claim. Source documentation and generated inventories do not replace runtime verification.

On this page