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

# Memory and Agents

> How Annie learns from every interaction and coordinates specialized agents

Annie isn't just a search engine. She's an **intelligent system** that learns from every interaction and coordinates specialized agents to solve complex problems.

## Multi-Agent Investigation

When Annie investigates an incident, she coordinates multiple specialists working in parallel:

| Agent                    | Role                                                            |
| ------------------------ | --------------------------------------------------------------- |
| **Observability Agent**  | Searches logs, metrics, and traces across your monitoring tools |
| **Infrastructure Agent** | Explores topology, dependencies, and recent changes             |
| **Code Agent**           | Examines source code, configuration files, and recent commits   |

These agents share findings with each other, building a complete picture faster than any single investigation could.

<AccordionGroup>
  <Accordion icon="bolt" title="Why This Matters">
    * **Parallel investigation:** Multiple agents work simultaneously, dramatically reducing investigation time
    * **Deep expertise:** Each agent is optimized for its domain
    * **Intelligent coordination:** Agents share context and build on each other's findings
    * **Adaptive depth:** Simple questions get quick answers; complex incidents get thorough investigation
  </Accordion>
</AccordionGroup>

## How Annie Learns

After each investigation, Annie:

1. **Reflects** on what worked and what patterns emerged
2. **Curates** learnings into structured knowledge for future use
3. **Applies** relevant context automatically in future investigations

This means Annie remembers things like:

* *"Last time this alert fired, the issue was a security group change"*
* *"Database connection errors below 5/min are normal noise for this service"*
* *"The payment-service depends on Redis in us-east-1"*

## What Annie Remembers

<CardGroup cols={2}>
  <Card title="Infrastructure Patterns" icon="sitemap">
    Service relationships, deployment topologies, dependencies
  </Card>

  <Card title="Operational Baselines" icon="chart-line">
    Normal vs anomaly thresholds, error signatures, warning patterns
  </Card>

  <Card title="Tool Shortcuts" icon="wand-magic-sparkles">
    Effective queries, useful metrics, dashboard locations
  </Card>

  <Card title="Business Context" icon="building">
    Which services power which features, team ownership, critical paths
  </Card>
</CardGroup>

## Custom Knowledge

Add knowledge Annie can't learn automatically: team conventions, business context, vendor specifics, escalation procedures.

<Card title="Learn about Customization" icon="sliders" href="/pages/product/customization">
  Configure custom instructions and knowledge for your organization
</Card>

## Related

<CardGroup cols={2}>
  <Card title="Knowledge Graph" icon="database" href="/pages/overview/knowledge_graph">
    The unified model of your stack that Annie's agents investigate.
  </Card>

  <Card title="Root Cause Analysis" icon="bolt" href="/pages/product/root_cause_analysis">
    See the multi-agent investigation in action on a live incident.
  </Card>
</CardGroup>
