Repos & Guides
This page is a link directory. It lists each repo, its onboarding files and its deployment. The study uses two code repos: pokta-care-monorepo and pokta-grader-bioagent.
| Term | Meaning |
|---|---|
| Arm | One method of the study that extracts data from a note. The study has three arms. |
| Orchestrator | The code that runs the study: it calls the arms, scores the results and keeps them. |
| Fork origin | The repo that another repo started as a copy of. |
How the repos relate
Section titled “How the repos relate”The pokta-care-monorepo is the orchestrator. It runs arm 1 in its own process. The code of arm 2 (RheumaAI) is in the same monorepo, in apps/bioagent. Arm 2 runs as a separate service, and the orchestrator calls it over HTTP. The orchestrator calls arm 3 (pokta-grader-bioagent) over HTTP. The two services use the same stack (Bun + Elysia) and run on Railway.
The Grader started as a fork of the rheuma-ai-bioagent repo. That repo is retired. Its code is now in apps/bioagent. This site links to each repo.
pokta-grader-bioagent
Section titled “pokta-grader-bioagent”The Grader is arm 3 of the study. It is the product that changes as the team works on it.
- Repo: github.com/poktalabs/pokta-grader-bioagent
- Onboarding:
CONTRIBUTING.md - Environment setup:
dev/SETUP.md,dev/getting-started.md. These two files are generic to the BioAgents framework. - Engineering conventions:
AGENTS.md - Deployed: Railway,
grader.poktacare.com - Runtime: Bun + Elysia
RheumaAI (apps/bioagent)
Section titled “RheumaAI (apps/bioagent)”RheumaAI is arm 2 of the study. It is an agent that already has training in rheumatology. It is the fork origin of the Grader.
- Code:
pokta-care-monorepo, inapps/bioagent. The earlier repo,rheuma-ai-bioagent, is retired. - Onboarding:
apps/bioagent/README.md. It explains the routes, the tools, the state model and the LLM library. - Study route:
POST /v1/study/rheumaai-reply(apps/bioagent/src/study/rheumaai-reply-route.ts) - Deployed: Railway,
app.rheumai.xyz. It is a service separate from the monorepo api.rheumai.xyzis the marketing landing. - Runtime: Bun + Elysia. This is the same stack as the Grader.
pokta-care-monorepo
Section titled “pokta-care-monorepo”The monorepo is the orchestrator of the study. It runs arm 1 in its own process. It calls the other two arms over HTTP. It does the scoring and the persistence. It also contains the real product app and the RheumaAI code (apps/bioagent).
- Repo:
poktalabs/pokta-care-monorepo - Benchmark scripts:
apps/api/scripts/biobadamex-*.ts - Scoring:
apps/api/src/services/biobadamex-eval.ts - Arm invocation:
apps/api/src/services/biobadamex-study-arms.tsandbiobadamex-study-harness.ts - Deployed: Railway (
app.poktacare.com/api.poktacare.com) - Stack: TypeScript, Turbo, Drizzle, React
This site
Section titled “This site”- Repo:
poktalabs/pokta-care-docs - Stack: Astro + Starlight
- Deployed: Cloudflare Pages,
docs.poktacare.com - Access: public. Do not put PHI, secrets, or real patient data on this site. Refer to Guardrails.