panteao 1.1.30
panteao: ^1.1.30 copied to clipboard
Dart client for the Panteao BDI Coprocessor. Integrates multi-agent BDI systems via JSON and Sockets natively in your Dart or Flutter application.
Panteão (Dart SDK) #
Panteão is a lightweight SDK to integrate the Panteão BDI (Belief-Desire-Intention) engine natively into your Dart applications.
Usage #
import 'package:panteao/panteao.dart';
void main() async {
final engine = Panteao(host: '127.0.0.1', port: 0, project: './project.jcm');
await engine.connect();
engine.registerAction('turn_on_ac', (args, respond) {
print("Action received!");
engine.sendMsg('tell', 'sensor', 'bob', 'ac_status(on)');
respond(true);
});
await engine.wait();
}
See aop-globalization repository for the full architecture.