AIMD Technical Specification

The AI Markdown (AIMD) format extends standard Markdown with optional structured metadata1 and embedded AI instruction blocks2. It also supports defining explicit relationships between documents using footnotes3 to enable knowledge graph construction.

Core Components Covered

  1. Front Matter: Provides document-level metadata such as doc-id, title, and tags1.
  2. ai-script Blocks: Allows embedding JSON-based AI instructions within the content2.
  3. Footnote Relationships: Defines machine-readable links to other documents3.

Footnote Definitions

Footnotes

  1. {"rel-type":"related","doc-id":"uuid-schema-spec-frontmatter","rel-desc":"See Front Matter schema for field details"} 2

  2. {"rel-type":"child","doc-id":"uuid-schema-spec-ai-script","rel-desc":"Detailed AI Script Block specification"} 2

  3. {"rel-type":"related","doc-id":"uuid-concept-knowledge-graph","rel-desc":"Overview of Knowledge Graph integration"} 2