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.
Find the first divergence, then move the failure with an override
— Debugging AI
One model, four sub-models, and one shared tensor
— Models From First Principles
Watch the agent loop call a tool
— Pi Agents
Map availability to an action, not to a boolean
— Browser AI From First Principles
One rule, one row, and a step that never mixes time
— Cellular Automata From First Principles
Score three memory systems against the same six tasks
— Memory From First Principles
Stop at the first stage boundary that disagrees with intent
— Debugging AI
The loss fell to 11.25 and the model learned nothing
— PyTorch From First Principles
Two embeddings in, one number out, and what gives the number meaning
— Models From First Principles
Validate the whole proposal before any side effect
— Agents From First Principles
Account for the context you did not type
— Context From First Principles
Measure the gap between what you generated and what you chose
— Agents From First Principles
Resolve a provider credential in precedence order
— Pi Agents
The loss went to zero and half the model never moved
— PyTorch From First Principles
Calculate a context budget
— Pi Agents
Count what you send, and do not send the text you will not use
— Browser AI From First Principles
Read a session file and its tree
— Pi Agents
The same cosine means two different things in two spaces
— Embeddings From First Principles
Count the neighbors, then decide
— Cellular Automata From First Principles
See which tools Pi declares to the model
— Pi Agents
A boundary table convicts a rule, not a single input
— Debugging AI
Keep one reading of a source and render from it
— Language
Merge user and project settings
— Pi Agents
Choose a language, or say that you cannot
— Browser AI From First Principles
Decide whether to trust a project
— Pi Agents
Keep derived, external and model content apart
— Language
Tell a current fact from a historical one
— Memory From First Principles
The error names the classifier; the trace names the convolution
— PyTorch From First Principles
The optimizer is a model too: two averages and a preconditioner
— Models From First Principles
Find the loops nobody wrote down
— Memory From First Principles
Inspect the shell prefix and session environment
— Pi Agents
Separate finding a candidate, labelling it, and showing it
— Language
Declare what must survive, then measure what did
— Language
Know the pressure before you attempt a request
— Browser AI From First Principles
The nearest neighbour can be wrong, and a readout can be right
— Embeddings From First Principles
Two tensors, the same shape, and not the same tensor
— PyTorch From First Principles
A car moves only when the road ahead is empty
— Cellular Automata From First Principles
A reading is a decision, and only a person settles it
— Language
Decide which Pi mechanism a requirement needs
— Pi Agents
Staged gates beat one big prompt, and the ablation shows it
— Memory From First Principles
Diffusion is only nearest-neighbor exchange
— Cellular Automata From First Principles
One source, four readers, one gate
— Language
Route a claim through a policy, not through a threshold
— Hallucination From First Principles
Turn a Markdown file into a /review command
— Pi Agents
Advertise a skill by description, load the body on demand
— Pi Agents
A threshold calibrated on one domain does not transfer to another
— Embeddings From First Principles
Give a skill files and a check script it can run
— Pi Agents
Turn an hour of speech into units that walk back to timestamps
— Language
Judge relevance against a purpose, not against a unit
— Language
Register a tool and a command from an extension
— Pi Agents
Block a force push with a tool_call handler
— Pi Agents
What the reader already knows, as narrowly as it can be said
— Language
Match a subscription as written, and require a bridge for a relation
— Language
Return structured tool results and route nested calls
— Pi Agents
Make what the model knows follow the active tools
— Pi Agents
Pick the least representation whose obligations hold
— Language
Deliver on a decision, not on a resolution
— Language
Keep the report, the observation and the effect apart
— Applied AI
Persist a guard's block count as a session entry
— Pi Agents
Replay a hundred and three traces and check the answer again
— Memory From First Principles
Add a slash command and a custom screen that respect the mode rule
— Pi Agents
Resolve the grant from the record, not from the caller
— Applied AI
Run the whole Personal Information Radar on one invented afternoon
— Language
Bind a check to the state it actually reached
— Applied AI
Gate MCP tools by their full mcp__ name and treat annotations as hints
— Pi Agents
Group the trials by a signature, not by the raw text
— Debugging AI
Keep declared, observed and inferred apart
— Language
Read the search rule and the promotion rule as code
— DSPy From First Principles
A failed report is not an absent effect
— Applied AI
An observation is evidence, and an inference only proposes
— Language
Assemble for the task, or report that you cannot
— Context From First Principles
Ship an extension, skills, and prompts as one Pi package
— Pi Agents
Compile a request into a bundle or a typed failure
— Context From First Principles
Compile one plan and refuse the rest
— Language
Take over compaction summarization
— Pi Agents
Branch the session tree
— Pi Agents
Let the overlay end with the session
— Language
What a compilation proves, and where it refuses wrongly
— Context From First Principles
Friction is a contract the person wrote
— Language
Steer a run without interrupting it
— Pi Agents
Next examples