Compose the provider-neutral core into another host.
Most users need the glrs CLI, not this module. Use the SDK when embedding sessions, providers, and extensions in another application.
glrs
import { createAgentCore, createCodingAgent, createProviderRegistry, jsonSessionRepository,} from "@glrs-dev/glrs";const runtime = createAgentCore({ session, runTurn, reloadExtensions,});const agent = createCodingAgent({ runtime, sessionRepository: jsonSessionRepository, providers: createProviderRegistry(),}); Copy
import { createAgentCore, createCodingAgent, createProviderRegistry, jsonSessionRepository,} from "@glrs-dev/glrs";const runtime = createAgentCore({ session, runTurn, reloadExtensions,});const agent = createCodingAgent({ runtime, sessionRepository: jsonSessionRepository, providers: createProviderRegistry(),});
Compose the provider-neutral core into another host.
Most users need the
glrsCLI, not this module. Use the SDK when embedding sessions, providers, and extensions in another application.Example: Compose a host