IdeaCredIdeaCred

ametsCS/biorce-mini

73

An Agentic RAG demo that researches and drafts clinical trial protocols. Built with LangGraph and Streamlit to showcase multi-step AI orchestration, automated reviewing, and UI observability.

What's novel

An Agentic RAG demo that researches and drafts clinical trial protocols. Built with LangGraph and Streamlit to showcase multi-step AI orchestration, automated reviewing, and UI observability.

Code Analysis

11 files read · 3 rounds

A Streamlit-powered RAG demo that uses LangGraph to orchestrate a retrieve-research-write-review pipeline for drafting short clinical trial protocol summaries from local text documents, with a bounded revision loop and Langfuse observability.

Strengths

Clean separation of concerns across 4 small source files with a deterministic citation validator as a guard before LLM review, well-structured prompts with strict output formats, and meaningful unit tests for all pure functions. The LangGraph state machine with conditional routing and bounded loop is a solid pattern for agentic workflows.

Weaknesses

The core logic is thin — it's essentially 4 LLM prompt calls wrapped in a state machine with character-based chunking, no retry logic, no semantic chunking, and the revise node is a near-no-op that just passes through the reviewer's suggested draft. The bulk of the repo (154 files) is AI agent/skill configuration and documentation rather than implementation.

Score Breakdown

Innovation
4 (25%)
Craft
69 (35%)
Traction
6 (15%)
Scope
77 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+1

Craft

Ci+5
Tests+5
Polish+1
Releases+0
Has License+5
Code Quality+21
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+0
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+7
Languages+3
Subsystems+13
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

20

Contributors

1

Files

80

Active weeks

2

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT