> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agno.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Background Tasks

> Examples for `background_tasks` in AgentOS.

| Example                                                                                          | Description                                                                             |
| ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- |
| [Background Evals Example](/examples/agent-os/background-tasks/background-evals-example)         | This example demonstrates fine-grained control over which hooks run in background:.     |
| [Background Hooks Decorator](/examples/agent-os/background-tasks/background-hooks-decorator)     | This example demonstrates how to run post-hooks as FastAPI background tasks,.           |
| [Background Hooks Example](/examples/agent-os/background-tasks/background-hooks-example)         | This example demonstrates how to run post-hooks as FastAPI background tasks,.           |
| [Background Hooks Team](/examples/agent-os/background-tasks/background-hooks-team)               | This example demonstrates how to use background hooks with a Team.                      |
| [Background Hooks Workflow](/examples/agent-os/background-tasks/background-hooks-workflow)       | This example demonstrates how to use background hooks with a Workflow.                  |
| [Background Output Evaluation](/examples/agent-os/background-tasks/background-output-evaluation) | This example demonstrates how to use a validator agent to evaluate the main agent's.    |
| [Evals Demo](/examples/agent-os/background-tasks/evals-demo)                                     | Simple example creating a session and using the AgentOS with a SessionApp to expose it. |
