# Ai agents, build within n8n or as an openai assistant

**URL:** <https://community.n8n.io/t/ai-agents-build-within-n8n-or-as-an-openai-assistant/64187>\
**Category:** Questions\
**Created:** [December 5, 2024, 2:52pm UTC](https://community.n8n.io/t/ai-agents-build-within-n8n-or-as-an-openai-assistant/64187 "2024-12-05T14:52:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![El\_Mate](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/el_mate/32/50241_2.png) [@El\_Mate](https://community.n8n.io/u/El_Mate)\
**Post date:** [December 5, 2024, 2:52pm UTC](https://community.n8n.io/t/ai-agents-build-within-n8n-or-as-an-openai-assistant/64187/1 "2024-12-05T14:52:02Z")

</div>

Question?

What is the best and most powerful way to build an AI agent within n8n, one that can scale, grow and remember all its chats?

- Should we build the assistant within the OpenAI platform and then integrate it into n8n?
- Or is it better to build the AI agent directly in n8n, configuring the prompts within its settings?

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [December 5, 2024, 2:52pm UTC](https://community.n8n.io/t/ai-agents-build-within-n8n-or-as-an-openai-assistant/64187/2 "2024-12-05T14:52:03Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![gualter](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/gualter/32/139417_2.png) [@gualter](https://community.n8n.io/u/gualter)\
**Post date:** [December 12, 2024, 4:06pm UTC](https://community.n8n.io/t/ai-agents-build-within-n8n-or-as-an-openai-assistant/64187/3 "2024-12-12T16:06:18Z")

</div>

hi @El_Mate

Welcome to the community! I think it really depends on what you need. We recently started a youtube session on building with AI you should give a look: [https://www.youtube.com/playlist?list=PLlET0GsrLUL7LWMf4Q3gHNu5mk-hur7QV](https://www.youtube.com/playlist?list=PLlET0GsrLUL7LWMf4Q3gHNu5mk-hur7QV)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [March 12, 2025, 4:07pm UTC](https://community.n8n.io/t/ai-agents-build-within-n8n-or-as-an-openai-assistant/64187/4 "2025-03-12T16:07:00Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
