Skip to main content
Agents discover useful patterns as they work. A support agent learns that customers prefer step-by-step solutions with code examples. A technical writer agent learns that “Operational Thinking” produces better documentation. Culture preserves these insights as shared knowledge that benefits all agents, turning them into reusable rules your agents can follow from day one.

How Culture Works

Culture provides a shared knowledge layer where agents store universal principles, best practices, and reusable insights that apply across all interactions. Unlike Memory, which stores user-specific facts (“Sarah prefers email”), Culture stores universal knowledge that benefits everyone (“Always provide actionable solutions with clear next steps”). With automatic culture enabled, a background culture model evaluates the user’s message against existing cultural knowledge. It can add or update shared knowledge while the agent handles the request. Later runs load that shared culture into the agent’s context.
Culture ≠ Memory: Culture stores universal principles and best practices that apply to all interactions. Memory stores user-specific facts and preferences.
Notice: Culture is an experimental feature and is subject to change. The current goal is helping agents stay consistent in tone, reasoning, and behavior. The eventual goal is to transform isolated agents into a living, evolving system of collective intelligence.

Why Use Culture?

Culture enables intelligence to compound. Instead of each agent starting from scratch, they build on collective experience:
  • Consistency: All agents follow the same communication standards, formatting rules, and best practices
  • Evolution: Shared standards can be updated as requirements change
  • Efficiency: Agents don’t re-learn the same lessons repeatedly
Example Use Cases:
  • Technical documentation agents that maintain consistent style and structure
  • Customer support teams that apply proven problem-solving patterns
  • Development assistants that follow your organization’s coding standards
  • Content generation that adheres to brand voice and formatting guidelines

Getting Started with Culture

To set up culture, connect a database and enable the culture feature:
With these flags enabled, your agent automatically:
  1. Loads cultural knowledge when starting a task
  2. Applies that knowledge during reasoning and response generation
  3. Sends the user’s message to the culture model in the background
  4. Adds or updates cultural knowledge based on that message

Three Approaches to Culture Management

Agno gives you three ways to manage cultural knowledge, depending on your needs:

1. Automatic Culture (update_cultural_knowledge=True)

During each agent run, the culture model analyzes the user’s message and can update cultural knowledge. In Agno v2.7.4, it does not receive the agent response, tool results, or run outcome.
Best for: Capturing general principles from user requests without explicit culture tool calls.

2. Agentic Culture (enable_agentic_culture=True)

The agent gets full control over culture management through built-in tools. It decides when and what to add to the cultural knowledge base.
With agentic culture, the agent has tools to manage cultural knowledge and can add or update entries mid-conversation whenever it sees fit. Best for: Complex workflows where the agent should actively decide what principles to establish or update during the task.

3. Manual Culture Management

Create cultural knowledge explicitly using the CultureManager or by directly instantiating CulturalKnowledge objects. Use this to seed organizational standards.
Best for: Seeding initial organizational principles, onboarding standards, or brand guidelines that all agents should follow.

Storage: Where Culture Lives

Cultural knowledge is stored in the database you connect to your agent. Agno supports all major database systems: Postgres, SQLite, MongoDB, and more. Check the Database documentation for the full list. By default, cultural knowledge is stored in the agno_culture table (or collection for document databases). A custom table name can also be configured. If this table doesn’t exist, Agno creates it automatically.

Manual Culture Retrieval

You can manually retrieve cultural knowledge using the CultureManager:

Cultural Knowledge Data Model

Each cultural knowledge entry in your database contains the following fields:

Best Practices

  1. Start with Manual Seeding: Define core organizational principles, communication standards, and best practices upfront
  2. Use Automatic Updates in Production: Let update_cultural_knowledge=True handle the evolution naturally
  3. Review Periodically: Check what cultural knowledge has accumulated and refine as needed
  4. Keep Culture Focused: Culture should contain universal principles, not task-specific details
  5. Combine with Memory: Use Culture for “how we do things” and Memory for “what I know about you”

Common Use Cases

Technical Documentation Standards

Customer Communication Tone

Code Review Principles