Skip to content
srikarjyPublic

About

Multi-agent scientific reasoning system with full provenance tracing — includes an eval harness that measured its own central thesis and reported the result even when it was unfavorable.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

⚗️ Aletheia

Check a scientific claim against published papers, with citations you can open.

CI License: MIT Python 3.12 FastAPI Next.js PostgreSQL + pgvector Status: research prototype

🔍 Problem

Checking whether a scientific claim is backed by published research is slow, and a chatbot's answer does not show you which paper supports it.

💡 Solution

Give Aletheia a claim. It searches the literature and returns a verdict (supported, refuted or unresolved), a confidence score and the papers it used. Citations that were not retrieved are rejected, and if nothing is found it says there is not enough evidence.

Research prototype. Not for medical or clinical decisions.

🚀 How to use

You need Docker, Python 3.12 and Poetry. These steps use demo mode: no API keys, and the answers and papers are fake placeholders.

poetry install
docker compose up -d db
poetry run python scripts/mint_token.py gen-keys      # first time only

export MOCK_LLM=true MOCK_RETRIEVAL=true MOCK_EMBEDDINGS=true
export DATABASE_URL=postgresql://aletheia:aletheia@localhost:55432/aletheia
export AUTH_JWT_PUBLIC_KEY_FILE=.auth/public.pem
poetry run uvicorn app.main:app --port 8000

In a second terminal:

TOKEN=$(poetry run python scripts/mint_token.py mint --sub me --role student)
curl -X POST localhost:8000/debate \
  -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  -d '{"claim": "Statins reduce mortality"}'

Real answers (costs API credit): leave out the three MOCK_ variables, set ANTHROPIC_API_KEY and OPENAI_API_KEY, and point BIOLAB_PROJECT_PATH and BIOLAB_DB_PATH at a checkout of Biolab MCP Server (commit 8b55e4d) with its own .venv.

📄 License

MIT

About

Multi-agent scientific reasoning system with full provenance tracing — includes an eval harness that measured its own central thesis and reported the result even when it was unfavorable.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages