Model-agnostic Think & Memory layer for LLMs
Project description
Ax0n: Model-Agnostic Think & Memory Layer for LLMs
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:
- Retriever - Context fetching via embeddings and KV lookup
- Think Layer - Structured, parallel thought generation
- Grounding Module - Real-world fact validation
- Memory Manager - Knowledge extraction and persistence
- Renderer - Output formatting with traces and citations
- Orchestrator - Module coordination and flow control
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ax0n_ai-0.1.0.tar.gz.
File metadata
- Download URL: ax0n_ai-0.1.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1cf042e2da98fb6022eb543f981693bba39a6007acbbd2ad976f0ec237d2cb9
|
|
| MD5 |
e475c984a80cc833a5f1d1d79b13eb98
|
|
| BLAKE2b-256 |
b962bf69befb20130fa52625884a3563ce3a18f08266015886ea81c0a69f2e33
|
File details
Details for the file ax0n_ai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ax0n_ai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5c2617f809f0ede9f5265c1d50998dff589b018d41cca3e9a2b2f005d3ba76b
|
|
| MD5 |
13430052d439252d02b394f08fe8d4f4
|
|
| BLAKE2b-256 |
785837363fec618592514efc3b20b22b65d8e9d8103c247ce2313d7ddab10dc0
|