ailoha_agent 0.1.8
ailoha_agent: ^0.1.8 copied to clipboard
Ailoha agent for Flutter — runtime app inspection, interaction, and debugging from CLIs, AI agents, and IDE tooling.
ailoha_agent #
Ailoha agent for Flutter
Getting started #
Add ailoha_agent as a dev dependency:
dev_dependencies:
ailoha_agent: ^0.1.0
Usage #
Initialize the agent early in your app, guarded by kDebugMode so it never
ships in release builds:
import 'package:flutter/foundation.dart';
import 'package:ailoha_agent/ailoha_agent.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
if (kDebugMode) {
await initAgent();
}
runApp(const MyApp());
}
Custom options #
await initAgent(AgentOptions(
enableProfiler: true,
));
Once the agent is running, use the Ailoha CLI to connect:
ailoha status