Patient apps and portals
Plain-language answers with sources inside your app or patient portal.
What does an A1c of 7.8 mean, and what should I ask my doctor?
audience: patientEvidence-grounded medical answers over one HTTPS call, with the sources attached to every response. Built for teams building healthcare AI. Keys from this page reach Asha only.
An HTTPS call, the OpenAI SDK you already use, a one-file CLI, or a tool inside your coding agent.
One POST. The answer comes back with its sources. Create a key above and it fills in here.
curl -X POST https://api.askasha.org/a2a/v1/message:send \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "asha",
"message": {
"role": "user",
"parts": [{"text": "Which antihypertensives are safe in pregnancy?"}]
},
"metadata": {"audience": "clinician", "session_id": "visit-2041"}
}'Already on OpenAI SDKs, LangChain, LiteLLM, or Vercel AI? Change base_url and the key: Drop-in with OpenAI SDKs. Terminal: Command line. Every field: Send a message and Stream a response.
openai package on /v1/chat/completions or /v1/responses with base_url https://api.askasha.org/v1 and your API key. The askasha SDK and cookbook run from GitHub source; the packages are not on PyPI or npm yet.Reference: /v1 endpoints and models · the asha object · cookbook · github.com/DNAiOS/asha · llms.txt · llms-full.txt · OpenAPI 3.1
One API, tuned per request for the person reading the answer. Every example copies as a ready request body.
Plain-language answers with sources inside your app or patient portal.
What does an A1c of 7.8 mean, and what should I ask my doctor?
audience: patientPractical guidance for family members caring for someone at home.
My mother has dementia and has stopped eating much. What should I watch for?
audience: caregiverShort, focused answers that help patients arrive ready for the visit.
Help me prepare questions for my follow-up after a knee replacement.
audience: patientverbosity: briefPeer-level answers with citations for physicians at the point of care.
First-line outpatient treatment for community-acquired pneumonia in an adult with no comorbidities?
audience: physicianverbosity: detailedInteractions, dosing context, and label facts drawn from DailyMed and FDA labels.
Does ibuprofen interact with lisinopril?
audience: pharmacistClinical answers for nurses. Emergency routing stays on under every setting.
Caller reports chest pain spreading to the left arm. What are the next steps?
audience: nurseEvery run is reproducible from the live benchmark register at dnai.systems/benchmarks and GET /api/benchmarks.
Vishwanath et al. 500-Item 3-Judge Panel (Nature Medicine 2026 rubric)
Frozen Apex-J, the served Apex tier, under the study's own three-judge panel: +8.9 points over bare GPT-6 Astra on the same 500 answers (paired t-test p = 1.0e-18).
1,000 High-Difficulty Clinical Cases (Official gpt-4.1 Grader)
Official gpt-4.1 grader with OpenAI's reference rubric rendering. Frozen Apex-J 48.7% (95% CI 46.9-50.5) vs 32.4% for bare GPT-6 Astra on the same items (+16.3 points, p = 3.8e-64). June tiers re-graded the same way; May bare models graded that way when run.
psychosis-bench (Au Yeung et al. 2025), 16 scenarios x 12 turns, May 2026
Same model, with and without Asha (May 2026 model, gemini-2.5-flash). Today's frontier models alone also intervene safely (Claude Sonnet 4.5 100%, Gemini 3.6 Flash 93.8%), so the gap is what Asha added to a model below that ceiling. Judge agreement fell below the pre-registered gate, so the formal verdict is inconclusive. Signed register, updated 2026-11-05.
| Feature | Asha API | Frontier APIs |
|---|---|---|
| Built for | Medical Q&A with sources | General purpose |
| Free tier | 250 queries / mo | $0 to $5 credit |
| Price | Free key; paid plans open when our API terms are final | $1.50 to $75 / 1M tokens |
| Cited medical literature | Sources on every answer, PMID-checked | Build it yourself |
| Corpus you can check | Public commitment, 20 collections | None |
| Public developer API | REST, OpenAI-compatible | Vendor SDKs |
| Agent tooling | MCP, A2A, CLI | Vendor tools |
Full comparison and methodology: Benchmarks and comparisons.
The free key gives you 250 queries a month on the same evidence-grounded Asha engine. Paid plans open when our API terms are final. Need more than the free tier today? Write to us at hello@dnai.systems.
Limits, rate windows, and error codes: Pricing, limits, and errors. BAA: read, accept, and check it from the API or asha baa accept, see BAA, self-serve.
Every detail as a table. Every page copies as Markdown, for you or for your agent.