nativemind_copilot

The NativeMind copilot for Flutter: an agent panel (NmCopilotPanel under NmCopilotScope with an NmCopilotController), engines (cloud providers, on-device models, hybrid), voice and attachment ports, approvals and the AI loupe. Part of the NativeMind framework.

Built on nativemind_core: about 0.9 MB of assets (test/size_test.dart checks it); the only plugin is flutter_llama (on-device models) — keep this package out of apps or editions that must not ship native model code. Extra languages: add nativemind_translations and call NmTranslations.install(). Customisation: doc/customisation.md. Upgrading from 0.x or from nativemind_widgets/ai.dart: doc/migration-1.0.md.

Install

dependencies:
  nativemind_copilot: ^1.0.0
import 'package:nativemind_copilot/nativemind_copilot.dart';

Register NmCopilot.delegate with the app's localizations delegates.

Authors

The copilot was written with AI assistants in 2026 (SDD flows sdd-nativemind-copilot, sdd-nativemind-widgets-*); it contains no handmade code — 0 % handmade, see PROVENANCE.md. The handmade parts of the framework are in nativemind_core, nativemind_vpn, nativemind_sound, nativemind_sound_generator, nativemind_deals and nativemind_call.

License

NativeMindNONC (see LICENSE), as the whole NativeMind framework. flutter_llama and downloaded models keep their own licenses (see NOTICE).

Libraries

nativemind_copilot
The NativeMind copilot: conversation UI (Traffic OS design), state, protocol client, engines, voice, attachments, spending policy, OAuth / MCP connect screens. Built on nativemind_core (light: essential icons, no plugins).