Forge documentation
Library reference

Library reference

Every Forge package, language boundary, feature flag, and source artifact.

Find the exact package before copying an example. Forge has six language implementations and additional Rust runtime libraries. Package versions and supported features differ.

Rust

40 packages.

PackageVersionResponsibility
forge-core0.2.0Core types, provider traits, telemetry, and configuration for the Forge SDK
forge-generate0.2.0Text, stream, and structured output generation for the Forge SDK
forge-tool0.2.0Tool definition, execution, approval, and registry for the Forge SDK
forge-health0.2.0ANVIL health profiles, lifecycle state machine, and monitoring for the Forge SDK
forge-agent0.2.0ANVIL-compliant agent execution loop, workflows, and multi-agent orchestration for the Forge SDK
forge-embed0.2.0Embedding, reranking, vector store, and RAG primitives for the Forge SDK
forge-media0.2.0Image, transcription, speech, and video generation for the Forge SDK
forge-mcp0.2.0Model Context Protocol (MCP) client, server, and transport layer for the Forge SDK
forge-identity0.2.0OAS identity binding for Forge agents — ANVIL Spec §11.1-11.2
forge-auth0.2.0Arsenal capability token integration for Forge agents — ANVIL Spec §8.7, §11.3
forge-comm0.2.0ANVIL Communication Contract: message transport, envelopes, and protocol negotiation for the Forge SDK
forge-collab0.2.0ANVIL Collaboration Contract: roles, sessions, task delegation, shared context, and interrupts for the Forge SDK
forge-telemetry0.2.0ANVIL Telemetry Contract: span collection, audit trails, and observability for the Forge SDK
forge-wasm0.2.0WASM/WASI component exports for the Forge SDK — cross-language consumption
forge-sdk0.2.0The Forge SDK — unified ANVIL-compliant agent development framework
forge-provider-coding0.2.0Official coding-provider adapters for the Forge SDK
forge-provider-platforms0.2.0Official direct-provider and gateway adapters for the Forge SDK
forge-provider-openai0.2.0OpenAI provider for the Forge SDK — implements the LanguageModel trait for OpenAI ChatCompletion API
forge-provider-anthropic0.2.0Anthropic provider for the Forge SDK — implements the LanguageModel trait for the Anthropic Messages API
forge-provider-google0.2.0Google Gemini provider for the Forge SDK — implements the LanguageModel trait for Google Generative Language API
forge-web0.2.0Native web substrate for the Forge SDK — fetch, parse, extract, crawl, and compact web content
forge-flowers0.2.0Bridge connecting Forge agents and Brew plans to the Flowers durable execution runtime
forge-provider-session0.2.0Provider session model, policy, and runtime routing for the Forge SDK
forge-litellm0.2.0Optional LiteLLM compatibility adapter for the Forge SDK
forge-memory0.2.0Native Akasha-backed memory integration for the Forge SDK
forge-search0.2.0OneSearch integration as the default research runtime for Forge SDK agents
forge-codebase0.2.0Codebase intelligence primitives for the Forge SDK — repo understanding, dependency graphs, file relevance, and change impact analysis
forge-toolbelt0.2.0First-class default toolbelt for Forge SDK agents — search, crawl, code intelligence, file ops, shell, memory hooks
forge-code-safety0.2.0Runtime safety primitives for coding agents — worktree isolation, write scoping, delete prevention, approval gates, and audit logging
forge-coder0.2.0Production-grade coding agent runtime — repo understanding, code search, dependency awareness, plan/implement/review cycles, and test verification loops
forge-contracts0.2.0Formal interface contracts between Forge (agent substrate) and Aut0 (organization platform)
forge-agent4020.2.0Agent-native identity + payment middleware — wraps OpenAgent challenge-response, x402 micropayments, and Arsenal capability grants into agent402::serve() and agent402::connect()
forge-settings0.2.0Forge — provider settings introspection. Each provider crate exposes its configurable fields through ProviderSettings, letting external runtimes (TUIs, dashboards) render and edit those fields without coupling to each provider's concrete Config type.
forge-conformance-harness0.2.0ANVIL conformance test harness for the Forge SDK (Rust reference implementation)
harness-spec0.1.0HarnessSpec v0.1 contract layer — fail-closed TOML manifest parsing, validation, and canonical BLAKE3 hashing (FINAL_SPEC §5)
harness-runtime0.1.0HarnessSpec v0.1 execution runtime — plane adapter traits, admission gate, loop strategies, no-amplification child spawning, and serde-stable run records (FINAL_SPEC §4)
harness-apd0.1.0APD benchmark driver — binds harness-runtime (HarnessSpec v0.1) to an OpenAI-compatible inference route, local dev planes, and the MAP spine when MAP_BASE_URL is set (WS-11)
harness-sdk0.1.0-alpha.1Harness SDK — framework for building autonomous agent harnesses with AHE (arXiv 2604.25850) primitives + Codex-grade TUI runtime.
harness-sdk-forge0.1.0-alpha.1Forge ↔ Harness bridge — implements harness-sdk's AgentAdapter for forge-rs agents and re-exports the full forge SDK so harness apps get every Forge primitive in one import.
harness-tui-kit0.1.0-alpha.1Harness TUI Kit — production-ready TUI components for building agent harnesses (chat, history, harness observability, AHE widgets).

