Was Sie vorher wissen sollten
bevor Sie beginnen

Beginnt 11 June 2026 10:28

Endet 11 June 2026

00 Tage
00 Stunden
00 Minuten
00 Sekunden
course image

Exposing Agents with Simple APIs in Python

Expose AI agents as scalable REST services in Python—persist state with SQLite, orchestrate background tasks, add pause/resume controls, and integrate human input into workflows.
via CodeSignal

182 Kurse


3 hours

Optionales Upgrade verfügbar

Fortgeschritten

Lernen Sie in Ihrem eigenen Tempo

Free Certificate

Optionales Upgrade verfügbar

Übersicht

Expose agents as services reachable from any interface. With Factors 5, 6, 7, and 11, you’ll persist unified state in a database, orchestrate runs via background tasks and REST endpoints, and add pause/resume controls.

Wire human responses back into waiting workflows and decouple triggers from UI so web apps, bots, and systems can launch, monitor, and resume runs at scale.

Lehrplan

  • Unit 1: Launching Agents with RESTful APIs
  • Building Your Agents First REST Endpoint
    Running the Agent Before Responding
    Non Blocking Agent Launch with BackgroundTasks
    Polling Agent Progress with State Lookup
  • Unit 2: Persisting States with Databases and Callbacks
  • Saving Agent State to SQLite
    Reading Agent State from SQLite
    Database Driven Background Agent Execution
    Progress Callbacks and Resume Budget
  • Unit 3: Pausing and Resuming Agents Through API Calls
  • Cooperative Pause Signal in Progress Callback
    Building the Pause API Endpoint
    Resuming Paused Agents Through the API
  • Unit 4: Integrating Human Input Back to Agents
  • When Agents Need Answers
    Routing Human Answers Back to Agents
  • Unit 5: Triggering Agents from Anywhere
  • Your Agent Meets the Real World

Fachgebiete

Artificial Intelligence