As AI models, agents, and humans increasingly collaborate across tools, platforms, and workflows, it becomes critical to define context, actors, data boundaries, and instructions in a way that is both machine- and human-readable. Disconnected systems and hidden rules often cause confusion, privacy risk, and inefficiency.
context.json solves this by providing a single, unified, and portable configuration file that precisely defines all relevant context, instructions, roles, and history for any AI-powered session, workflow, or collaboration. It makes context and collaboration explicit, composable, and auditable, enabling secure, robust, and transparent operations in any environment.
- Open Standard: Freely available, community-driven, and vendor-neutral.
- Cross-Platform: Works with any AI/ML model, agent, human, or service, across any stack or workflow.
- Portable: Move, archive, or share entire sessions, instructions, and history as a single file.
- Explicit Context: All instructions, sources, actors, privacy settings, and constraints are clear and inspectable.
- Auditable Collaboration: Complete record of who did what, when, and why—critical for compliance, enterprise, and regulated use.
- Extensible: Supports custom fields for domain- or use-case-specific configuration.
The context.json standard defines a structured way to specify context, instructions, actors, sources, boundaries, and collaboration history for any AI-driven workflow. The goal: maximum clarity, security, and interoperability.
A unique identifier for the context (UUID or deterministic hash).
The version of the context.json standard.
Short, clear statement describing what this context is for.
List of all human users, AI models, or services participating in this context.
External documents, APIs, or data used within the session.
Explicit step-by-step instructions or rules for the workflow. Each is a clear, single string.
Defines privacy, scope, output, and data usage constraints.
Chronological log of all significant events, messages, and actions.
Creation or last update time for this context.
Open-ended space for any additional configuration, protocol links, or metadata.
Eliminates hidden context. Everyone—human or AI—sees the same instructions, sources, and constraints.
Explicit boundaries and roles help ensure correct use of data, auditability, and regulatory compliance.
Move sessions and workflows between teams, tools, and AI agents with full fidelity.
A clear, inspectable record of all actions, sources, and events—enabling trusted, accountable AI.
Support for custom domains, fields, and future protocol links—built for growth and ecosystem integration.
context.json is an open standard, actively seeking community input and implementation feedback. See GitHub for drafts, specification, and examples. Discussion and improvements welcome.
context.json is an open standard ・ v1 ・ Contribute on GitHub
.png)