TypeScript

14 packages.

PackageVersionResponsibility
@forge-sdk/agent0.1.0Agent abstractions, tool loops, workflows, sub-agent delegation, and messaging for the Forge SDK
@forge-sdk/auth0.1.0Arsenal capability token integration and tool authorization for the Forge SDK
@forge-sdk/collab0.1.0ANVIL Collaboration Contract: roles, sessions, task delegation, shared context, and interrupts
@forge-sdk/comm0.1.0ANVIL Communication Contract: message transport, envelopes, and protocol negotiation
@forge-sdk/core0.1.0Core types, model interface, telemetry, and configuration for the Forge SDK
@forge-sdk/embed0.1.0Embedding, reranking, vector store, and document chunking for the Forge SDK
@forge-sdk/generate0.1.0Text generation, streaming, structured output, and multi-step generation for the Forge SDK.
@forge-sdk/health0.1.0ANVIL health profiles, lifecycle state machine, and monitoring for the Forge SDK.
@forge-sdk/identity0.1.0OAS identity binding for Forge agents with an explicit production crypto bridge
@forge-sdk/mcp0.1.0Model Context Protocol client, server, and transport for the Forge SDK
@forge-sdk/media0.1.0Image generation, speech synthesis, transcription, and video generation for the Forge SDK
@forge-sdk/sdk0.1.0Aggregated re-exports for the Forge SDK -- import everything from one package
@forge-sdk/telemetry0.1.0ANVIL telemetry contract: span collection, audit trails, and observability for the Forge SDK.
@forge-sdk/tool0.1.0Tool definition, execution, approval, and registry for the Forge SDK

Python

13 packages.

PackageVersionResponsibility
forge.agent0.1.0Python agent package; imports are explicit from this package.
forge.auth0.1.0Python auth package; imports are explicit from this package.
forge.collab0.1.0Python collab package; imports are explicit from this package.
forge.comm0.1.0Python comm package; imports are explicit from this package.
forge.core0.1.0Python core package; imports are explicit from this package.
forge.embed0.1.0Python embed package; imports are explicit from this package.
forge.generate0.1.0Python generate package; imports are explicit from this package.
forge.health0.1.0Python health package; imports are explicit from this package.
forge.identity0.1.0Python identity package; imports are explicit from this package.
forge.mcp0.1.0Python mcp package; imports are explicit from this package.
forge.media0.1.0Python media package; imports are explicit from this package.
forge.telemetry0.1.0Python telemetry package; imports are explicit from this package.
forge.tool0.1.0Python tool package; imports are explicit from this package.

Go

13 packages.

