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