Other

Engineering an Agentic Scheduler with Deterministic Guardrails

Azure Developer Community Blog gabrielsze
Other

A Microsoft developer team explains how they built a scheduling agent that lets the model propose placements while typed constraints, Postgres queues and LangGraph checkpoints keep every run deterministic, restartable and inspectable on Azure Container Apps.

Key points

  • The LLM only proposes placements; deterministic code enforces hours, spacing and conflict rules.
  • A Postgres-backed command queue keeps multi-minute agent runs out of HTTP requests, returning 202 Accepted.
  • REST handles uploads and steering while SSE streams progress back, with replies persisted for reconnects.
  • LangGraph checkpoints in Postgres let a paused run survive restarts and resume after user steering.
  • Program IQ uses two tools, read_sheet and report_activities, so the model interprets layouts and code counts demand.
  • Session files sit on an Azure Files share mounted into Container Apps so replicas share state.

Real-world use

  • A scheduling tool that plans recurring training sessions across shared facilities, teams and rest days.
  • A long-running agent workflow that must survive container restarts and let users review results before scheduling.
  • A system where users steer an LLM with plain-language preferences but hard constraints are validated in code.
  • Extracting structured data from user-uploaded Excel workbooks with varying layouts before processing them deterministically.

This summary was generated by the agent from the original post on Azure Developer Community Blog. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message