Skip to content
← All topics
Topics

AI

Every article on AI published on this blog, newest first: 9 in total, written by Ramón Chancay.

9 articles on AI

Illustration: on the left, a conversation that ends in an answer; on the right, the same conversation connected to a calendar, a database and an order system, ending in a completed action
AI27 Sep 202615 min read

Chatbot vs AI agent: differences, benefits and which one your business needs

Chatbot vs AI agent: what each one does, their benefits, the work and risk an agent adds, and how to decide which one your business needs before a quote.

Read more
Illustration of a voice agent: a call comes in, a backend resolves dates and options, and a confirmed appointment comes out on the calendar
AI4 Sep 202625 min read

Voice agent that books appointments: ElevenLabs, Cal.com and a backend that never lets the model guess

How I built a voice agent that books 30-minute appointments with ElevenLabs and Cal.com, and why the Fastify backend keeps the model from inventing times.

Read more
Illustration of an agent's hard limits: the agent loop enclosed in a frame of checks—budget, command allowlist, path allowlist—with a kill switch outside and a log of every turn
AI31 Aug 202633 min read

The hard limits of an autonomous agent: what keeps it from disaster

Hard limits that let you leave an autonomous agent running: iteration and token caps, command and path allowlists, a kill switch, idempotency, observability.

Read more
Illustration of the end-to-end system: a Jira ticket enters through a trigger, passes through a stateful queue, runs in an ephemeral workspace, and comes out as a pull request that returns to Jira as a comment
AI2 Jul 202629 min read

From a Jira ticket to a pull request: the end-to-end autonomous system

How I made the agent an autonomous system: a Jira ticket triggers it, a queue with persistent state runs it exactly once, and it returns a PR and a comment.

Read more
Illustration of an isolated agent: a separate working copy branches off the repository on its own branch, the loop works inside it, and the output is a pull request, not a merge
AI30 Jun 202619 min read

The agent inside a real repo: isolating tasks with git worktree and shipping a PR

How to put an agent loop to work on a real repo: isolate each task with git worktree, reproduce the bug with a test, run the suite and ship a PR, not a merge.

Read more
Illustration of the ReAct loop: an agent picks among four tools—read, search, write, run—and builds its own context with each observation
AI30 Jun 202621 min read

From generating files to using tools: a code agent's ReAct loop

From generating a whole function to a code agent that reads, searches, edits and runs with tools: the ReAct loop, and why the agent builds its own context.

Read more
Illustration of three levels of input for an agent: hand-written tests, examples the agent turns into tests, and the repo's existing suite as the evaluator
AI30 Jun 202624 min read

Who writes the agent's tests: three ways to define what's correct

Who writes a coding agent's tests decides what counts as correct. Three options: spec and tests by hand, examples it turns into tests, or the repo's own suite.

Read more
Write-test-fix loop illustration: one node writes code, another tests it, and the failure feeds back as context until the tests pass
AI30 Jun 202624 min read

The simplest loop that works: a write-test-fix agent, step by step

The simplest agent loop that works: spec and tests by hand, the model writes code, it runs, and failures feed back as context. A complete write-test-fix loop.

Read more
Agent loop illustration: a goal enters a cycle of decide, act, and observe that repeats until a stopping condition
AI29 Jun 202612 min read

What an agent loop is (and isn't): state, action, stop

What an agent loop is and isn't: its three components—state, action, and stopping condition—and why 'build me an app' is input for a chat, not an agent.

Read more