Wat je moet weten voordat je
begint

Start 11 June 2026 10:28

Einde 11 June 2026

00 Dagen
00 Uren
00 Minuten
00 Seconden
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 Cursussen


3 hours

Optionele upgrade beschikbaar

Gevorderd

Ga in je eigen tempo vooruit

Free Certificate

Optionele upgrade beschikbaar

Overzicht

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.

Lesprogramma

  • 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

Vakgebieden

Artificial Intelligence