> ## Documentation Index
> Fetch the complete documentation index at: https://docs.magi-mda.org/llms.txt
> Use this file to discover all available pages before exploring further.

# AIMD Technical Specification Overview

> Sample technical document demonstrating basic footnote relationships in AIMD.

# AIMD Technical Specification

The AI Markdown (AIMD) format extends standard Markdown with optional structured metadata[^fm] and embedded AI instruction blocks[^ai]. It also supports defining explicit relationships between documents using footnotes[^kg] to enable knowledge graph construction.

## Core Components Covered

1. **Front Matter**: Provides document-level metadata such as `doc-id`, `title`, and `tags`[^fm].
2. **`ai-script` Blocks**: Allows embedding JSON-based AI instructions within the content[^ai].
3. **Footnote Relationships**: Defines machine-readable links to other documents[^kg].

***

## Footnote Definitions

[^fm]: `{"rel-type":"related","doc-id":"uuid-schema-spec-frontmatter","rel-desc":"See Front Matter schema for field details"}`

[^ai]: `{"rel-type":"child","doc-id":"uuid-schema-spec-ai-script","rel-desc":"Detailed AI Script Block specification"}`

[^kg]: `{"rel-type":"related","doc-id":"uuid-concept-knowledge-graph","rel-desc":"Overview of Knowledge Graph integration"}`
