Loading repository data…
Loading repository data…
sattyamjjain / repository
Voice-activated AI medical records assistant using Agno multi-agent framework. Natural language EMR interaction with speech recognition, FHIR-compatible patient chart management & clinical workflow orchestration via FastAPI.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
🚀 Next-Generation Voice-Activated EMR Assistant Powered by Agno AI Agents
Revolutionizing healthcare workflows with intelligent, multi-agent voice assistance that understands medical context and automates EMR interactions.
Mediconvo leverages the Agno framework - a cutting-edge multi-agent system platform - to deliver unprecedented intelligence and performance in healthcare voice assistance. The system uses specialized AI agents that understand medical context and coordinate seamlessly to handle complex EMR workflows.
Simple Commands:
Complex Multi-Agent Workflows:
Built on the Agno framework for next-generation multi-agent intelligence:
Clone and setup:
git clone <repository-url>
cd mediconvo
chmod +x start.sh
./start.sh
Configure environment:
cp .env.example .env
# Edit .env with your API keys
Run the Agno-powered application:
# New Agno-powered API server
python -m uvicorn src.main_v2:app --host 0.0.0.0 --port 8000 --reload
# Agno interactive demo (recommended)
python demo_agno.py
# Legacy version (for comparison)
python demo.py
Required environment variables in .env:
# Agno Model Configuration (choose one or multiple)
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
MODEL_PROVIDER=openai # or anthropic
# EMR Integration
EMR_BASE_URL=https://your-emr-api.com/api/v1
EMR_API_KEY=your_emr_api_key
# Optional: Enhanced Speech Recognition
SPEECH_PROVIDER=local # or google, aws
GOOGLE_APPLICATION_CREDENTIALS=path/to/google-credentials.json
AWS_ACCESS_KEY_ID=your_aws_access_key
AWS_SECRET_ACCESS_KEY=your_aws_secret_key
GET / - API information with agent capabilitiesGET /health - Health check with Agno agent statusPOST /process-command - Process commands with intelligent agent routingGET /help - Comprehensive agent capabilities and examplesGET /capabilities - Detailed agent function listingsGET /metrics - Real-time performance analyticsPOST /demo - Interactive demo endpointWebSocket /voice - Real-time voice processing with agent coordination# Test Agno agent command processing
curl -X POST "http://localhost:8000/process-command" \
-H "Content-Type: application/json" \
-d '{"text": "Find patient Smith, order CBC, and send lab notification"}'
# Get comprehensive agent capabilities
curl "http://localhost:8000/capabilities"
# View performance metrics
curl "http://localhost:8000/metrics"
# Try demo commands
curl -X POST "http://localhost:8000/demo" \
-H "Content-Type: application/json" \
-d '{"text": "list"}'
# Run all tests (including Agno agent tests)
pytest
# Test Agno-powered agents
pytest tests/test_agno_agents.py
# Test legacy components
pytest tests/test_voice_recognition.py
pytest tests/test_chart_agent.py
pytest tests/test_integration.py
# Run with coverage
pytest --cov=src tests/
| Metric | Traditional LLM | Agno-Powered | Improvement |
|---|---|---|---|
| Agent Startup | 2-5 seconds | ~3 microseconds | 10,000x faster |
| Memory Usage | High variable | ~6.5KiB per agent | Minimal footprint |
| Response Time | 3-8 seconds | 0.5-2 seconds | 4x faster |
| Reasoning Quality | Basic | Advanced chain-of-thought | Superior |
| Error Recovery | Manual | Self-correcting | Automatic |
Access real-time metrics via /metrics endpoint with Agno monitoring integration.
mediconvo/
├── src/
│ ├── agents_v2/ # 🤖 Agno-powered agents
│ ├── tools/ # 🔧 Custom EMR tools for Agno
│ ├── orchestration_v2/ # 🧠 Agno team coordination
│ ├── agents/ # Legacy agent implementation
│ ├── voice/ # Speech recognition
│ ├── emr/ # EMR integration
│ ├── orchestration/ # Legacy command processing
│ └── utils/ # Utilities and metrics
├── tests/ # Test suites (including Agno tests)
├── docs/ # Documentation + Agno architecture
├── demo_agno.py # 🚀 Agno-powered demo
├── demo.py # Legacy demo
├── main_v2.py # 🚀 Agno-powered FastAPI app
└── start.sh # Startup script
from agno.agent import Agent
from agno.models.openai import OpenAI
from agno.tools.reasoning import ReasoningTools
from src.tools.emr_tools import EMRTools
# Create specialized medical agent
new_agent = Agent(
name="Specialized Medical Agent",
model=OpenAI(id="gpt-4-1106-preview"),
tools=[
ReasoningTools(add_instructions=True),
EMRTools(),
CustomMedicalTool()
],
instructions="Specialized medical instructions...",
markdown=True,
show_tool_calls=True
)
# Add to team
agent_team.team.members.append(new_agent)
See docs/AGNO_ARCHITECTURE.md for comprehensive development guidelines.
Mediconvo is designed to integrate with existing EMR systems via REST APIs. The EMR client supports:
For EMR vendors: Implement the standard REST endpoints documented in the EMR client module.
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ for healthcare providers