Deploy AI agents

Host a Claude agent overnight.

A research agent that reads for six hours, a coding loop that iterates until tests pass, a scraper that has to sleep between polite requests, none of that fits a function with a 15-second or 15-minute ceiling. On DenkOps the agent runs in a slot that has no request timeout at all: it stops when your code decides to stop, not when the platform decides.

agent.py, a loop that calls Claude, acts, repeats
while not done:
plan = client.messages.create(...)
result = run_step(plan)
store.set("checkpoint", result) # → /persist
 
deploy on DenkOps
→ live at https://research-agent.denkops.app
runtime: unlimited · restarts resume from /persist

If the process crashes mid-run, DenkOps attaches an ai_hint with the likely cause, file and line, useful when the agent itself, or you from Claude Code, needs to diagnose and redeploy without babysitting the terminal.

Start on DenkOps →

FAQ

Can a Claude agent run overnight without a request keeping it alive?

Yes. A DenkOps slot is a normal long-running process, not a function invoked per request, so an agent loop that calls the Claude API, waits, and calls again keeps going for as long as its own code runs, hours if needed, with no external timeout cutting it off.

Where does the agent's memory or progress get stored between steps?

On the durable disk mounted at /persist. It survives restarts, crashes and redeploys, so a checkpoint file, a task queue, or a key-value store written with the DenkOps SDK is still there if the process needs to resume.

← Deploy AI agents · FastAPI scheduled job guide · Bun+Hono scraper guide