Anatomy of an AI agent
Every agent in Eloquent is built from several core components. Together, these define how the agent behaves, what it knows, and how it fits into your branded experience.
1. Prompts & logic
Prompts and logic control the brain of your agent.
- Define how the agent understands questions.
- Shape the tone of voice and style of responses.
- Add rules for specific tasks or workflows.
Think of this as the conversation layer: how the agent talks and reacts.
See Agent prompting for a deeper dive into writing effective prompts.
2. Knowledge base (RAG)
Agents can be connected to external knowledge sources through Retrieval-Augmented Generation (RAG).
- Upload documents, connect site content, or point to structured data.
- The agent uses this information to provide accurate, context-rich answers.
- Ideal for support agents, product documentation, or internal knowledge.
This is the memory of the agent.
Learn more in Knowledge base & RAG about connecting and configuring sources.
3. Settings
Control how strict or creative the agent should be:
- Strict mode → better for support or factual tasks (stick to knowledge base).
- Creative mode → better for content generation or brainstorming.
- Balance flexibility vs. reliability per use case.
This is the personality dial of the agent.
Explore Agent settings for details on temperature, similarity, reranking, and embeddings.
4. Integrations
Agents don’t just answer — they can also take action.
- Connect to APIs and webhooks.
- Automate processes via tools like n8n or Make.
- Sync with CRMs, CMSs, or e-commerce systems.
This is the hands of the agent: what it can do beyond talking.
Visit Integrations to see how to connect APIs, webhooks, and external apps.
5. Branding
Every agent can be configured to fit your brand.
Check Agent branding for full customization options and best practices.
6. Interface
Interfaces define how users interact with your agent.
- Full screen → full-screen interface for creative or internal use cases.
- Center stage → optimized for websites when focus is needed; best for support, discovery, and lead conversion.
- Chatbot → optimized for websites; best for support, discovery, and lead conversion.
This is the window of the agent: how people see and use it.
Go to Interfaces for guidance on Full screen, Center stage, and Chatbot modes.
Together, these parts make every agent flexible, powerful, and unique to your business.