Skip to main content

Telo Standard Library

The Telo standard library is the collection of modules that ship with the kernel — ready-to-import building blocks for AI, HTTP, storage, workflow orchestration, encoding, runtime targets, scripting, and ops. Each module is self-contained, declared by its own telo.yaml, and composes into your application through Telo.Import.

For how modules are defined, imported, and composed, see the Module Specification.

Modules by domain

AI

ModuleDescription
aiLLM access via Ai.Model, Ai.Text (buffered), and Ai.TextStream (streaming).
ai-openaiOpenAI provider implementing Ai.OpenaiModel.

HTTP & APIs

ModuleDescription
http-serverLanguage-agnostic HTTP server and routing (Http.Server, Http.Api).
http-clientOutgoing HTTP calls (Http.Client, Http.Request).
mcp-serverModel Context Protocol server transports and tool bundles.
mcp-clientMCP client transports plus tools/call and tools/list dispatch.

Storage & Data

ModuleDescription
sqlPostgreSQL and SQLite via Sql.Connection, Sql.Query, Sql.Exec, Sql.Select, Sql.Transaction, and migrations.
sql-repositoryDomain-shaped CRUD over a table via SqlRepository.Read/Create/Delete.
s3S3-compatible object storage.
typeNamed data types via Type.JsonSchema.
yamlYAML parsing primitives.

Workflow & Control Flow

ModuleDescription
runUnified sequence execution with invoke, if, while, switch, and try steps.
workflowWorkflow orchestration primitives with pluggable backends.
workflow-temporalTemporal backend for Workflow.Graph.

Encoding & Streams

ModuleDescription
codecCodec.Encoder and Codec.Decoder abstracts.
plain-text-codecUTF-8 plain-text encoder and decoder.
ndjson-codecNewline-delimited JSON encoder.
sse-codecServer-Sent Events encoder.
octet-codecRaw byte encoder and decoder.
record-streamRecord stream primitives.

Runtime Targets

ModuleDescription
lambdaRun your manifest as an AWS Lambda function (Lambda.Function, Lambda.HttpApi, Lambda.Sqs, Lambda.Direct).

Scripting

ModuleDescription
javascriptInline JavaScript execution via JavaScript.Script.
starlarkDeterministic, bounded scripting via Starlark.Script.

Configuration & Ops

ModuleDescription
configEnvironment variables, secrets, and composed config via Config.*.
consoleConsole I/O via Console.WriteLine and Console.ReadLine.
benchmarkLoad benchmarking for any invocable Telo resource.

Testing

ModuleDescription
assertAssertion and value verification for testing.
testTest runner for YAML-based test suites.