Skip to main content

Model-agnostic Think & Memory layer for LLMs

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ax0n_ai-0.1.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ax0n_ai-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

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

Hashes for ax0n_ai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c1cf042e2da98fb6022eb543f981693bba39a6007acbbd2ad976f0ec237d2cb9
MD5 e475c984a80cc833a5f1d1d79b13eb98
BLAKE2b-256 b962bf69befb20130fa52625884a3563ce3a18f08266015886ea81c0a69f2e33

See more details on using hashes here.

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

Hashes for ax0n_ai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5c2617f809f0ede9f5265c1d50998dff589b018d41cca3e9a2b2f005d3ba76b
MD5 13430052d439252d02b394f08fe8d4f4
BLAKE2b-256 785837363fec618592514efc3b20b22b65d8e9d8103c247ce2313d7ddab10dc0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page