# AI Agent Knowledge Management

In the MOSS AiPod2, Agent Genetic Module Prompts and RAG Knowledge Bases play distinct roles, each influencing the behavior and information retrieval capabilities of agents.<br>

**Agent Genetic Module Prompts**\
Purpose: Define the agent's persona, language style, and interaction rules, determining how it expresses itself and how it responds to users.\
Trigger: Agent prompts take effect during each inference process, influencing the overall conversational style and behavior of the agent.\
Example: An AI assistant’s prompt might be set to define it as a “witty and humorous financial analyst,” ensuring it maintains a specific tone and professionalism across all conversations.

{% content-ref url="ai-agent-knowledge-management/edit-agent-gene-module-prompts" %}
[edit-agent-gene-module-prompts](https://hyperdust-foundation.gitbook.io/moss-ai-docs/archived/game/ai-agent-knowledge-management/edit-agent-gene-module-prompts)
{% endcontent-ref %}

**Agent Knowledge Base**\
Purpose: Stores additional knowledge-based information. When the agent requires specific expertise or content, it retrieves and queries the knowledge base.\
Trigger: The knowledge base is only accessed when the user’s query pertains to related content.\
Example: If the knowledge base contains a "MOSS AI RAG Knowledge Base Creation Guide," the agent will search for and provide that information only when the user asks about it.

{% content-ref url="ai-agent-knowledge-management/launch-rag-knowledge-base" %}
[launch-rag-knowledge-base](https://hyperdust-foundation.gitbook.io/moss-ai-docs/archived/game/ai-agent-knowledge-management/launch-rag-knowledge-base)
{% endcontent-ref %}
