Skip to content

Spacewave
 

Next-generation Go and TypeScript tools.

Spacewave builds next-generation Go and TypeScript tools
with a focus on type safety, testability, and developer experience.

OpenCode Discord   Aperture Discord

Projects

ocpipe

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" });

Support

Please open a GitHub issue with any questions or feedback.

Join the OpenCode Discord to connect with the community.

License

Projects are licensed under MIT or Apache-2.0.


An Aperture Robotics, LLC project.

Pinned Loading

  1. ocpipe ocpipe Public

    OpenCode structured prompts ft. Zod

    TypeScript 1

Repositories

Showing 2 of 2 repositories

Top languages

Loading…

Most used topics

Loading…