Skip to content

Examples

sarr-io edited this page Jun 15, 2026 · 9 revisions

Examples

Run a math shape

zn run examples/compute-math.circuitry.yaml a=2 b=3

Inspect stored fragments

zn inspect zinc://fragments

Move a head

Running a shape with the same target and request updates the matching head to the fragment that contains the result.

zn run examples/local-llama-answer.circuitry.yaml question="What is Zinc?"

Read a package manifest node

zn read zinc://packages/openai-responses/manifest/software/responses

Read a package file

zn read zinc://packages/openai-responses/files/software/responses.py

Why examples are small

Examples show the smallest useful behavior. Zinc is intentionally small, so examples stay close to the core: run, inspect, read, and manage packages.

Clone this wiki locally