Sloppy
Run python run_example.py --prompt "Your topic". With the original .env configuration and no sloppy.json, the conversation starts directly as before. Use Ctrl+M to add, edit, or delete connections. Once sloppy.json exists, the launch picker lets you choose saved models or the current .env connections for AI 1 and AI 2. Ctrl+P opens the command palette. A selection made during a conversation applies to the next run.
Settings are saved in sloppy.json in the current working directory. Example:
{
"models": {
"local": {
"name": "Local Llama",
"base_url": "http://localhost:11434/v1",
"api_key": "ollama",
"model": "llama3",
"system_prompt": "You are a helpful assistant."
}
},
"selected": {"ai1": "local", "ai2": "local"}
}
For a hosted provider, set api_key to env:YOUR_API_KEY_VARIABLE to keep the secret out of JSON. .env values are read fresh on every launch; they are never copied into sloppy.json. Existing --ai1-* and --ai2-* arguments still start directly with the supplied connections.
Press S or F2 during a chat to open the sharing menu. Choose T to save a text-only Markdown transcript in transcripts/, with the initial prompt and each speaker's replies in order. The SVG screenshot options remain available.