
Inspired by libwww (CERN WWW) and libcurl, Polyflux empowers AI agents to utilize networked resources without human guidance or specific programming.
Features
- Interface Design - Clean abstractions for any protocol
- Core Protocol Framework - Build custom protocol implementations
- Message Containers - Simple data structures for any protocol
- Production Ready - HTTP client/server with ASGI support, WebSocket client/server with broadcasting, and comprehensive testing
- Input Validation - Rich validation with documentation and constraints
- Coming Soon - gRPC, GraphQL, MQTT, Server-Sent Events, and more protocol implementations
Quick Start
Get started with Polyflux in minutes with our comprehensive guides and examples.Installation
Install Polyflux and create your first client
Core Concepts
Learn about interfaces, messages, and core concepts
Explore Packages
Polyflux is organized as a collection of specialized packages for different protocols and use cases.Core Package
Core building blocks for communication clients
HTTP Package
Full-featured HTTP client and server with ASGI support and async context managers
WebSocket Package
Production-ready WebSocket client and server with broadcasting and connection pooling
Development
Learn how to contribute and build new protocol packages


