1) Inspiration

Bringing a new or generic drug to market is a major challenge for biotech companies. Before they can even submit an application, they must spend years gathering clinical trial data, safety reports, and compliance documents. This process is so complex and resource-intensive that it slows down innovation and limits access to affordable medications. In fact, many pharmaceutical companies lack the infrastructure to efficiently compile and manage this information, forcing them to divert resources from research to paperwork.

This inefficiency contributes to delayed drug availability, high costs, and shortages. Patients waiting for affordable, life-saving treatments are the ones who suffer the most. The bottleneck isn’t just regulation itself—it’s the inefficient way companies must prepare for it. That’s why we built PharmaSure: a software solution to eliminate this bottleneck, streamline documentation, and empower biotech startups to bring valuable drugs to market faster.

2) What It Does

PharmaSure removes the inefficiencies that slow down the drug application process. Instead of spending months manually searching, compiling, and verifying clinical data, users can instantly retrieve, organize, and structure the necessary documentation with precision.

Using intelligent search and automated categorization, PharmaSure:

  • Instantly locates and extracts key clinical trial data, safety reports, and compliance documents.
  • Organizes unstructured information into a clear, submission-ready format.
  • Eliminates redundant work, allowing teams to focus on drug development rather than paperwork.

By transforming weeks of manual effort into minutes of automated processing, PharmaSure ensures that biotech startups can move faster, reduce costs, and bring life-saving treatments to patients sooner.

3) How We Built It

We built PharmaSure using Next.js for the frontend and Flask for the backend, creating a system that efficiently handles large volumes of regulatory documents while keeping the user experience smooth.

Our backend consists of two main APIs:

  1. Document Upload & Processing API
  • Users upload directories of documents.
  • Each file is chunked into smaller sections, embedded using an OpenAI embedding model, and stored in a vector database(Pinecone) for retrieval.

    1. Query & Retrieval API
  • A user’s query is embedded and compared against stored document embeddings.

  • The most relevant matches are retrieved along with their file path.

  • A Llama 3.2 generates summaries of each match to help users quickly understand the content.

On the frontend, users see the retrieved matches and their summaries, then select relevant context to add to an editor on the right, making it easier to compile reports.

This setup works well because Flask provides a lightweight yet scalable backend, Next.js ensures a responsive UI, and using a vector database allows for fast and accurate document retrieval, keeping everything organized and easy to access.

4) What makes us unique

PharmaSure goes beyond simple document retrieval—it streamlines regulatory preparation for biotech startups by integrating automation, AI-driven insights, and a workflow designed specifically for their needs.

  • Interactive Report Compilation

PharmaSure helps users actively build reports by allowing them to select relevant text snippets from retrieved documents and add them directly into a structured report editor. This eliminates manual copy-pasting and speeds up regulatory submissions.

  • Smart Model Selection for Speed & Accuracy

We tested multiple embedding models to balance speed and accuracy, ensuring fast, high-quality document retrieval without unnecessary complexity. This keeps the system responsive, even when handling large volumes of clinical data.

  • Built Specifically for Biotech

Unlike generic AI search tools, PharmaSure is designed for clinical trials, safety reports, and regulatory compliance. It provides more precise and relevant results, making it far more effective for biotech startups navigating complex regulations.

5) Accomplishments we’re proud of

One of our biggest accomplishments was handling large-scale document processing efficiently while keeping the system user-friendly. We also took the time to experiment with different embedding models to find the best balance between accuracy and performance, rather than just picking one and moving on. This flexibility makes PharmaSure adaptable and ensures we’re using the most effective approach for retrieval.
Another key achievement was designing a workflow that allows users to interact with their data in a meaningful way—not just retrieving documents, but actively selecting and compiling relevant information in a way that feels intuitive.

6) What we learned
One of the biggest challenges we faced was integrating Google Drive support for cloud uploads. At first, we expected it to be a relatively seamless addition compared to other components, but it turned out to be more complex than anticipated. Despite the difficulty, we knew it was worth the effort to ensure ease of access for users, allowing them to upload documents directly from the cloud without extra steps.

Through this, we learned just how important user experience is—not just in terms of how the system looks, but in making sure every part of the workflow feels intuitive and accessible. We also gained a deeper understanding of how different AI models can be leveraged in a web application and how crucial it is to choose the right ones. Overcomplicating the system with unnecessary models could slow it down, while the right choices help streamline the experience without adding complexity.

This project reinforced the idea that the best technology choices aren’t always the most powerful or advanced—they’re the ones that fit the problem and improve usability without getting in the way.

7) What’s Next for PharmaSure

PharmaSure isn’t just a tool—it’s a solution to a systemic problem. As the need for faster, more efficient drug development grows, PharmaSure can evolve into the standard for biotech documentation. Future expansions could include integrations with global regulatory systems, enhanced compliance verification, and broader AI-powered insights to further accelerate approvals.

In an industry where time can mean the difference between life and death, we believe that no drug should be delayed due to bureaucracy. PharmaSure is here to fix the inefficiencies that slow down progress—so that the next breakthrough treatment reaches those who need it, when they need it.

Built With

  • bert-embeddings
  • google-oauth
  • llama3.2
  • mongodb
  • nextjs
  • openai-embeddings
  • pinecone-db
  • python
  • shadcn
Share this project:

Updates