JDogo
Open playground

Languages and compatibility

Write JDogo in one language and read it in another. Java, Python and TypeScript implement the same format, the same limits and the same compute language.

What each SDK does

Java 17+Python 3.9+TypeScript / Node
Encode and decode✓✓✓
Readable and typed modes✓✓✓
Streaming reader and writer✓✓✓
Prompt builder, byte-identical prompts✓✓✓
ask() and the compute language✓✓✓
jdogo command✓✓✓
Context sync (snapshots, deltas, signed envelopes), byte-identical✓✓✓
Grounded compute: row references and an independent check✓✓✓
optimize(): JDogo or JSON, whichever costs fewer tokens with the instruction, and a receipt✓✓✓ (estimated tokens unless you pass a tokenizer)
OpenAI and Anthropic tool-call helpers✓✓
MCP server✓
Framework integrationsSpring Boot, Spring AI, Jacksonpandas, FastAPI, Flask, LangChainExpress, Next.js, Vercel AI SDK
Runtime dependenciesslf4j-api for the core; jtokkit for token counting; Jackson only for the Jackson and Spring integrationsnonenone

How compatibility is checked

Same data, same text?

Decoding is exact everywhere. Encoding can differ in small ways: Python and TypeScript pick the same column forms as Java on most tables, but Java decides some forms from the first 64 rows, and spells some numbers differently (0.5 against .5). Every version decodes to the same value in every SDK.

Known differences

The full list is in section 9 of the specification.