Skip to main content
Imagine agents that learn from every interaction and share those learnings with each other. A support agent discovers that customers prefer step-by-step solutions with code examples. A technical writer agent learns that “Operational Thinking” produces better documentation. These insights shouldn’t be lost—they should become part of a shared culture that benefits all agents, forever. Culture turns these patterns 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”). When an agent completes a task, it can reflect on what worked well and distill that into cultural knowledge. Later, when any agent faces a similar situation, it automatically accesses this shared culture and applies those learnings.
Culture ≠ Memory: Culture stores universal principles and best practices that apply to all interactions. Memory stores user-specific facts and preferences. Think of Culture as “how we do things here” and Memory as “what I know about you.”
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: Your agent system improves over time as agents learn what works
  • 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

Setting up culture is straightforward: connect a database and enable the culture feature. Here’s a basic setup:
With these flags enabled, your agent automatically:
  1. Loads relevant cultural knowledge when starting a task
  2. Applies that knowledge during reasoning and response generation
  3. Reflects on the interaction afterward
  4. Updates or adds cultural knowledge based on what it learned

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)

After each agent run, the system automatically reflects on the interaction and updates cultural knowledge. This is the recommended approach for most production use cases.
Best for: Production systems where you want agents to continuously improve their approach based on what works.

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 is equipped with tools to manage cultural knowledge when it deems relevant during the conversation itself, not just after completion. 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. Perfect for seeding 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_cultural_knowledge 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