SnapState - Persistent state for AI agent workflows
📰 Hacker News (AI)
SnapState provides persistent state for AI agent workflows, allowing you to save, resume, and replay multi-step workflows across sessions and crashes
Action Steps
- Install the SnapState SDK using npm by running `npm install snapstate-sdk`
- Create a new SnapState client instance with your API key
- Save the workflow state after each step using the `save` method
- Resume the workflow from the latest checkpoint using the `resume` method
- Integrate SnapState with your MCP-compatible agent to enable persistent memory
- Explore the SnapState dashboard to view workflow stats, failure patterns, and per-agent performance metrics
Who Needs to Know This
AI/ML engineers and developers working with agent workflows can benefit from SnapState to ensure their agents never lose progress and to track workflow performance
Key Insight
💡 SnapState provides a simple and efficient way to manage AI agent workflows, ensuring that progress is never lost and workflows can be easily resumed and replayed
Share This
🤖 Introducing SnapState: persistent state for AI agent workflows! Save, resume, and replay multi-step workflows with ease 💻
Key Takeaways
SnapState provides persistent state for AI agent workflows, allowing you to save, resume, and replay multi-step workflows across sessions and crashes
Full Article
Title: SnapState — Persistent state for AI agent workflows
URL Source: https://snapstate.dev/
Markdown Content:
# SnapState — Persistent state for AI agent workflows
[SnapState](https://snapstate.dev/)
* [Docs](https://snapstate.dev/docs/)
* [Dashboard](https://snapstate.dev/dashboard/)
* [GitHub](https://github.com/timbassler88/snapstate)
Now in Public Beta
# Persistent state for
AI agent workflows
Save, resume, and replay multi-step workflows across sessions, crashes, and agent handoffs. Your agents never lose progress again.
[Get Started](https://snapstate.dev/get-started)[View on GitHub](https://github.com/timbassler88/snapstate)
$`npm install snapstate-sdk`Copy
Code
## Save and resume in a few lines
Works with JavaScript, Python, and any MCP-compatible agent.
JavaScript Python
import { SnapStateClient } from 'snapstate-sdk';
const client = new SnapStateClient({
apiKey: 'snp_your_key_here',
});
// Save after each step
await client.save({
workflowId: 'wf_research',
step: 1,
label: 'sources_gathered',
state: { sources: ['arxiv.org', 'github.com'] }
});
// Resume where you left off
const resumed = await client.resume('wf_research');
console.log(resumed.latestCheckpoint.state);
from snapstate_sdk import SnapStateClient
client = SnapStateClient(api_key="snp_your_key_here")
# Save after each step
client.save(
workflow_id="wf_research",
step=1,
label="sources_gathered",
state={"sources": ["arxiv.org", "github.com"]}
)
# Resume where you left off
resumed = client.resume("wf_research")
print(resumed.latest_checkpoint.state)
Features
## Built for agents
Everything your workflows need to be resilient.
💾
Checkpoint Save
Save full workflow state after each step. JSON payloads up to 1 MB with automatic diff tracking and ETags for concurrency control.
⏮
Resume & Replay
Resume from the latest checkpoint or replay the entire workflow history step by step. Agents pick up exactly where they left off.
🤖
Agent Identity
Tag checkpoints with agent IDs. Track which agent did what across multi-agent workflows with a full audit trail.
📊
Analytics
Built-in workflow stats, failure pattern detection, and per-agent performance metrics. Understand exactly where workflows break.
🔌
MCP Server
Works with Claude Desktop and Cline out of the box. Add a system prompt and your agent gets persistent memory automatically.
💰
Usage-Based Pricing
Generous free tier: 10k writes, 1 GB storage, 5k resumes per month. Pay only for what you use beyond that.
Pricing
## Start for free
No credit card required. Upgrade when you scale.
Free Tier
### Everything you need to get started
10,000 writes/mo 1 GB storage 5,000 resumes/mo 1,000 replays/mo
No credit card required
[See full pricing →](https://snapstate.dev/docs/#/pricing)
© 2026 SnapState[hello@snapstate.dev](mailto:hello@snapstate.dev)
[Docs](https://snapstate.dev/docs/)[GitHub](https://github.com/timbassler88/snapstate)[npm](https://www.npmjs.com/package/snapstate-sdk)[PyPI](https://pypi.org/project/snapstate-sdk/)
URL Source: https://snapstate.dev/
Markdown Content:
# SnapState — Persistent state for AI agent workflows
[SnapState](https://snapstate.dev/)
* [Docs](https://snapstate.dev/docs/)
* [Dashboard](https://snapstate.dev/dashboard/)
* [GitHub](https://github.com/timbassler88/snapstate)
Now in Public Beta
# Persistent state for
AI agent workflows
Save, resume, and replay multi-step workflows across sessions, crashes, and agent handoffs. Your agents never lose progress again.
[Get Started](https://snapstate.dev/get-started)[View on GitHub](https://github.com/timbassler88/snapstate)
$`npm install snapstate-sdk`Copy
Code
## Save and resume in a few lines
Works with JavaScript, Python, and any MCP-compatible agent.
JavaScript Python
import { SnapStateClient } from 'snapstate-sdk';
const client = new SnapStateClient({
apiKey: 'snp_your_key_here',
});
// Save after each step
await client.save({
workflowId: 'wf_research',
step: 1,
label: 'sources_gathered',
state: { sources: ['arxiv.org', 'github.com'] }
});
// Resume where you left off
const resumed = await client.resume('wf_research');
console.log(resumed.latestCheckpoint.state);
from snapstate_sdk import SnapStateClient
client = SnapStateClient(api_key="snp_your_key_here")
# Save after each step
client.save(
workflow_id="wf_research",
step=1,
label="sources_gathered",
state={"sources": ["arxiv.org", "github.com"]}
)
# Resume where you left off
resumed = client.resume("wf_research")
print(resumed.latest_checkpoint.state)
Features
## Built for agents
Everything your workflows need to be resilient.
💾
Checkpoint Save
Save full workflow state after each step. JSON payloads up to 1 MB with automatic diff tracking and ETags for concurrency control.
⏮
Resume & Replay
Resume from the latest checkpoint or replay the entire workflow history step by step. Agents pick up exactly where they left off.
🤖
Agent Identity
Tag checkpoints with agent IDs. Track which agent did what across multi-agent workflows with a full audit trail.
📊
Analytics
Built-in workflow stats, failure pattern detection, and per-agent performance metrics. Understand exactly where workflows break.
🔌
MCP Server
Works with Claude Desktop and Cline out of the box. Add a system prompt and your agent gets persistent memory automatically.
💰
Usage-Based Pricing
Generous free tier: 10k writes, 1 GB storage, 5k resumes per month. Pay only for what you use beyond that.
Pricing
## Start for free
No credit card required. Upgrade when you scale.
Free Tier
### Everything you need to get started
10,000 writes/mo 1 GB storage 5,000 resumes/mo 1,000 replays/mo
No credit card required
[See full pricing →](https://snapstate.dev/docs/#/pricing)
© 2026 SnapState[hello@snapstate.dev](mailto:hello@snapstate.dev)
[Docs](https://snapstate.dev/docs/)[GitHub](https://github.com/timbassler88/snapstate)[npm](https://www.npmjs.com/package/snapstate-sdk)[PyPI](https://pypi.org/project/snapstate-sdk/)
DeepCamp AI