explaingit

khanuzeb/axiom

Analysis updated 2026-05-18

6PythonAudience · developerComplexity · 3/5Setup · moderate

TLDR

AXIOM uses multiple specialized AI agents that work together in parallel to solve math, physics, and chemistry problems, with a built-in critic that double-checks the answers before returning them.

Mindmap

mindmap
  root((repo))
    What it does
      Solves STEM problems
      Multi-agent AI system
      Parallel specialist agents
    How it checks work
      Symbolic algebra verification
      LLM-based audit
      Retries up to hop limit
    Tech stack
      Python
      FastAPI backend
      Streamlit frontend
    Data and memory
      PDF upload and QandA
      Qdrant and Redis optional
      Falls back to local
    Use cases
      Homework help
      Research verification
      Document QandA
    Audience
      Students and learners
      STEM problem solving

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Submit a multi-step physics problem and get a verified, worked-out solution with plots.

USE CASE 2

Upload a PDF textbook or paper and ask questions about its contents.

USE CASE 3

Cross-check a symbolic math answer against a numeric computation for consistency.

USE CASE 4

Route algebra problems to a fast deterministic solver that bypasses the full agent pipeline.

What is it built with?

PythonFastAPIStreamlitQdrantRedisLLMsSymPy

How does it compare?

khanuzeb/axiomaa2246740/ultimate-designaclark4life/home-depot-crawl
Stars666
LanguagePythonPythonPython
Last pushed2014-08-10
MaintenanceDormant
Setup difficultymoderateeasymoderate
Complexity3/52/52/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires one or more LLM API keys and optionally Qdrant or Redis for memory, but falls back to local alternatives if they are absent.

The explanation does not mention a license, so the default terms of the repository apply.

In plain English

AXIOM is a system that solves math, physics, and chemistry problems using multiple AI agents working together. The idea is that a single AI asked to do everything at once, symbolic math, code, research, and plotting, tends to do all of it poorly. AXIOM addresses this by splitting the work among specialist agents that run in parallel, then checking the results before returning an answer. When you submit a question, a coordinator agent decides which specialists are needed and sends the query to them simultaneously. Specialists cover areas like math and physics, reasoning, code, research, visualization, chemistry, and retrieval from uploaded documents. Their outputs go to a critic that operates in two layers. First, it programmatically re-derives the algebra using a symbolic math library, cross-checks numeric and symbolic answers, and validates units. Second, an LLM-based audit looks for contradictions between agents, missing reasoning steps, and invented formulas. If the critic finds problems, it sends the work back with suggestions, up to a configurable hop limit. An aggregator then combines everything into a final response. Shared state is designed so parallel agents can write results without overwriting each other. The system also includes memory for past interactions and retrieval from uploaded PDFs. Both Qdrant and Redis are supported for memory and caching, but neither is required. If they are not running, AXIOM falls back to local alternatives. The project provides a FastAPI backend with endpoints for solving problems, streaming progress, uploading documents, and document Q&A. A Streamlit frontend offers a simpler form-based interface. Simple algebra questions skip the full agent pipeline and use a deterministic solver instead, which means they are returned without the critic's review. Known limitations include code execution that relies on a subprocess blocklist rather than a hardened sandbox, so untrusted code should not be run through it. The critic's quality depends on the underlying LLM, and there is no token-level streaming. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Set up AXIOM on my machine and walk me through starting the FastAPI backend and Streamlit frontend so I can submit a physics problem.
Prompt 2
Configure AXIOM so Qdrant and Redis are optional, then show me how to run it fully locally without any external services.
Prompt 3
I have a PDF of my chemistry textbook, show me how to upload it to AXIOM and ask a question that uses retrieval from that document.
Prompt 4
Explain how the two-layer critic in AXIOM works and tell me which config setting controls the number of retry hops when the critic finds a problem.
Prompt 5
Show me how to add a new specialist agent to AXIOM that handles a domain not already covered, like biology or economics.

Frequently asked questions

What is axiom?

AXIOM uses multiple specialized AI agents that work together in parallel to solve math, physics, and chemistry problems, with a built-in critic that double-checks the answers before returning them.

What language is axiom written in?

Mainly Python. The stack also includes Python, FastAPI, Streamlit.

What license does axiom use?

The explanation does not mention a license, so the default terms of the repository apply.

How hard is axiom to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is axiom for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.