Kryon Labs Logo

Kryon Labs

AXON: File-Based AI Encyclopedia

AXON: File-Based AI Encyclopedia

AXON is a transparent, file-based AI system that implements a knowledge base through the 9P protocol. It embodies the Plan 9 philosophy that "everything is a file" — including AI reasoning, knowledge storage, and multi-agent consensus building.

Core Concepts

AXON treats AI operations as filesystem operations. You search, query, and manage knowledge by reading and writing files. The system provides:

Filesystem Structure

# AXON filesystem layout
/mnt/axon/
├── ctl                    # Control file - trigger actions
├── encyclopedia/
│   ├── entries/          # Knowledge base entries
│   └── search/
│       ├── query         # Write search terms here
│       └── results       # Read results here
├── inbox/
│   └── incoming/         # Drop files for processing
├── minds/                # Multi-mind status
│   ├── status
│   ├── literal/
│   ├── skeptic/
│   └── synthesizer/
└── memory/
    ├── episodic/
    ├── semantic/
    └── procedural/

Quick Start

# Build and start AXON
$ cd axon
$ mk axon-build
$ ./bin/axon -p 17020

# Mount the 9P filesystem
$ 9p -a localhost!17020 mount /mnt/axon

# Search the knowledge base
$ echo "sound waves" > /mnt/axon/encyclopedia/search/query
$ cat /mnt/axon/encyclopedia/search/results

# Process files through inbox
$ cp email.txt /mnt/axon/inbox/incoming/
$ echo 'process_inbox' > /mnt/axon/ctl

# Check mind status
$ cat /mnt/axon/minds/status
$ cat /mnt/axon/minds/literal/status

Multi-Mind Architecture

AXON uses multiple specialized "minds" (AI agents) to extract and verify facts:

Each mind operates independently and reports to shared consensus files, enabling transparent reasoning and contradiction detection.

Links

GitHub Repository | Back to Projects