Decide what workflows to automate
0
stars
269
commits
TypeScript
primary language
Aug 19, 2026
updated
Live: https://decision-doctor-xi.vercel.app
A transparent decision engine for solo healthcare practitioners. Decision Doctor does two things in one workflow: it ships paste-ready AI tools that remove the admin work eating a practitioner's week, and it runs a transparent decision-science pipeline for the harder business questions AI alone cannot answer.
Built for the MLT20 AI Buildathon, anchored on a real user (a solo psychiatrist) who needs the business side of her practice to stop competing with the clinical side.
Two paths share the same engine.
Path 1: Find where AI saves you time. A five-minute conversation surfaces the highest-cost items in a practitioner's week (pre-authorizations, pharmacy callbacks, referral coordination, patient emails, billing), scores each one as skill, plugin, agent, or human, and ships the top one as a paste-ready scaffold. Each scaffold works in both Claude Code and OpenAI Codex without hand-editing: a valid SKILL.md with frontmatter plus a matching AGENTS.md block for skills, a valid plugin.json with directory layout for plugins. Each following week, the practitioner receives a workflow audit covering how their active tools performed, what to retire, and what to add. When a public tool would beat what we build, the audit says so.
Path 2: Help me decide given my constraints. For business questions AI cannot solve directly (raise prices, cap intakes, expand referrals, hire admin support), the engine runs a five-stage MCDA pipeline. The output names every alternative considered, explains why each was eliminated, gives a confidence band, and surfaces a robust fallback if the user's assumptions shift. The math is real (ELECTRE outranking plus TOPSIS ranking plus sensitivity analysis), but it sits behind a "Show the math" disclosure. The hero metric is always time saved. The math is one click away when the user wants it.
The goal is a decision in 10 minutes that previously took hours of intermittent worry, with an AI tool shipping alongside it.
Solo practitioners are the segment with the most to gain from AI and the least bandwidth to adopt it. They have no in-house operations function, no consulting budget, and no time to learn agent frameworks between patients. Existing AI tools fail them in two predictable ways: chatbot interfaces give confident answers without provenance (disqualifying in a healthcare-adjacent context), and developer tools require a level of technical fluency most practitioners do not have time to acquire.
Three forces converge to make this the right moment to ship:
A Next.js 16 mobile-first PWA in front of a five-stage MCDA engine, a Groq inference layer with parsed reasoning, and a Postgres database with row-level security on every user-owned table.
Engine. Five discrete stages, each a bounded function that can be audited independently:
Every recommendation carries a methodTrace (visible by default, expandable), a confidence band, three or more workloadReducers (the paste-ready artifacts), and an AI feasibility score on each reducer.
Stack.
reasoning_format: parsed, ~270ms response, separated reasoning trace.WITH CHECK clause on every policy. Multi-tenant-ready schema from day 1 (every user-owned table includes tenant_id).Security model. The system threat-models against OWASP LLM Top 10 plus OWASP Agentic Top 10. Full security report at docs/operations/security-best-practices.md.
docs/PRD.mddocs/handover/STATUS.mdDecisio Science Research/docs/operations/workers-deploy.mdmain is the decision-doctor-cc experiment (Claude Code variant 1). Sibling experiments live on their own branches: cc2 (Claude Code variant 2) and codex (Codex variant). The best of the three is promoted.
268 commits
1 commits
TypeScript
91.4%
HTML
7.5%
Decide what workflows to automate
0
stars
269
commits
TypeScript
primary language
Aug 19, 2026
updated
Live: https://decision-doctor-xi.vercel.app
A transparent decision engine for solo healthcare practitioners. Decision Doctor does two things in one workflow: it ships paste-ready AI tools that remove the admin work eating a practitioner's week, and it runs a transparent decision-science pipeline for the harder business questions AI alone cannot answer.
Built for the MLT20 AI Buildathon, anchored on a real user (a solo psychiatrist) who needs the business side of her practice to stop competing with the clinical side.
Two paths share the same engine.
Path 1: Find where AI saves you time. A five-minute conversation surfaces the highest-cost items in a practitioner's week (pre-authorizations, pharmacy callbacks, referral coordination, patient emails, billing), scores each one as skill, plugin, agent, or human, and ships the top one as a paste-ready scaffold. Each scaffold works in both Claude Code and OpenAI Codex without hand-editing: a valid SKILL.md with frontmatter plus a matching AGENTS.md block for skills, a valid plugin.json with directory layout for plugins. Each following week, the practitioner receives a workflow audit covering how their active tools performed, what to retire, and what to add. When a public tool would beat what we build, the audit says so.
Path 2: Help me decide given my constraints. For business questions AI cannot solve directly (raise prices, cap intakes, expand referrals, hire admin support), the engine runs a five-stage MCDA pipeline. The output names every alternative considered, explains why each was eliminated, gives a confidence band, and surfaces a robust fallback if the user's assumptions shift. The math is real (ELECTRE outranking plus TOPSIS ranking plus sensitivity analysis), but it sits behind a "Show the math" disclosure. The hero metric is always time saved. The math is one click away when the user wants it.
The goal is a decision in 10 minutes that previously took hours of intermittent worry, with an AI tool shipping alongside it.
Solo practitioners are the segment with the most to gain from AI and the least bandwidth to adopt it. They have no in-house operations function, no consulting budget, and no time to learn agent frameworks between patients. Existing AI tools fail them in two predictable ways: chatbot interfaces give confident answers without provenance (disqualifying in a healthcare-adjacent context), and developer tools require a level of technical fluency most practitioners do not have time to acquire.
Three forces converge to make this the right moment to ship:
A Next.js 16 mobile-first PWA in front of a five-stage MCDA engine, a Groq inference layer with parsed reasoning, and a Postgres database with row-level security on every user-owned table.
Engine. Five discrete stages, each a bounded function that can be audited independently:
Every recommendation carries a methodTrace (visible by default, expandable), a confidence band, three or more workloadReducers (the paste-ready artifacts), and an AI feasibility score on each reducer.
Stack.
reasoning_format: parsed, ~270ms response, separated reasoning trace.WITH CHECK clause on every policy. Multi-tenant-ready schema from day 1 (every user-owned table includes tenant_id).Security model. The system threat-models against OWASP LLM Top 10 plus OWASP Agentic Top 10. Full security report at docs/operations/security-best-practices.md.
docs/PRD.mddocs/handover/STATUS.mdDecisio Science Research/docs/operations/workers-deploy.mdmain is the decision-doctor-cc experiment (Claude Code variant 1). Sibling experiments live on their own branches: cc2 (Claude Code variant 2) and codex (Codex variant). The best of the three is promoted.
268 commits
1 commits
TypeScript
91.4%
HTML
7.5%