> ## 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)         | Run one AgentAsJudgeEval post-hook synchronously and another in the background in AgentOS. |
| [Background Hooks Decorator](/examples/agent-os/background-tasks/background-hooks-decorator)     | Run post-hooks as FastAPI background tasks, making them completely non-blocking.           |
| [Background Hooks Example](/examples/agent-os/background-tasks/background-hooks-example)         | Run post-hooks as FastAPI background tasks, making them completely non-blocking.           |
| [Background Hooks Team](/examples/agent-os/background-tasks/background-hooks-team)               | Use background hooks with a Team.                                                          |
| [Background Hooks Workflow](/examples/agent-os/background-tasks/background-hooks-workflow)       | Use background hooks with a Workflow.                                                      |
| [Background Output Evaluation](/examples/agent-os/background-tasks/background-output-evaluation) | Use a validator agent to evaluate the main agent's output as a background task.            |
| [Evals Demo](/examples/agent-os/background-tasks/evals-demo)                                     | Simple example creating a session and using the AgentOS with a SessionApp to expose it.    |
