Infrastructure for agents that work while you sleep.
Based Capital Labs builds open-source infrastructure for Claude agents that run unattended and remember what they learn. We also publish research on making models cheaper to run and easier to understand.
Built with Claude — Nightcrawler runs Claude Code on Opus; BrainBox extends Claude Code with hooks and MCP.
# 11:04 pm: hand the night shift to Claude $ ncr research "long-horizon agent reliability" ✓ MISSION.md written · 7 tasks · budget cap $50 $ ncr launch ▸ episode 01 breadth scan handoff ✓ git-verified ▸ episode 02 deep-dive A handoff ✓ git-verified ▸ episode 03 deep-dive B handoff ✓ git-verified … # 7:00 am ● COMPLETION_REPORT.md ready · 7/7 tasks · within budget
Illustrative Nightcrawler workflow
The missing pieces between a great model and an agent you can trust overnight.
Frontier models can now work for hours. The tooling around them still assumes a human watching a terminal. We build what closes that gap, and we publish the research underneath it.
Run unattended
Long missions run as bounded, budget-capped Claude episodes. Each one hands off in a structured file, its progress is checked against the git diff, and the run recovers from crashes and stops itself when progress stalls.
Remember
Memory that learns from every tool call. It plugs into Claude Code through hooks and MCP, needs no vector database, and costs $0 per query, so agents stop re-discovering your codebase each session.
Understand & accelerate
Open research on faster local inference, checkpoints that stay safe to quantize, fine-tune and merge, and turning model weights into readable, verified code.
Open-source tools for Claude agents.
Nightcrawler
Open source · MITAn autonomous overnight loop for Claude Code. It splits missions into fresh-context Opus episodes with a tracker the agent can't rewrite, per-episode budget caps, git-diff verification, and eight automatic stop conditions. A built-in research toolkit watches arXiv and Semantic Scholar and keeps adding to a literature review.
BrainBox
npm · MITHebbian "muscle memory" for coding agents. It learns which files, tools, and error fixes go together and recalls them before the agent goes searching. You install it with one command and it plugs into Claude Code hooks and MCP.
Efficient inference and model lifecycle, with every dead end documented.
We publish reproducible, honest-negative-result research on running and maintaining models cheaply, toward agents that can live on local hardware.
Building with long-running agents? Let's talk.
Research collaborations, feedback on our tools, or just comparing notes on agent reliability: we read everything.
research@basedcapitallabs.com