Spacewave builds next-generation Go and TypeScript tools
with a focus on type safety, testability, and developer experience.
ocpipe is an SDK for building LLM pipelines with OpenCode and Zod.
- Type-safe signatures - Define inputs and outputs with Zod schemas
- Modular architecture - Compose modules into complex pipelines
- Built-in checkpointing - Resume pipelines from any step
- OpenCode integration - Leverage the OpenCode agent runtime
import { signature, field, module, Pipeline, createBaseState } from "ocpipe";
const Greet = signature({
doc: "Generate a friendly greeting for the given name.",
inputs: { name: field.string("The name of the person to greet") },
outputs: { greeting: field.string("A friendly greeting message") },
});
const pipeline = new Pipeline(
{
name: "hello-world",
defaultModel: { providerID: "anthropic", modelID: "claude-haiku-4-5" },
},
createBaseState,
);
const result = await pipeline.run(module(Greet), { name: "World" });Please open a GitHub issue with any questions or feedback.
Join the OpenCode Discord to connect with the community.
Projects are licensed under MIT or Apache-2.0.
An Aperture Robotics, LLC project.