| I built UpToTrial to test two ideas: 1. Equip an LLM with the right tools to navigate complex APIs (clinicaltrials.gov). 2. Stream structured UI components instead of plain markdown. What we made: - Backend (Python/FastAPI): wraps the clinicaltrials.gov API, exposes higher-level actions to the agent, and streams an XML-like markup. - Frontend (React/TS): incrementally patches the partial stream and maps tags to React components (trial cards, phase progress bars, etc.) for live rendering. Clinical-trial metadata is dense; cards and timelines surface the important bits faster than prose. Links: Demo: https://uptotrial.com Code (Apache): – Backend: https://github.com/MaterialModel/uptotrial-backend – Frontend: https://github.com/MaterialModel/uptotrial-frontend Next: If there’s interest, I’ll break out the streaming-UI layer as a standalone OSS library. Feedback and PRs welcome! |