# Chapter 17: Autonomous agents

Part of the course “AI from Zero to Autonomous Agents” (https://llm.yoga/en). Page for humans: https://llm.yoga/en/17-selbststaendige-agenten

*Triggers, state, memory, background work, notifications and running as a service: using tybo and its public relatives as the example.*

About 25 min to read · about 30 min hands-on exercise

**Start with the missions**

This chapter also comes as 3 short missions with a case, a decision and feedback, about 10 minutes each:

- [17.1 An assistant like tybo in one afternoon?](https://llm.yoga/en/einsatz-17-1.md)
- [17.2 The briefing came with yesterday’s calendar](https://llm.yoga/en/einsatz-17-2.md)
- [17.3 Since yesterday, only the fallback model answers](https://llm.yoga/en/einsatz-17-3.md)

For agents, this page is split into 4 parts so that each part can be fetched in full. Read the parts the question needs.

## Parts

### Part 1: https://llm.yoga/en/17-selbststaendige-agenten-1.md

- **Getting started**: A chat is like an information desk at a train station.
- **What sets a long-runner apart from a chat**: A chat starts when you write a message and ends with the answer.
- **tybo from the inside**: tybo describes itself as an assistant that runs around the clock for one person, on that person’s own computer.

### Part 2: https://llm.yoga/en/17-selbststaendige-agenten-2.md

- **Walked through: a day in the life of a long-runner**: At no point did anyone have to start a process by hand.
- **Restarting without cutting off answers**: One detail from tybo shows well how a long-runner differs from a script.
- **Relatives: public projects of the same kind**: tybo isn’t alone. In recent years several open projects have appeared that try the same thing: a personal agent on your own hardware, reachable through a messenger, with memory and schedules.

### Part 3: https://llm.yoga/en/17-selbststaendige-agenten-3.md

- **What makes building one yourself hard**: A Telegram bot that passes messages on to a model is an afternoon’s work.
- **Exercise: a routine that follows the “no stale data” rule**: Goal: you build a small routine that every morning sums up a notes file in three bullet points with a local model, only if the file is fresh, and otherwise ends with an error code.
- **Common misconceptions**: An agent that runs around the clock is thinking all the time.

### Part 4: https://llm.yoga/en/17-selbststaendige-agenten-4.md

- **Review questions**: 1. A colleague builds his assistant so that routines send their results directly through the Telegram API, each in its own way.
- **Go further**: tybo: README and architecture (repository), especially docs/architecture.md.
