create command creates a new room on a Gambiarra hub where participants can join and share their LLM endpoints.
Usage
Options
Room name. Also accepts
-n shorthand. This is a required parameter.Optional password to protect the room. Also accepts
-p shorthand. When set, participants must provide this password to join.Hub URL to connect to. Also accepts
-H shorthand.Examples
Create a basic room
Create a public room on the default local hub:The room code is randomly generated and unique. Share this code with participants who want to join.
Create a password-protected room
Add password protection to prevent unauthorized access:Create on a remote hub
Connect to a hub running on a different machine:Create with shorthand flags
Use shorthand flags for quicker typing:Response details
When a room is created successfully, you’ll receive:- Code: A short alphanumeric code (e.g.,
ABC123) that participants use to join - ID: A unique identifier for the room (used internally)
- Protection: Indicates if the room is password-protected
Error handling
Missing room name
The--name flag is required:
Hub connection failure
If the hub is not reachable:Make sure the hub is running before creating a room. Start the hub with
gambiarra serve.API errors
If the hub returns an error (e.g., invalid parameters):How it works
- The command sends a
POSTrequest to{hub}/roomswith the room name and optional password - The hub creates a new room and generates a unique code
- The room is registered and ready to accept participants
- You receive the room code to share with others
Room lifecycle
After creating a room:- The room remains active on the hub
- Participants can join using the
joincommand - You can list all rooms with the
listcommand - Monitor room activity with the
monitorcommand
Related commands
serve- Start the hub serverjoin- Join an existing roomlist- List all available roomsmonitor- Monitor rooms in real-time
Next steps
After creating a room:- Share the room code with participants
- If password-protected, share the password securely
- Participants can join the room with their LLM endpoints
- Monitor the room to see participant activity