> For the complete documentation index, see [llms.txt](https://sestra.gitbook.io/sestra-whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sestra.gitbook.io/sestra-whitepaper/visual-structure-and-flow/ai-agent-flowchart.md).

# AI Agent Flowchart

```yaml
  ┌───────────────────────────────┐
  │        Agent Trigger          │
  └───────────────────────────────┘
                 │
                 ▼
  ┌───────────────────────────────┐
  │        Decide Action          │
  └───────────────────────────────┘
                 │
                 ▼
  ┌───────────────────────────────┐
  │         Request API           │
  └───────────────────────────────┘
                 │
                 ▼
  ┌───────────────────────────────┐
  │     Sestra Verification       │
  └───────────────────────────────┘
                 │
                 ▼
  ┌───────────────────────────────┐
  │        Access Session         │
  └───────────────────────────────┘
                 │
                 ▼
  ┌───────────────────────────────┐
  │     Agent Executes Task       │
  └───────────────────────────────┘
                 │
                 ▼
  ┌───────────────────────────────┐
  │        Session Ends           │
  └───────────────────────────────┘

```
