Programmer.ie
Technical library for the AI era
Menu
Home
Books
Examples
Solutions
Learn
Prompts
Articles
Search
About
English
简体中文
Example library
Examples
Search examples
Search
Book
All books
Agents From First Principles
Applied AI
Browser AI From First Principles
Cellular Automata From First Principles
Context From First Principles
Debugging AI
DSPy From First Principles
Embeddings From First Principles
Hallucination From First Principles
Language
Memory From First Principles
Models From First Principles
Pi Agents
PyTorch From First Principles
Loading examples…
·
Open example →
Previous results
Next results
Search requires JavaScript. Browse examples below.
Turn a delta into an operator, and measure what it costs
— Embeddings From First Principles
Carry a boundary without carrying its history
— Language
Name the eight message roles
— Pi Agents
Walk the whole embedding runtime in one command
— Embeddings From First Principles
Make what the system believes inspectable
— Language
Price the design's own numbers before anyone builds it
— Debugging AI
Read a session file with the chapter's program
— Pi Agents
Decide the next step, and replay the decision that was recorded
— Applied AI
End the session and keep only what was declared
— Language
Separate discovery from admission in the context pipeline
— Pi Agents
Normalise a provider's overflow message so Pi can recover
— Pi Agents
Drive one agent through three interfaces
— Pi Agents
Run Pi with no person attached
— Pi Agents
Read the JSON event stream record by record
— Pi Agents
Embed an agent in your process with SDK sessions
— Pi Agents
Drive a live Pi subprocess over JSONL
— Pi Agents
Get one typed answer from one model call
— Pi Agents
Run the agent loop on its own with a corpus tool
— Pi Agents
Return a schema-valid value from a bounded model loop
— Pi Agents
Detect a loop from hashes, then name which kind it is
— Debugging AI
Map each agent-core hook by what it can still decide
— Pi Agents
Compose a pipeline with the weakest component at each position
— Pi Agents
Measure agent reliability with pass@1 and pass^k
— Pi Agents
Read a self-declared annotation as a claim, not a control
— Pi Agents
One Python loop against eight array rolls
— Cellular Automata From First Principles
Pad first, roll second, transform third
— Cellular Automata From First Principles
Previous examples