Preparing your workspace...

No files in context
Quick Actions
codmir
Docs
Discord
Get started
API
  • Introduction
  • Installation
  • Your First Project
  • Your First Agent

Checkpointing and resuming long tasks across serverless limits.

Continuations Playbook

Vercel functions have a hard 800s execution cap. Continuations solve this by checkpointing state and resuming.

Steps

  1. Agent runs with a TimeBudget (soft = 720s).
  2. Before timeout, agent saves Checkpoint to S3/R2.
  3. Emit a ContinuationToken (HMAC-signed).
  4. Client (or scheduler) POSTs to /api/agents/continue with token.
  5. Agent resumes from checkpoint until completion.
sequenceDiagram
    participant Agent
    participant S3
    participant Client
    participant NextAPI

    Agent->>S3: Save checkpoint
    Agent-->>Client: SSE continue:{token}
    Client->>NextAPI: POST /continue {token}
    NextAPI->>S3: Load checkpoint
    NextAPI->>Agent: Resume execution
Open in ChatGPTOpen in ClaudeConnect MCP on CursorConnect MCP on WindsurfEdit on GitHub
codmir
Products
Desktop AppMobile AppIDE ExtensionAI AgentsOverseerVoice ModeCortex ProtocolHive MindGame Dev (Godat)PricingDownload
Solutions
AI Code AgentsError TrackingSelf-HealingDeploy TrackingAI Tracking SDKWorkflow AutomationTesting FrameworkTime TrackingVoice Control
Platform
ProjectsTickets & BoardsAgent MarketplaceIntegrationsTemplatesApp HubAdmin PanelAnalytics
Integrations
GitHubSlackDiscordVercelSentryRailwayLinearAll Integrations
Developers
DocumentationAPI ReferenceSDKCLIDeveloper PortalMarketplaceMCP ConnectorsWebhooksExamplesnpm Packages
Resources
BlogChangelogCommunityGet StartedSupportStatusFeedback
Company
AboutCareersContact SalesKickstarterReferral Program
Legal
Terms of UsePrivacy PolicyEULATrademarkSecurity
GET IT ONTestFlightGet it on Google Play

Codmir™ 2026. All rights reserved.

Free & open source SDK — Apache 2.0 License