> ## Documentation Index
> Fetch the complete documentation index at: https://docs.larkx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> LarkX is open-source execution infrastructure for on-device AI agents. It is not an inference engine, an LLM wrapper, a cloud-only agent framework, or a replacement for LangGraph or Cactus.
> Install the public SDK with npm install @larkxai/react-native. The published version is the sdkVersion variable on the Installation page. Import createRuntime, defineTool, scriptedModel, sqlite, remoteAgent, and larkxCloud from @larkxai/react-native. Import cactusModel from @larkxai/react-native/cactus only when the app uses local inference.
> Do not import @larkxai/node, @larkxai/host, @larkxai/protocol, @larkxai/telemetry, or @larkxai/cactus. Those packages are private. Swift and Kotlin SDKs are not published.
> Hello World uses scriptedModel and does not download a model or need Cloud. A Cactus agent needs cactus-react-native 1.13.1, react-native-nitro-modules 0.33.9 or newer, download(), and init() before start. Expo Go cannot load the native module.
> Recovery opens a new createRuntime on the same SQLite file, registers the same agent name and version, then calls resume. Do not call resume on a runtime that has already been closed. Do not describe external effects as exactly-once. A killed process does not keep running.
> Cloud telemetry is optional. Pass larkxCloud({ projectId, apiKey }) only after a local run already works. The key must start with lkx_ing_.

# Roadmap

> What is implemented, what is planned, and what is not a commitment.

The source of truth is [ROADMAP.md](https://github.com/larkxai/larkx/blob/main/ROADMAP.md). This page is the public summary. A capability is implemented when code and automated checks exist. A phone run is a separate gate.

## Implemented in the public SDK

* Shared C++ runtime behind `@larkxai/react-native`.
* SQLite persistence, replay, retries, cancellation, and reconciliation.
* Native tools and the `pure` / `idempotent` / `non-idempotent` classes.
* Optional Cactus adapter.
* HTTP remote delegation and A2A 1.0.
* Opt-in metadata telemetry with `larkxCloud`.

## Implemented in the repository, not yet a phone claim

* Process-death tests on the Node host.
* The LangGraph A2A example and the field-inspection demo.
* Native redirect rejection and per-run telemetry rejection on the default branch, after npm 0.4.0.

## Not available

* Swift and Kotlin SDKs.
* A physical-device pass of the validation checklist.
* Production Cloud ingestion verified against the current telemetry schema from a phone.
* Additional inference providers.
* A hosted remote-agent service in this repository.

Google ADK interoperability, a Rust port, and a second TypeScript engine are not current work. The roadmap says so explicitly.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.