Skip to content

Installation ​

kotlin
dependencies {
    // The graph builder and the engine. This is all the quick start needs.
    implementation("dev.deeptelar:telar-core:0.1.0-alpha09")

    // Optional modules. Add only the ones you use.
    implementation("dev.deeptelar:telar-serialization:0.1.0-alpha09")      // save @Serializable states
    implementation("dev.deeptelar:telar-checkpoint-file:0.1.0-alpha09")    // save runs as JSON files
    implementation("dev.deeptelar:telar-checkpoint-browser:0.1.0-alpha09") // save runs in a browser's localStorage (JS and Wasm)
    implementation("dev.deeptelar:telar-agent:0.1.0-alpha09")              // chat models, tools and the tool-calling agent
    implementation("dev.deeptelar:telar-anthropic:0.1.0-alpha09")          // call Claude, on every platform
    implementation("dev.deeptelar:telar-openai:0.1.0-alpha09")             // call OpenAI, Ollama and compatible servers, on every platform
    implementation("dev.deeptelar:telar-langchain4j:0.1.0-alpha09")        // call AI models through LangChain4j (JVM)
    implementation("dev.deeptelar:telar-typesafe:0.1.0-alpha09")           // ask Jev, a decision model, on every platform
}

Until 0.1.0-alpha05 the project was called langgraph-kt, and its artifacts were io.github.cuento3yllevo2:langgraph-kt-*. The changelog says how to update.

ModuleTargetsPurpose
telar-coreJVM/Android, iOS, macOS, Linux, Windows, JS, WasmGraph builder, execution engine, checkpointing interfaces
telar-serializationsame as coreKotlinxStateSerializer for @Serializable states, CheckpointCodec for custom checkpointers
telar-checkpoint-filesame as core (Node.js only for JS/Wasm)FileCheckpointer, one JSON file per thread
telar-checkpoint-browserJS and Wasm in a browserLocalStorageCheckpointer, runs that survive a page reload
telar-agentsame as coreChatModel, Tool, and the tool-calling agent: toolAgent / toolLoop
telar-anthropicsame as coreAnthropicChatModel, Claude through Ktor
telar-openaisame as coreOpenAiChatModel: OpenAI, Ollama and other servers with the Chat Completions API, through Ktor
telar-langchain4jJVM (Java 17+)LangChain4jChatModel and chatNode / chatMessagesNode for LangChain4j 1.x models
telar-typesafesame as coreTypeSafeDecisionModel: Jev, the decision model of TypeSafe AI, through Ktor
telar-testsame as coreScriptedChatModel, ScriptedDecisionModel and record(), for tests of a graph with an agent. Not released yet: it comes with the version after 0.1.0-alpha09.

Requires Kotlin 2.x. JVM artifacts target Java 11, except telar-langchain4j, which needs Java 17 because LangChain4j does.

Status ​

Alpha. 0.1.0-alpha09 is the latest release, and it is on Maven Central. The API may still change before 1.0; the changelog lists what changes in each version, and the roadmap lists what is planned.

Released under the Apache License 2.0.