Programmer.ieTechnical library for the AI era
  • Home
  • Books
  • Solutions
  • Learn
  • Prompts
  • Articles
  • Search
  • About

Agents

  • What Is an Agent, Really?
  • The Action Boundary
  • Candidate Generation and Selection
  • Critique, Revision, and Acceptance
  • Planning and Execution
  • Runtime State, Progress, and Termination
  • Capabilities and Routing
  • Memory and Selective Recall
  • Trajectory Search
  • Evidence and Verification
  • Building the Complete Agent
  • Advanced Agents From First Principles 24: How Do You Release Agent Behavior Safely? Add Behavioral Contracts, Compatibility Checks and Promotion Gates
  • Advanced Agents From First Principles 19: Can Your Agent Explore in Parallel Without Creating Chaos? Use Speculative Execution and Early Cancellation
  • Advanced Agents From First Principles 06: Does One Agent Plan, Execute and Judge Its Own Work? Build a Planner-Executor-Critic Architecture
  • Advanced Agents From First Principles 05: Is One Model Doing Everything? Build a Mixture of Experts at the Agent Level
  • Advanced Agents From First Principles 04: Does Your Agent Prune Good Ideas Too Early? Use Monte Carlo Tree Search for Long-Horizon Reasoning
  • Advanced Agents From First Principles 03: Does Your Agent Commit to a Bad Reasoning Path Too Early? Build a Tree of Thoughts
  • Advanced Agents From First Principles 02: Why Does My Reasoning Agent Give a Different Answer Every Time? Use Self-Consistency Without Confusing Consensus With Truth
  • Advanced Agents From First Principles 01: Does Your AI Agent Fail on Complex Reasoning Tasks? Treat Chain of Thought as Computation, Not Proof
  • Advanced Agents From First Principles 00: When Should You Use an Advanced Agent Architecture?
  • Delta Memory: Cargo-Culting Human Memory with Search
  • A Memory Gate for AI: Policy-Bounded Acceptance in the Executable Cognitive Kernel
  • Intelligence Through Execution: The Executable Cognitive Kernel
  • Hallucination Energy: A Geometric Foundation for Policy-Bounded AI
  • ✨ TINY CRITICS: Lightweight Reasoning Checks for Large AI Systems
  • The Nexus Blossom: How AI Thoughts Turn into Habits
  • 🔦 Phōs: Visualizing How AI Learns and How to Build It Yourself
  • Episteme: Distilling Knowledge into AI
  • From Photo Albums to Movies: Teaching AI to See Its Own Progress
  • SIS: The Visual Dashboard That Makes Stephanie's AI Understandable
  • Everything is a Trace: Stephanie Enters Full Reflective Mode
  • Layers of thought: smarter reasoning with the Hierarchical Reasoning Model
  • Stephanie's Secret: The Dawn of Reflective AI
  • The Shape of Thought: Exploring Embedding Strategies with Ollama, HF, and H-Net
  • Getting Smarter at Getting Smarter: A Practical Guide to Self-Tuning AI
  • Epistemic Engines: Building Reflective Minds with Belief Cartridges and In-Context Learning
  • Self-Improving AI: A System That Learns, Validates, and Retrains Itself
  • Teaching Tiny Models to Think Big: Distilling Intelligence Across Devices
  • Agent Architectures: Chapter 2
  • Compiling Thought: Building a Prompt Compiler for Self-Improving AI
  • Agent Architectures: Chapter 1
  • Thoughts of Algorithms
  • Document Intelligence: Turning Documents into Structured Knowledge
  • Learning to Learn: A LATS-Based Framework for Self-Aware AI Pipelines
  • Dimensions of Thought: A Smarter Way to Evaluate AI
  • Programming Intelligence: Using Symbolic Rules to Steer and Evolve AI
  • Adaptive Reasoning with ARM: Teaching AI the Right Way to Think
  • A Novel Approach to Autonomous Research: Implementing NOVELSEEK with Modular AI Agents
  • General Reasoner: The smarter Local Agent
  • Building a Self-Improving Chain-of-Thought Agent: Local LLMs Meet the CoT Encyclopedia
  • Self-Improving Agents: Applying the Sharpening Framework to Local LLMs
  • Building an AI Co-Scientist
  • Uncovering Reasoning in LLMs with Sparse Autoencoders
  • Optimizing Prompt Generation with MARS and DSPy
  • Shakespeare and the Bible: An AI Investigation
  • Build Smarter AI: Leveraging the Model Context Protocol for Dynamic Context
  • Beyond Text Generation: Coding Ollama Function Calls and Tools
  • Building AI-Powered Applications with Haystack and Ollama
  • LiteLLM: A Lightweight Wrapper for Multi-Provider LLMs
  • The Power of Logits: Unlocking Smarter, Safer LLM Responses
  • Automating Paper Retrieval and Processing with PaperSearch
  • RAFT: Reward rAnked FineTuning - A New Approach to Generative Model Alignment
  • DeepResearch Part 3: Getting the best web data for your research
  • DeepResearch Part 2: Building a RAG Tool for arXiv PDFs
  • DeepResearch Part 1: Building an arXiv Search Tool with SmolAgents
  • Writing Neural Networks with PyTorch
  • Mastering Prompt Engineering: A Practical Guide
  • Harnessing the Power of Stable Diffusion WebUI
  • Rag: Retrieval-Augmented Generation
  • CAG: Cache-Augmented Generation
  • Agents: A tutorial on building agents in python
  • Courses: Free course on Agentic AI
  • Ollama: The local LLM solution
Programmer.ie

Technical library for the AI era.

Understand what is changing. Learn how it works. Use it.

© 2026 Ernan Hughes
  • Books
  • Learn
  • Solutions
  • Prompts
  • Articles
  • Search
  • About