The gravity client CLI that enables secure tunneling to development endpoints through the Agentuity Gravity network infrastructure.
This CLI creates a local proxy server that connects to Agentuity's Gravity network, allowing developers to expose local services through secure IPv6 tunnels with automatic certificate generation and network stack management.
- Secure Tunneling: Establishes encrypted connections through Gravity network
- IPv6 Support: Creates IPv6 addresses using Gravity's network infrastructure
- Gravity Network: Seamlessly connects to Agentuity network endpoints
- Network Stack Management: Handles low-level networking with gVisor integration
go build -o gravity .- Endpoint Discovery: Retrieves development endpoint configuration from Agentuity API
- Network Setup: Creates IPv6 address and finds available proxy port
- Gravity Provisioning: Establishes connection to Gravity network infrastructure
- Connection Management: Handles reconnection and graceful shutdown
- Go 1.25.3+
- Cobra CLI for command-line interface
- gVisor for network stack management
- Agentuity Go Common libraries for networking and logging
The project follows standard Go project structure:
main.go: Entry pointcmd/: Command-line interface implementationinternal/stack/: Core networking and proxy functionalityinternal/utils/: Utility functions
Part of the Agentuity development toolchain.
