pipx install theseus_agentnpx theseus-uipipx install --force theseus_agentnpm install -g theseus-tui# For Anthropicexport ANTHROPIC_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx# OR for OpenAIexport OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx# OR for Groqexport GROQ_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxtheseus-tuinpm uninstall -g theseus-tuinpm install -g theseus-tuitheseus-tui --debugollama run deepseek-coder:6.7btheseus-tui configure# Select "ollama/deepseek-coder:6.7b" from the model optionstheseus-tui --api_key=FOSSnpm uninstall -g theseus-tuinpm install -g theseus-tuiTheseus will transforming DeFi by delivering advanced yield optimization powered by intelligent our AI Agent and revolutionary AI tools.
# Start in terminal modetheseus-tui# Navigate historyUse up/down arrow keys# Interrupt operationsCtrl+C# ExitCtrl+D# Request review"Review this implementation"# Address feedback"Apply the suggested improvements"# Verify changes"Run the tests to verify"# Plan implementation"How should we implement this feature?"# Execute plan"Let's start with the basic structure"# Iterate and refine"Now add error handling"# Describe issue"The app crashes when..."# Investigate"Can you help find the cause?"# Apply fix"Implement the solution"# Verify"Add tests to prevent regression"export THESEUS_MAX_MEMORY=4096# Set cache directoryexport THESEUS_CACHE_DIR=/path/to/cache# Set cache size limitexport THESEUS_CACHE_SIZE=1024# Restrict to specific directoriesexport THESEUS_ALLOWED_PATHS=/path/to/projects# Block sensitive directoriesexport THESEUS_BLOCKED_PATHS=/path/to/sensitive# Enable secure modeexport THESEUS_SECURE_MODE=true# Set API request timeoutexport THESEUS_API_TIMEOUT=30{
"customCommands": {
"myCommand": {
"script": "/path/to/script.sh",
"description": "Custom command description"
}
}
}{
"shortcuts": {
"togglePanel": "cmd+shift+p",
"quickAction": "ctrl+space"
}
}theseus-tui verify-configexport THESEUS_DEBUG=truetheseus-tui --debugtheseus-tui reset-configYou: "I'm getting a TypeError in my authentication module"
Theseus: *Analyzes code and suggests fixes*
You: "Apply the suggested fix"
Theseus: *Makes changes and verifies*You: "Add input validation to the user registration form"
Theseus: *Suggests implementation*
You: "Looks good, implement it"
Theseus: *Adds the feature and tests*