An autonomous research orchestrator built for the "Autonomous Pharmacy: Re-engineering the Medication Lifecycle Leveraging AI" hackathon theme. This tool uses the Gemini Deep Research API to brainstorm, delegate, and synthesize complex pharmaceutical research specifically for the Nigerian context.
To move from a "Dangerous Analog" medication lifecycle to a "Seamless, Self-Optimizing Ecosystem" by leveraging agentic AI that understands local constraints like low bandwidth, erratic power, and data silos.
- Strategic Brainstorming: Automatically generates 3-5 innovative pharmacy projects based on your custom
prompt.txt. - Multi-Agent Orchestration: Spins up dedicated research agents for every suggested project.
- Real-Time Thought Streaming: Watch the AI's internal reasoning process as it navigates the global and local research landscape.
- Dual Format Export: Generates professional Markdown and PDF reports for every project.
- Nigerian Context Focus: Prioritizes offline-first architecture, HL7/FHIR interoperability, and supply chain resilience.
- Clone the repository
- Install dependencies:
pnpm install
- Configure Environment:
Create a
.envfile and add your Google API Key:GOOGLE_API_KEY=your_api_key_here
- Define your Strategy:
Edit
prompt.txtto fine-tune the agent's goals and constraints.
Start the orchestration engine:
pnpm startThe agent will:
- Brainstorm project ideas.
- Research each project deeply.
- Save all reports to the
/outputfolder.
src/index.ts: The Orchestrator engine.src/research.ts: The DeepResearchAgent implementation.output/: Where your winning reports are saved.prompt.txt: The strategic brain of your agents.
- Interoperability: Built with HL7/FHIR focus.
- Clinical Safety: Emphasizes Explainable AI (XAI).
- Practicality: Designed for low-bandwidth and offline-first environments.