Skip to main content

Ax0n: Model-Agnostic Think & Memory Layer for LLMs

License: MIT Python 3.8+

Ax0n is a model-agnostic Think & Memory layer for LLMs. It enables structured, parallel reasoning with real-world grounding and persistent memory—no MCP needed.

Features

  • Structured Reasoning: Multi-step thought processes with JSON meta-control
  • Parallel Execution: Tree of Thoughts / APR-style branching and merging
  • Real-world Grounding: Fact verification with citations and evidence
  • Persistent Memory: Mem0-inspired knowledge extraction and storage
  • Model Agnostic: Works with any LLM (OpenAI, Anthropic, local models)

Quick Start

pip install axon
from axon import Axon

# Initialize with your preferred LLM
ax = Axon(llm_client="openai", api_key="your-key")

# Generate structured thoughts
result = await ax.think(
    "What's the best time to visit Kyoto?",
    max_depth=3,
    enable_grounding=True
)

print(result.answer)
print(result.trace)  # Full reasoning trace
print(result.citations)  # Evidence sources

Architecture

Ax0n consists of 7 core modules:

  1. Retriever - Context fetching via embeddings and KV lookup
  2. Think Layer - Structured, parallel thought generation
  3. Grounding Module - Real-world fact validation
  4. Memory Manager - Knowledge extraction and persistence
  5. Renderer - Output formatting with traces and citations
  6. Orchestrator - Module coordination and flow control
  7. Testing & Validation - Comprehensive test suite

Documentation

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Inspired by Mem0's memory extraction patterns
  • Built on Tree of Thoughts and APR research
  • Community feedback and testing

Release files for ax0n-ai 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ax0n-ai 0.1.0
File Size Uploaded
ax0n_ai-0.1.0.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ax0n-ai 0.1.0
File Interpreter ABI Platform
ax0n_ai-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.3 kB

Release files / ax0n_ai-0.1.0.tar.gz

Download URL ax0n_ai-0.1.0.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c1cf042e2da98fb6022eb543f981693bba39a6007acbbd2ad976f0ec237d2cb9
BLAKE2b-256 checksum
How to use checksums
b962bf69befb20130fa52625884a3563ce3a18f08266015886ea81c0a69f2e33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / ax0n_ai-0.1.0-py3-none-any.whl

Download URL ax0n_ai-0.1.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5c2617f809f0ede9f5265c1d50998dff589b018d41cca3e9a2b2f005d3ba76b
BLAKE2b-256 checksum
How to use checksums
785837363fec618592514efc3b20b22b65d8e9d8103c247ce2313d7ddab10dc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page