Add Keeping a Sprite Running guide#178
Merged
Merged
Conversation
Documents the Tasks API as the supported way to hold a Sprite open while an AI agent or other long-lived process is doing work. Covers the warm/cold lifecycle, when to use a Task vs a Service, the heartbeat pattern, and full API reference.
549c05f to
1d4134f
Compare
jbellerb
requested changes
May 13, 2026
Contributor
jbellerb
left a comment
There was a problem hiding this comment.
The hidden services docs are the only real blocker.
- Clarify the Tasks API is for background agents, not foreground sessions - Drop link to the draft Services concept page; add a brief inline definition so readers have an anchor without leaving the guide - Tighten the "forget to clean up" bullet per reviewer suggestion - Lead the heartbeat section with the 1-hour task cap that motivates the pattern
Collaborator
Author
|
@jbellerb Thanks for reviewing! I addressed your comments, if you wouldn't mind a quick re-check |
jbellerb
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New "Keeping a Sprite Running" guide in Getting Started.
Documents the Tasks API as the supported mechanism for keeping a Sprite from pausing while an AI agent or other long-lived process is doing work. Covers the warm/cold lifecycle, when to use a Task vs a Service, the heartbeat pattern, and full API reference.
Adds a sidebar entry between "Working with Sprites" and "Sprite Maintenance".