PostCallMD

The open-source solver

What the open-source solver does, and where Custom starts.

A solver drafts one month of call at a time. There are two ways to get one. On Custom, we write your group’s rules down and build a solver for you. On Free, you connect your own agent, such as Claude Code or Codex, and the agent runs the open-source solver on your computer. The free app has no solver of its own. You fill the calendar by hand, or your agent saves a draft into it. This page lists every rule the open-source solver keeps, the settings it reads, and what it leaves to Custom.

What a draft is

First you set up the practice: your sites, your shift types, who can work what, and approved time off. Then you ask your agent for a month. The agent runs the solver on your practice’s data and saves the result as a draft. Nothing goes live until you publish it. The agent and the solver never publish.

The draft fills empty cells only. Every entry you already put on the calendar stays exactly as you entered it. If your group handles a day in its own way, such as a holiday or a special weekend, enter those assignments on the calendar before you ask for the draft. The draft does not overwrite them.

The solver makes the call schedule. You staff the daily assignments in Daily Staffing.

Rules it always keeps

These are hard rules. The draft never breaks one of them.

Coverage is a hard rule too. If the solver cannot fill every slot without breaking a hard rule, it makes no schedule. The agent tells you why in plain words, and it saves no draft.

Rules it follows when it can

These are soft rules. The solver keeps them when the month allows.

Settings it reads

The solver reads these settings from your practice. You can see and change each setting in the app.

Per shift type
Whether it gives the next day off, whether Same person Sat and Sun is on, whether it is closed to post-call, and its headcount by default, by weekday, or by date.
Per clinician
Which shifts they work, FTE, yearly calls, yearly weekend calls, consent to back-to-back weekends, and start and end dates.
Per practice
The switch for back-to-back weekends.

Where Custom starts

The open-source solver knows each clinician’s own facts: days off, which shifts they can work, a cap, a target. It has no rule that links one clinician to another, call to the OR schedule, or this year to last year. Three rules it does not keep:

Your agent can add a rule to the solver’s code, and the repo has worked examples. Then your group owns that code and keeps it correct.

If you just want this done for you, so good schedules take minutes, let’s talk Custom. Someone on our team will sit with your group and build every scheduling rule into the solver. Every month we dial it in based on your changes.

How to run it

Use these steps.

  1. Set up your practice: sites, shift types, who works which shifts, and approved time off.
  2. Connect your agent to PostCallMD.
  3. Type “Make my first schedule” in the agent.
  4. Review the draft in the app.
  5. Change the assignments you do not want.
  6. Press Publish.

The agent never assigns call by hand, and it never publishes. Read the walkthrough for each step, and the connector page for the connection.