New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@agenteract/flutter-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agenteract/flutter-cli

Flutter dev server bridge for Agenteract

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
6
-25%
Maintainers
1
Weekly downloads
 
Created
Source

@agenteract/flutter-cli

Flutter dev server PTY bridge for Agenteract.

Agenteract is an experimental bridge that lets coding agents view and interact with running applications — React Native / Expo, React, Flutter, Kotlin Multiplatform, and SwiftUI.

What it does

This package wraps flutter run in a pseudo-terminal (PTY) and provides an HTTP API for:

  • Reading buffered dev server logs (build errors, device connection, hot reload status)
  • Sending commands to the Flutter dev server (hot reload, restart, quit)

Important Note

This captures dev server logs from flutter run. Runtime application logs from debugPrint are sent via WebSocket through the AgentDebugBridge widget in your Flutter app.

Usage

Typically used via pnpm agenteract dev from the monorepo root, not directly.

Direct usage:

# In your Flutter project directory
npx @agenteract/flutter-cli --port 8792

Commands

The PTY bridge accepts Flutter's standard keyboard commands:

  • r - Hot reload
  • R - Hot restart
  • q - Quit
  • h - Help

HTTP API

  • GET /logs?since=N - Get last N lines of flutter run output
  • POST /cmd - Send keystroke to dev server
    { "cmd": "r" }
    

Full documentation

See the Agenteract README for full setup guides, Flutter integration instructions, and platform-specific details.

License

MIT

Keywords

agenteract

FAQs

Package last updated on 26 Feb 2026

Related posts