PackageVersionResponsibility
github.com/l1fe-labs/forge-go/agentmodule source snapshotGo agent package.
github.com/l1fe-labs/forge-go/authmodule source snapshotGo auth package.
github.com/l1fe-labs/forge-go/collabmodule source snapshotGo collab package.
github.com/l1fe-labs/forge-go/commmodule source snapshotGo comm package.
github.com/l1fe-labs/forge-go/coremodule source snapshotGo core package.
github.com/l1fe-labs/forge-go/embedmodule source snapshotGo embed package.
github.com/l1fe-labs/forge-go/generatemodule source snapshotGo generate package.
github.com/l1fe-labs/forge-go/healthmodule source snapshotGo health package.
github.com/l1fe-labs/forge-go/identitymodule source snapshotGo identity package.
github.com/l1fe-labs/forge-go/mcpmodule source snapshotGo mcp package.
github.com/l1fe-labs/forge-go/mediamodule source snapshotGo media package.
github.com/l1fe-labs/forge-go/telemetrymodule source snapshotGo telemetry package.
github.com/l1fe-labs/forge-go/toolmodule source snapshotGo tool package.

Swift

14 packages.

PackageVersionResponsibility
ForgeCoreSwift package source snapshotSwift ForgeCore library product.
ForgeGenerateSwift package source snapshotSwift ForgeGenerate library product.
ForgeToolSwift package source snapshotSwift ForgeTool library product.
ForgeHealthSwift package source snapshotSwift ForgeHealth library product.
ForgeAgentSwift package source snapshotSwift ForgeAgent library product.
ForgeEmbedSwift package source snapshotSwift ForgeEmbed library product.
ForgeMediaSwift package source snapshotSwift ForgeMedia library product.
ForgeMCPSwift package source snapshotSwift ForgeMCP library product.
ForgeIdentitySwift package source snapshotSwift ForgeIdentity library product.
ForgeAuthSwift package source snapshotSwift ForgeAuth library product.
ForgeCommSwift package source snapshotSwift ForgeComm library product.
ForgeCollabSwift package source snapshotSwift ForgeCollab library product.
ForgeTelemetrySwift package source snapshotSwift ForgeTelemetry library product.
ForgeSDKSwift package source snapshotSwift ForgeSDK library product.

Kotlin

14 packages.

PackageVersionResponsibility
com.l1fe.forge:forge-core0.1.0Kotlin/JVM forge-core module.
com.l1fe.forge:forge-generate0.1.0Kotlin/JVM forge-generate module.
com.l1fe.forge:forge-tool0.1.0Kotlin/JVM forge-tool module.
com.l1fe.forge:forge-health0.1.0Kotlin/JVM forge-health module.
com.l1fe.forge:forge-agent0.1.0Kotlin/JVM forge-agent module.
com.l1fe.forge:forge-embed0.1.0Kotlin/JVM forge-embed module.
com.l1fe.forge:forge-media0.1.0Kotlin/JVM forge-media module.
com.l1fe.forge:forge-mcp0.1.0Kotlin/JVM forge-mcp module.
com.l1fe.forge:forge-identity0.1.0Kotlin/JVM forge-identity module.
com.l1fe.forge:forge-auth0.1.0Kotlin/JVM forge-auth module.
com.l1fe.forge:forge-comm0.1.0Kotlin/JVM forge-comm module.
com.l1fe.forge:forge-collab0.1.0Kotlin/JVM forge-collab module.
com.l1fe.forge:forge-telemetry0.1.0Kotlin/JVM forge-telemetry module.
com.l1fe.forge:forge-sdk0.1.0Kotlin/JVM forge-sdk module.

Coverage boundaries

Every package listed above is linked to manifest and source hashes. Rust includes 33 Forge libraries, six Harness libraries, and one unpublished conformance harness. The Python distribution root exports its version; use explicit subpackage imports. Kotlin coordinates reflect source module names, not verified Maven publication.

The machine-readable coverage manifest includes all inventoried source declarations. Source inventory does not certify cross-language parity, deployed services, or complete compiler-generated API documentation.

On this page