Boundary
A prompt and response now have one repeatable command-line shape. That means tools and hosts can build against it instead of guessing.
Labs / Lab 00
Turn a model endpoint into one boring local command so the rest of the stack has a concrete surface to wrap.
What this adds
This lab takes the abstract idea of "I can reach a model" and turns it into a simple CLI. The checked-in script uses a toy response so you can focus on interface shape instead of provider setup.
The important boundary is that the rest of your tooling should call a local command or stable endpoint shape, not re-decide model access on every step.
A prompt and response now have one repeatable command-line shape. That means tools and hosts can build against it instead of guessing.
Running the command yields stable JSON with the prompt, endpoint, access hints, and a response body every time.
Ollama is the practical version of this idea: one local command surface that turns model access into something other tools can reliably call.
Pair this lab with model access if you want the larger decision framework behind the toy CLI.
If you are replacing the toy endpoint with a real provider key, also read API key security.
Optional side path: use the localhost broker side path
so your host talks to 127.0.0.1 instead of holding the
raw provider credential directly.