Skip to main content
A personal assistant that reads notes on the phone, calls a couple of tools, and should still be the same run after the app is killed. That is an on-device execution problem, not a one-shot completion. Ordinary inference returns text and forgets which tool already changed local data. LarkX stores the model decision and the tool result, then resumes from that record.

Capabilities

Local application data, native tools, more than one step, and offline execution. Cloud is not required.

What you can run

examples/react-native-agent includes NativeAgentDemo. It is a scripted agent named personal-assistant. The tool read_notes is pure. The screen starts a run, closes the runtime, opens a new runtime on the same database, and resumes. The committed tool does not run again in that second process. The scripted replies are not inference. There is no separate published assistant app, and this page does not describe a customer deployment. Use the same shape in your app:
Replace scriptedModel with Cactus when the summary should come from a local model. Follow Hello World first if the development build is not running yet.