Basic information
About openevidence-sdk-patterns
OpenEvidence SDK patterns and best practices for clinical AI integration. Use when implementing advanced SDK features, optimizing API usage, or following clinical decision support best practices. Trigger with phrases like "openevidence patterns", "openevidence best practices", "openevidence sdk", "clinical ai patterns".
openevidence-sdk-patterns is an agent skill listed in the AddMCP.net directory, published by jeremylongshore. Runtime: Python. License: MIT. The repository has 2,889 GitHub stars. Source code is hosted on github.com. Related topics: agent-skills, ai, ai-agents, anthropic, automation.
Overview
What is openevidence-sdk-patterns?
name: openevidence-sdk-patterns description: | Sdk Patterns for OpenEvidence. Trigger: "openevidence sdk patterns". allowed-tools: Read, Write, Edit version: 1.0.0 license: MIT author: Jeremy Longshore <[email protected]> tags: [saas, openevidence, healthcare] compatible-with: claude-code
OpenEvidence SDK Patterns
Singleton Client
let instance: any = null;
export function getClient() {
if (!instance) instance = createOpenEvidenceClient({ apiKey: process.env.OPENEVIDENCE_API_KEY });
return instance;
}Error Wrapper
async function safe<T>(fn: () => Promise<T>): Promise<T | null> {
try { return await fn(); }
catch (e: any) {
if (e.status === 429) { await new Promise(r => setTimeout(r, 5000)); return fn(); }
console.error('OpenEvidence error:', e.message);
return null;
}
}Resources
Next Steps
Apply in openevidence-core-workflow-a.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In