System prompts for the Grok chat assistant and X bot
Top 14.7% on sourcepulse
This repository provides the system prompts used by X's Grok AI chat assistant and associated bots. It offers transparency into the AI's behavior and is intended for researchers and users interested in understanding or replicating Grok's conversational logic.
How It Works
The project makes available Jinja2 template files (.j2
) containing the specific instructions and context given to the Grok AI models. These prompts define the AI's persona, task execution, and response generation strategies for various features like the main chat assistant, deep search summarization, and the "Grok Explain" functionality.
Highlighted Details
Maintenance & Community
This repository is actively updated by X (formerly Twitter) with new system prompts for their Grok AI products.
Licensing & Compatibility
Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). This is a strong copyleft license, requiring derivative works to also be open-sourced under the same license, even if distributed over a network. Commercial use or integration into closed-source products may be restricted due to the AGPL-3.0's requirements.
Limitations & Caveats
The prompts are specific to X's Grok AI and may not be directly transferable or effective with other LLM architectures without significant adaptation. The AGPL-3.0 license imposes strict obligations on any modifications or derivative works.
2 weeks ago
Inactive