Skip to content

UCL 5.0 'GraphNative' is an advanced formal language specification designed for clear, unambiguous, and powerfully expressive communication with AI systems (especially Large Language Models - LLMs) and between software components. It enables precise instruction, rich data representation as semantic graphs, and sophisticated contextual control.

License

Notifications You must be signed in to change notification settings

NeuroTinkerLab/ucl-graphnative-specification

Repository files navigation

UCL 5.0 "GraphNative" (Universal Contextual Language)

UCL 5.0 "GraphNative" is an advanced formal language specification designed for clear, unambiguous, and powerfully expressive communication with AI systems (especially Large Language Models - LLMs) and between software components. It enables precise instruction, rich data representation as semantic graphs, and sophisticated contextual control.


🌟 Why UCL 5.0 "GraphNative"?

As AI systems evolve, the need for a communication method that matches their sophistication becomes critical. UCL 5.0 builds on the foundation of previous versions to address the challenges of instructing and interacting with highly capable AI:

  • Deep Semantic Precision: Moves beyond simple structured data to graph-native payloads, where relationships and meanings are explicitly defined using URIs, minimizing ambiguity.
  • Sophisticated Contextual Control: Introduces the Context Mixer (cm:), a powerful mechanism to define, weigh, and combine multiple contextual influences (e.g., style, audience, domain knowledge, ethical guidelines) to precisely guide AI behavior.
  • Enhanced AI "Instructability": Empowers developers to "program" AI tasks with a higher degree of control, leading to more predictable, reliable, and nuanced outcomes from LLMs and other AI services.
  • True Semantic Interoperability: Facilitates a shared, machine-interpretable understanding of complex data and commands between diverse systems by leveraging RDF-like principles and shared vocabularies.
  • Robust Automation of Complex AI Workflows: Provides a clear language for defining configurations, data transformations, multi-step reasoning processes, and inter-agent communication.

🚀 Core Concepts of UCL 5.0

UCL 5.0 messages are built upon these enhanced core ideas:

  • Structured Message Envelope: A clear syntax defining Source (optional), Target, Operation_UCLID (using execute as the primary verb), and high-level Modifiers.
  • UCL-IDs (URIs): Globally unique identifiers (URIs, often shortened with @prefix to CURIEs) for all semantic elements: concepts, entities, properties (predicates), actions, and contextual aspects.
  • Graph-Native Payload (PayloadGraph): The core data of the message is represented as a graph of semantic triples (subject predicate object), enabling rich and explicit relationship modeling.
  • Context Mixer (cm:): The primary mechanism for advanced context management. ^cm:profile modifiers link operations to "Context Mixer Profiles" that define how various contextual focuses are weighted, filtered, and applied.
  • Optional Context Stack (#): A simpler, linear stack of contexts (from UCL 4.2) can still be used for broader, complementary contextual framing.
  • Extensibility & Vocabularies: Designed to be extended with custom, domain-specific vocabularies and ontologies, while encouraging reuse of standard ones (e.g., Schema.org).

✨ Key Features of UCL 5.0 "GraphNative"

  • Graph-Native Data Representation: Directly model complex, interconnected information within message payloads.
  • Advanced Context Mixer: Fine-grained control over multiple, weighted contextual influences.
  • Streamlined Envelope Syntax: Clear and focused on orchestrating the operation.
  • Enhanced Semantic Rigor: Strong emphasis on URI-based identification for all concepts.
  • Optimized for LLM Orchestration: Designed to instruct LLMs on how to think and process, not just what to process.
  • Foundation for Reasoning Traces: Supports requests for structured explanations of AI processing.
  • Conceptual Binary Serialization (UCL-Bin 5.0): Vision for an efficient binary format for M2M communication.

📚 Get Started & Learn More

🤝 Contributing

UCL 5.0 is envisioned as a collaborative, evolving standard. We welcome contributions! Please read our CONTRIBUTING.md guide to learn how you can help improve the specification, documentation, examples, or develop tooling.

(A CODE_OF_CONDUCT.md should also be present for community guidelines).

📝 License

UCL 5.0 (this specification and documentation) will be made available under a permissive open-source license (e.g., MIT or Apache 2.0 - to be finalized in the LICENSE file).


This repository hosts the evolving specification for UCL 5.0 "GraphNative." It aims to be a living document, refined through community feedback, practical application, and ongoing research into effective AI communication.

About

UCL 5.0 'GraphNative' is an advanced formal language specification designed for clear, unambiguous, and powerfully expressive communication with AI systems (especially Large Language Models - LLMs) and between software components. It enables precise instruction, rich data representation as semantic graphs, and sophisticated contextual control.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published