Open
source.
Public projects from Craggy, with their documentation. Pick one to read it here, or head straight to the code on GitHub.
-
capability-services
Capability Services
One registry of capabilities, projected mechanically into every surface that needs them: MCP tools for agents, an HTTP API with a generated OpenAPI document, Starlark built-ins, and in-process LLM tool-calling loops. Register each capability once. It can be added, replaced, versioned and superseded at runtime, and every projection follows. Any call can run as a long-running job with stage progress, heartbeat/liveness and cancellation.
-
artifact-services
Artifact Services
A streaming Go library for immutable content, artifact snapshots, typed objects, and provenance. Small interfaces keep physical storage separate from content identity, typed meaning, and revision histories. Context carries cancellation and shared observation across operations.
-
foundation-kit
Foundation Kit
Foundation Kit is a set of Go packages for building applications and libraries on shared foundations. It's for the things every application otherwise writes for itself, starting with loading authored content such as scripts, prompts and schemas.
-
classification-services
Classification Services
A Go library and CLI that takes any input (a file, bytes or text) and returns every type it can be shown to be, as a DAG: an APK is also a ZIP, and a ZIP is also bytes. Content found inside the input (archive entries, decompressed payloads, executable overlays, PEM blocks) is classified recursively into a content DAG, and anomalies such as polyglots, path traversal, extension mismatches and active PDF content are reported alongside types. The core depends only on the standard library, Starlark and foundation-kit, whose bundle package is the one path for loading definitions.
-
script-services
Script Services
A generic Starlark runtime for Go hosts. One dialect, one value model and one module loader serve every Craggy library that runs scripts: hosts run programs under step and wall-clock limits, check them statically against the callables they will provide, declare inputs and outputs as JSON Schema, and test them with *_test.star files. Authored scripts reach it through foundation-kit bundles: every folder of scripts is a bundle with a real bundle.yaml, loaded by bundle.Load and compiled by one shared compiler, starcompile.