> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/build/integrate-ai/understand-ai-components.md).

# Understand AI components

{% content-ref url="/pages/PveFTd76hqikcmbxPJsW" %}
[What chains do](/build/integrate-ai/understand-ai-components/what-chains-do.md)
{% endcontent-ref %}

{% content-ref url="/pages/7UeVW5VL0G9CNx14Zukf" %}
[What agents do](/build/integrate-ai/understand-ai-components/what-agents-do.md)
{% endcontent-ref %}

{% content-ref url="/pages/DXu9pNFpJkQ2hH8QQYeo" %}
[How memory works](/build/integrate-ai/understand-ai-components/how-memory-works.md)
{% endcontent-ref %}

{% content-ref url="/pages/Id2ITQoYieJj3G1mUSce" %}
[How tools work](/build/integrate-ai/understand-ai-components/how-tools-work.md)
{% endcontent-ref %}

{% content-ref url="/pages/1vhYgHXWojCMhL8hxvLV" %}
[Store and search data with vectors](/build/integrate-ai/understand-ai-components/store-and-search-data-with-vectors.md)
{% endcontent-ref %}

{% content-ref url="/pages/X5ekt2uchUMib2LXENQB" %}
[Retrieve relevant context](/build/integrate-ai/understand-ai-components/retrieve-relevant-context.md)
{% endcontent-ref %}

{% content-ref url="/pages/KuC1jxKoLjZ72H1CFKAd" %}
[Agents vs chains](/build/integrate-ai/understand-ai-components/agents-vs-chains.md)
{% endcontent-ref %}
