Build your use case on agentlib.
Open source, MIT, on pub.dev. Install in 60 seconds and wire the primitives your app needs.
Every use case below leans on the same eight primitives — composed differently. All of it runs natively on iOS and Android, on-device or in the cloud.
Build a Claude-Code-grade assistant that runs in your Flutter app on iOS and Android — no Node subprocess, no backend agent runtime.
Run agents on Apple Foundation Models, Gemini Nano, or llama.cpp — and fall back to Anthropic, OpenAI, or Google only when needed.
Serialize a run's state, let the OS suspend or kill the app, then resume — even via push — with agentlib's lifecycle hooks.
Connect any Model Context Protocol server over HTTP or WebSocket and expose its tools to an on-device agent as Sh CLIs.
Open source, MIT, on pub.dev. Install in 60 seconds and wire the primitives your app needs.