NPC mobile primitives for Flutter.
npcd provides the shared Dart/Flutter layer for NPC-Worldwide apps that need:
- NPC kernel via FFI — bindings to the Rust
npcrscore, team loading, and agent delegation. - Jinx execution — run reusable agent workflows from Dart.
- Local data — SQLite helpers for on-device caching and sync.
- Voice — TTS and speech-to-text wrappers.
- OS integrations — notifications, app launching, phone, camera, maps, settings, usage guards.
- UI widgets — ready-to-use chat page and voice-input FAB.
dependencies:
npcd: ^0.1.0import 'package:npcd/npcd.dart';
await NpcService.instance.initialize();
final reply = await NpcService.instance.delegateTo('chef', 'What should I cook?');See the example/ directory for complete apps.
MIT — see LICENSE.