Skip to content

Why Telar ​

  • Your state is a plain data class. Each node returns a .copy() of it, so a run is easy to test, print and save, and parallel branches cannot overwrite each other by accident.
  • Mistakes in the graph fail in compile(). An unknown node, a node nothing leads to, or two parallel nodes with no rule to merge their results are reported before anything runs.
  • Pause anywhere, continue later. Stop before a node, or call interrupt from inside one when it finds out it needs a person. The run is saved, and resume continues it hours later, in another process. history and fork go back to any earlier step.
  • Every Kotlin platform. The core depends only on kotlinx-coroutines and runs on the JVM, Android, iOS, macOS, Linux, Windows, JS and Wasm. Agents, models and checkpoints work there too, down to runs saved in SQLite on a phone or in the browser's localStorage.
  • Coroutines all the way. Nodes, edges and models are suspend functions. Cancellation works as you expect, and parallel nodes use structured concurrency.
  • Any model, small surface. Claude, OpenAI, Gemini, Ollama and every server with the API of OpenAI, plus any LangChain4j model on the JVM. ChatModel is one function, so a model of your own, or a fake one in a test, takes a few lines. Tools are suspend functions of your own or the tools of any MCP server, and ask returns a @Serializable class in place of text.
  • Ready for production. A node can be tried again and given a time limit, a payment in it runs once even when its step runs again, a run reports its nodes to OpenTelemetry, and an agent stops at a token budget. telar-test tests a graph with an agent without an API key.

Telar and other libraries ​

A Kotlin project has other good choices for AI agents. This is how we see the differences on 2026-10-15; if something here is wrong or out of date, please open an issue.

TelarKoogLangGraph4jLangChain4j
What it isA graph engine for agents and workflowsJetBrains' framework for AI agentsA Java port of LangGraphA Java toolkit for LLM apps
PlatformsJVM, Android, iOS, macOS, Linux, Windows, JS, WasmJVM, Android, iOS, JS, WasmJVM (Java 17+)JVM (Java 17+)
Workflow stateYour own immutable data classValues passed between the nodes of a strategy, and the agent's storageA map of channels with reducersMostly the conversation memory
Saved runsMemory, files, the browser, and SQLite on every platformAgent persistence: checkpoints of an agentMemory, and savers for PostgreSQL, MySQL, Redis, SQLite and moreChat memory stores
Around the agentMCP tools, typed answers, retries and time limits, side effects that run once, token budgets, OpenTelemetry, test helpersMCP tools, retries, streaming, history compression, OpenTelemetrySubgraphs, parallel nodes, streaming, OpenTelemetry, Mermaid and PlantUML diagramsMCP tools, structured outputs, RAG, observability listeners
StageAlpha: the API can still changeStable 1.xStable 1.xStable 1.x
Best atWorkflows with typed state, checks before a run, pauses and save points, on every platform, from a server to a phone and a browserA complete agent platform with many providers, backed by JetBrainsLangGraph's design on the JVM, from JavaIntegrations: models, vector stores, RAG

Choose Telar when the workflow itself is the hard part: several steps, branches that join, people who approve, runs that must survive a restart, and state you want to read as ordinary Kotlin, on a server as well as in an app on a phone or in a browser. If you need a stable API today, many ready-made integrations, or runs saved in a database server, Koog, LangGraph4j or LangChain4j are the safer choice. Telar works with LangChain4j: telar-langchain4j turns any of its models into a ChatModel.

Telar is an independent project inspired by LangGraph. It is not affiliated with or endorsed by LangChain, Inc.

Released under the Apache License 2.0.