The fa_hub_client package enables Flutter applications to communicate with a DAP/1 hub via a signed WebSocket, facilitating secure messaging through the MessagingRepository. It integrates with Agent.externalSteeringSource using FahPlugin for seamless delivery of agent-driven actions. Designed for use within the flutter_agent_harness ecosystem, it supports cross-platform development across Android, iOS, Linux, macOS, and Windows. The package simplifies real-time, authenticated communication between Flutter apps and agent hubs.
Use cases
- Real-time agent communication
- Secure messaging over WebSocket
- Cross-platform agent integration
- Automated steering via external sources
- Integration with flutter_agent_harness
Key features
- Signed WebSocket connections
- MessagingRepository interface
- FahPlugin for steering delivery
- Cross-platform support
- Built for DAP/1 hub compatibility
Suitable for
- Developers using flutter_agent_harness
- Applications requiring agent-based workflows
- Projects needing secure real-time messaging
- Cross-platform agent clients
- DAP/1 hub-connected systems
Considerations
- Requires DAP/1 hub infrastructure
- Dependent on flutter_agent_harness
- Limited to agent-driven interaction patterns
- Needs proper signing for WebSocket handshake
- Not suitable for general-purpose HTTP requests