{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "charlesmpc-by2kb--control-long-ingest-jobs-from-agent",
 "repo": "Charlesmpc/by2kb",
 "repo_url": "https://github.com/Charlesmpc/by2kb",
 "repo_slug": "charlesmpc-by2kb",
 "title": "Track and control video ingest jobs from an agent",
 "page_title": "How to track and control video ingest jobs from an agent with By2 KB",
 "summary": "Check status, wait, cancel, or retry a running By2 KB job using JSON output.",
 "who": "An operator or developer running By2 KB through an agent host who needs reliable job control instead of parsing logs.",
 "problem": "Long transcriptions run in the background, and an agent needs a clear way to know whether a job finished, failed, or should be retried.",
 "outcome": "JSON status for each job, a bounded wait, and clean cancel or retry actions with checkpoint-aware retries.",
 "steps": [
  "Start an ingest with `by2kb ingest \"<video URL>\"`. (inferred, check the README)",
  "Run `by2kb status --json` to see the current job state. (inferred, check the README)",
  "Run `by2kb wait --timeout 30 --json` to wait up to the timeout for completion. (inferred, check the README)",
  "Run `by2kb cancel --json` if the job should stop. (inferred, check the README)",
  "Run `by2kb retry --json` to resume a failed job from its checkpoint. (inferred, check the README)"
 ],
 "agent_prompt": "Use the by2kb repository (github.com/Charlesmpc/by2kb) to start ingesting <video URL> and then manage the job with status, wait, cancel, and retry in JSON mode. Expected output: a JSON status for each step and the final artifact paths. Verify that the job reaches a completed state or that the retry resumes it.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "The README describes the control protocol but does not give the full JSON schema, so an agent should read docs/task-control.md before parsing fields.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.12 or newer",
  "pipx installed",
  "ffmpeg and ffprobe available on PATH",
  "Optional: Deno 2.3+ or Node.js 22+ for YouTube player challenges",
  "Optional: a Hermes agent for chat-based use, or an OpenAI-compatible API key for standalone summaries"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.6,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/charlesmpc-by2kb/control-long-ingest-jobs-from-agent/",
 "md": "https://dedupedai.com/use-cases/charlesmpc-by2kb/control-long-ingest-jobs-from-agent/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/charlesmpc-by2kb--control-long-ingest-jobs-from-agent.json",
 "api_version": "v1"
}
