Inspiration
Clinical Visit Prep Agent was inspired by a real healthcare workflow problem: clinicians often need to review scattered patient information before a visit. This can take time and make it harder to quickly focus on the most relevant details. I wanted to build a practical agent that supports clinician preparation without trying to replace clinical judgment.
What it does
Clinical Visit Prep Agent converts structured patient context into a concise clinician-ready pre-visit summary.
It can summarize information such as:
- reason for visit
- key medical history
- allergies
- current medications
- recent observations and findings
- potential concerns to review
- suggested follow-up questions
- missing information
- safety note
The agent is designed to stay non-diagnostic and focused on workflow support.
How I built it
I built the project in Prompt Opinion as a BYO Agent. I configured the agent with a healthcare-focused system prompt, a consult prompt, and a structured response format. I also enabled A2A availability and added a FHIR context extension so the agent fits better into healthcare agent workflows.
I tested the agent with multiple patient scenarios, including cases involving shortness of breath, asthma symptoms, dizziness, headache, hypertension, and diabetes. The agent consistently produced structured visit-prep summaries with safe and professional wording.
Challenges I faced
The biggest challenge was learning how Prompt Opinion works, especially where to configure the agent, how to test it, and how to publish it to the marketplace. I also had to fix JSON schema issues, API quota problems, and skill package upload errors.
Another challenge was making the output useful without sounding like the agent was diagnosing the patient. I improved the prompt so the agent uses cautious language such as “concerns to review” and “clinician assessment” instead of making medical conclusions.
What I learned
I learned how to build and publish a BYO Agent in Prompt Opinion, how to use structured outputs, how to test an agent with different patient cases, and how to think about safety in healthcare AI.
The biggest lesson was that a healthcare agent does not need to be risky or overly complex to be useful. A focused workflow agent that organizes context clearly can still provide real value.
Why it matters
Clinical Visit Prep Agent helps clinicians prepare faster by turning patient context into a focused summary. It supports workflow efficiency while keeping the final decision-making with healthcare professionals.
Accomplishments that we're proud of
I am proud that I built and published a working healthcare workflow agent inside Prompt Opinion.
The agent was tested with multiple patient scenarios and consistently produced structured clinician-ready summaries. It handled different cases involving hypertension, diabetes, asthma symptoms, dizziness, headache, allergies, medications, and recent observations.
I am also proud that the project stayed focused on safety. Instead of trying to diagnose or prescribe, the agent supports clinician preparation by organizing patient context, highlighting concerns to review, suggesting follow-up questions, and identifying missing information.
Another accomplishment was successfully publishing the agent to the Prompt Opinion Marketplace and enabling A2A/FHIR-related settings so it fits better with the hackathon’s agent workflow.
What's next for Clinical Visit Prep Agent
Next, I would improve Clinical Visit Prep Agent by connecting it more deeply with real FHIR-based patient context so it can work with structured healthcare data more smoothly.
I would also add more test cases across different clinical scenarios to improve reliability and evaluate how well the agent handles incomplete or messy patient information.
Another next step is improving the output options so clinicians can choose between a short summary, a detailed summary, or a handoff-style note.
In the future, I would like to add stronger evaluation workflows, better safety checks, and role-based customization for clinicians, nurses, and care coordinators.
Built With
- a2a
- byo-agents
- fhir-context-extension
- gemini-api
- json-schema
- prompt
- prompt-opinion

Log in or sign up for Devpost to join the conversation.