@openagentpack/sdk
v0.7.3
Published
OpenAgentPack SDK (Node-compatible runtime)
Maintainers
Readme
@openagentpack/sdk
The Node-compatible TypeScript SDK that powers OpenAgentPack.
Install
npm install @openagentpack/sdkExample
import { planProjectContext, resolveProjectConfig } from "@openagentpack/sdk";
const config = await resolveProjectConfig({ configPath: "agents.yaml" });
const plan = await planProjectContext(config);
console.log(plan);Local projects and versions
The same SDK package includes Node.js subpaths for directory projects and local snapshots; no additional OpenAgentPack packages are required:
import { initializeDirectoryProject } from "@openagentpack/sdk/project-workspace";
import { createDirectoryProjectVersionService } from "@openagentpack/sdk/project-versions";Use project-workspace for Init, Build, Publish, and validated directory restore. The lower-level project-versions subpath exposes snapshot storage primitives. Existing local snapshots remain compatible without migration. These services are not re-exported from the SDK's default entry point.
See the configuration guide, provider reference, and SDK documentation.
License
Apache-2.0. See the repository license.
