Ticket LS-412 from Priya: “The bulk discount is wrong: Ana ordered 50 hinges and got no discount.”
Chapter 1 of 7
Read, edit, run
A Larkspur ticket says the bulk discount is wrong. The team hands it to a coding agent with the shop’s code and its tests.
This chapter: What does a coding agent actually do with a ticket?
About this chapter
You will learn
- An agent works in turns: an action, then its result
- The host carries out every action
- Running the tests closes the loop
Words you’ll meet
- Coding agent
- A model that changes code by asking a host to search, read, edit and run things, one turn at a time.
- Repository
- The project’s files, kept together: here, the shop’s pricing code and its tests.
- Test
- A small program that checks one thing the code must do, and passes or fails.
- Agent loop
- Ask for an action, get its result, pick the next action, until done.
Step 1 of 4
A works in turns. It asks the host for one action; the host does it and returns the result.
Predict its first action.