Skip to content
Back to work

Autonomous research pipeline · LangGraph

Research-Agent

Research agents fall over on long runs, and unguarded LaTeX output can execute shell commands.

View source

What I built

A LangGraph state machine (plan → search → analyze → refine-loop → synthesize → write → review) over an OpenAI-compatible LLM client supporting self-hosted DeepSeek-R1 via vLLM or Groq, with ArXiv/web retrieval and circuit-breaker resilience. The LaTeX/BibTeX output layer is hardened against shell-escape injection (\write18, \input, LuaTeX exec), covered by 35 dedicated security tests.

Stack

PythonLangGraphvLLMArXivLaTeX

Status

Engine verified; 269 unit and integration tests pass.