About the Drupal AI Context Control Center (CCC, ai_context)
The Context Control Center (CCC) Drupal module "helps Drupal AI use your content, rules, and standards to deliver more accurate, relevant results."
Helpful Links
- The module page has a section on how devs can best contibute with Installation and Testing Steps: https://www.drupal.org/project/ai_context#install-testing-steps
- (possibly outdated, ie. recommends Surge instead of AI Best Practices) Documentation for contributions: https://ai-context-b13f05.pages.drupalcode.org/contribute/
- Codebase on Gitlab: https://git.drupalcode.org/project/ai_context
- 2026-10-13 An article last updated on October 13, 2026, titled "Context engineering in Drupal: introducing the AI Context Module" can be found here: https://salsa.digital/insights/operationalising-context-engineering-drupal-introducing-ai-context-module/
- 2026-10-08 YouTube: September 30, 2026 DrupalCon Rotterdam: Context Control Center: Bringing AI Context Natively to Drupal CMS
- 2026-09-30 Information about the talk can be found here: https://events.drupal.org/rotterdam2026/session/context-control-center-bringing-ai-context-natively-drupal-cms
- 2026-10-05 Release Candidate 1 (RC1) was released on October 5th, 2026. A blog post about it can be found here: https://salsa.digital/insights/drupal-ai-context-first-release-candidate-available
- 2026-09-16 An article from September 16, 2026 "The Context Control Center and your AI Automators" can be found here: https://www.morpht.com/blog/same-rules-every-suggestion-context-control-center-and-your-ai-automators
- 2026-09-11 An overview of a presentation by Kristen at the AI Learner's Club titled "2026-09-11 — Context Control Center: Teaching Drupal AI Your House Rules" On September 11, 2026 can be found here: https://www.drupal.org/docs/develop/development-tools/ai-coding-tools-for-drupal-development/drupal-ai-learners-club-sessions/2026-09-11-%E2%80%94-context-control-center-teaching-drupal-ai-your-house-rules
- 2026-08-24 Drupal AI: Context Control Center update and demo, August 2026
It's important to know that context items are Drupal content entities. So, they get moderation, revisions, scheduling, multilingual support, and more.
Context examples
- Brand Guidelines
- Taglines & Slogans
- Pricing & Packages
- A11y Standards
- Case Studies
- Tone of Voice
- Audience Personas
- FAQS
- SEO Data
- Client Quotes
- Writing Rules
- Journey Maps
- Glossary
- Content Templates
- Partner List
- Editorial Guide
- Product List
- Compliance Rules
- Landing Page Rules
- Privacy Policies
- Service Catalog
- Legal Disclaimers
- Campaign Briefs
- Language Rules
Overview of Context Management
The module provides a way to create "Context Items" with moderation, revisions, scheduling, multilingual support, and markdown editing in a Drupal CMS-native Ul.
Context Scope Plugins
Categorize context with agents subscribing to the most relevant scopes, all of which are plugins.
Scope: Applies Everywhere
- Global
Scope: Chosen By People
- Context Tags
- Use Cases
Scope: Detected from Page, User, etc.
- Site Sections
- Languages
- Role
- Specific Entities
- Entity Types
- Taxonomy Terms
Consumers
Subcontext
Subcontexts group items into a one-level hierarchy, with children always included or LLM-selected based on relevance.
Context Selection
Controls what each agent receives via scopes, entity targeting, and inclusion rules, with configurable item and token limits.
Admin Experience
Includes a lightweight dashboard, usage tracking, access control, and configurable settings for scopes and moderation.
Developer Experience
Includes debug logging, agent debugging tools, comprehensive test coverage, and detailed documentation.
Three steps to your first context item
Install
composer require drupal/ai_context
drush en ai_contextRequires the Al and AI Agents modules and a configured provider.Add sample context
drush recipe modules/contrib/ai_context/recipes/ai_context_demo_universityUnpublished university examples you can edit, copy, or learn from.Open the overview
/admin/config/ai/contextOnboarding page with links to items, consumers, scopes, and usage.Notes
One of the ways the context can be scoped is you can create "Custom Sections" (see Drupal AI: Context Control Center update and demo, August 2026 https://youtu.be/yT-x-21okIY?t=2088), then when you create context items, you can tag them with that scope.