Duet is accessed entirely through SSH. No installation or downloads required - just connect using your terminal’s SSH client.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jaypopat/cf_ai_duet/llms.txt
Use this file to discover all available pages before exploring further.
Hosted Version
Connect to the hosted instance of Duet:<username> with your desired username. This will identify you in pairing sessions.
Local Development
If you’re running Duet locally for development:Start the server
Run the development environment:This starts the SSH server on port 2222 and the Cloudflare worker locally.
Server Configuration
When running your own Duet server, you can configure it using command-line flags (see main.go:12-14):--addr- SSH server address (default::2222)--hostkey- Path to SSH host key (default:.ssh/id_ed25519)--worker- Duet CF Worker base URL for AI features
After Connecting
Once connected, you’ll see the launch screen where you can:- Create a new pairing room
- Join an existing room
Troubleshooting
Connection Refused
If you get “Connection refused”:- Verify the server is running
- Check the port number (2222 for local, 22 for hosted)
- Ensure your firewall allows outbound SSH connections
Authentication Failed
Duet uses SSH key authentication. Ensure:- Your SSH client is configured with valid keys
- The server has a valid host key at the configured path