Full-process autonomous scientific research agent — from literature search to LaTeX paper
Project description
🧪 AI-Sci: Autonomous Scientific Research Agent
One command from research question to LaTeX paper. Built on DeepAgents + LangGraph, incorporating the ARIS research methodology.
Install
uv tool install ai-sci-agent
ai-sci setup # interactive wizard — pick provider, enter key
ai-sci run "improve LoRA with adaptive rank" --paper paper.pdf --repo ~/code
Or with pip:
pip install ai-sci
ai-sci setup
9-Phase Research Pipeline
search → analyze → refine → experiment_plan → reproduce → implement → experiment → review → write
| Phase | What it does |
|---|---|
| search | Multi-source literature search with 3-layer anti-hallucination verification |
| analyze | PICO-M deep reading, 4-axis critical scoring, cross-paper synthesis |
| refine | Problem Anchor freeze, 7-dim iterative method scoring |
| experiment_plan | Claim-driven experiment design with 5-block evidence storyline |
| reproduce | Clone repos, install deps, run baselines, compare with paper claims |
| implement | Map method proposal to code changes, edit codebase, verify |
| experiment | Code integrity audit → sanity check → execute → stats → iterate |
| review | Structured peer review with weakness grading |
| write | LaTeX paper + 5-pass sciwrite audit + verified citations |
Usage
# Full pipeline
ai-sci run "research question" \
--paper https://arxiv.org/abs/2106.09685 \
--repo ~/code \
--data ~/datasets
# Interactive mode
ai-sci run "explore and improve this codebase" \
--repo ~/code --interactive
# List/resume sessions
ai-sci sessions
ai-sci run "..." --resume sci-20260623-094430
# Single-phase commands
ai-sci search "query"
ai-sci analyze "Paper Title"
Configuration
Run ai-sci setup for interactive setup, or create ~/.ai_sci/.env:
MODEL_NAME=deepseek-chat
API_KEY=sk-your-key
BASE_URL=https://api.deepseek.com/v1
TAVILY_API_KEY= # optional
Supports any OpenAI-compatible API: DeepSeek, OpenAI, SiliconFlow, Ollama, vLLM, Groq.
Key Features
- Autonomous end-to-end: one command from question to paper
- Honest: no repo → skips experiments with
[NOT VALIDATED]. No data → clearly reported. No GPU → tagged. - Persistent: SqliteSaver + RESEARCH_WIKI.md + sessions + memory across restarts
- ARIS methodology: Problem Anchor, 7-dim scoring, claim-driven, code-review-first
- Anti-hallucination: 3-layer paper verification, never fabricates citations or results
License
MIT
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 ai_sci_agent-0.8.0.tar.gz.
File metadata
- Download URL: ai_sci_agent-0.8.0.tar.gz
- Upload date:
- Size: 111.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d920b7333acfd52de5235b7acae0dcd565c90b0aee3b4a90d1accb8689732167
|
|
| MD5 |
1b20112fbf2f87c6409939475c5db7cd
|
|
| BLAKE2b-256 |
1014ac882ea11ef70dacdf8917fa71be472b432363eecb6021bb13923a4d7fb3
|
File details
Details for the file ai_sci_agent-0.8.0-py3-none-any.whl.
File metadata
- Download URL: ai_sci_agent-0.8.0-py3-none-any.whl
- Upload date:
- Size: 135.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90d6a03de0854601e119d32dff962918df176f8996dc4681965f1768e545f6d0
|
|
| MD5 |
a0ee34a64da973d9702e7b025c8cc66c
|
|
| BLAKE2b-256 |
19e25db82998d98ca451efd3c11d0bde24ef539d1df832c105a0193ce6be3355
|