Quick Start Guide
Get up and running with Kollabor in under 5 minutes. This guide will walk you through the basics.
1 Install Kollabor
If you haven't already, install Kollab CLI using Homebrew:
brew install kollaborai/tap/kollabor Or use pip: pip install kollabor
2 Launch Kollabor
Start the application by running:
kollabYou'll see the Kollabor welcome screen with the input prompt at the bottom.
3 Configure Your API Key
Kollabor needs an API key to connect to an LLM provider. Set your OpenAI API key:
export OPENAI_API_KEY=sk-your-key-here Add this to your ~/.zshrc or ~/.bashrc to persist it across sessions.
4 Start Chatting
Type your message and press Enter to send. Kollabor supports:
- Multi-line input (Shift+Enter for new line)
- Conversation history (scroll to review)
- Real-time streaming responses
- Syntax highlighting for code
5 Use Slash Commands
Type / to see available commands:
/saveSave conversation to file
/branchCreate a git branch from context
/matrixEnter the Matrix effect
/helpShow all commands
6 Try Pipe Mode
Use Kollabor in scripts with pipe mode for quick queries:
kollab your-query-hereOr pipe from stdin:
echo "What is a REST API?" | kollab -p7 Use Agents
Agents are custom configurations with specialized system prompts. Create agents in .kollabor-cli/agents/:
# Create an agent directory
mkdir -p .kollabor-cli/agents/code-reviewer
# Add a system prompt
cat > .kollabor-cli/agents/code-reviewer/system_prompt.md << 'EOF'
You are a code reviewer. Focus on:
- Code quality and best practices
- Potential bugs and edge cases
- Performance considerations
EOFSwitch to your agent:
/agent code-reviewer8 Load Skills
Skills are markdown files that add specific instructions to your agent. Create a skill:
# Add a skill to your agent
cat > .kollabor-cli/agents/code-reviewer/security-check.md << 'EOF'
## Security Check Skill
When reviewing code, also check for:
- SQL injection vulnerabilities
- XSS attack vectors
- Hardcoded secrets or credentials
- Input validation issues
EOFLoad and unload skills dynamically:
/skill security-check# Load the skill/skills# List available skills/skill -u security-check# Unload the skill9 Explore Plugins
Extend Kollabor with plugins. Create a custom plugin in ~/.kollabor-cli/plugins/:
# my_plugin.py
from core.plugins import BasePlugin
class MyPlugin(BasePlugin):
def register_hooks(self):
self.register_hook('pre_user_input', self.my_handler)
async def my_handler(self, context):
# Your custom logic here
return contextYou're All Set!
You've completed the quick start guide. Here are some resources to go deeper: