Skip to content

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.

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.

Repo map: the monorepo calls RheumaAI (apps/bioagent) and the Grader over HTTP; the Grader started as a fork of RheumaAIpokta-care-monorepoStudy orchestratorarm 1 in process + productBun + Elysia · Railwaymonorepo · apps/bioagentRheumaAI · arm 2app.rheumai.xyzHTTPpokta-grader-bioagentGrader · arm 3grader.poktacare.comHTTPfork originpokta-care-docsThis sitedocs.poktacare.comlinks to each repo
Figure 1. How the repos relate. Solid arrows are HTTP calls. The dashed arrow points from the fork origin to the fork (history). The dotted frame contains the two Bun + Elysia services on Railway.

The Grader is arm 3 of the study. It is the product that changes as the team works on it.

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, in apps/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.xyz is the marketing landing.
  • Runtime: Bun + Elysia. This is the same stack as the Grader.

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.ts and biobadamex-study-harness.ts
  • Deployed: Railway (app.poktacare.com / api.poktacare.com)
  • Stack: TypeScript, Turbo, Drizzle, React
  • 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.