Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 4 Nov 2026. What's built · Install 0.2.0
jadpo
ReferenceAI

LanguageValues and typesStandard types

AI

Token counts, token usage and the messages of a chat with a model.

Topics

AI types

The AI types are the values an app passes to and from a model: chat messages and their roles, vectors and embeddings, and token counts.

Types

TypeWhat it is
TokenCountHow many tokens a prompt or an answer holds, by its model's own count.
TokenUsageThe tokens one call to a model used: what it read, what it wrote and what its cache served.
ChatMessageOne message in a conversation with an AI model: who wrote it and what it says.
ChatRoleWho wrote a message in a conversation with a model: system, user, assistant or tool.

Markdown for agents: /docs/types-ai.md.Built from Jadpo main at 6cc3cb4.