Vibeleaderboard
← All Intel
Intel / article

You Should Write An Agent

Source
fly.io
Publisher
Fly.io
Date

Context

An agent's code controls the conversation history and executes the tools the requests. Fly.io's tutorial makes that division visible with a small loop: send the history and available tools to a model, execute a requested , append its result, and ask the model what to do next.

That makes management an ordinary programming responsibility. Saved messages, tool descriptions, and returned data all occupy the model's limited input space. The application can choose what to retain or give separate tasks different histories and tools. Building the loop exposes those choices directly, even though the tutorial's small example leaves production engineering unresolved.

Terms in this piece · Glossary
  • Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.
  • Tool — An operation that the software around a model makes available for the model to request, with a name, expected inputs and a kind of result.
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Recommended reads