theseus.mp4
We have a community-driven Dev Team for this repo. Tweet at us!
node.js
andnpm
pipx
, if you don't have this go here- API Key (just one is required)
We're currently working on supporting Windows! (Let us know if you can help)
To install using pipx
+ npm
:
# Step 1: Ensure directory where pipx stores apps is in your PATH environment variable
pipx ensurepath
# Step 2: For the backend
pipx install theseus_agent
# Step 3: For the main UI (install and run)
npx theseus-ui
If you already have theseus_agent installed, update it by running:
pipx install --force theseus_agent
Then to run the main ui, the command is:
npx theseus-ui
It's that simple.
If you'd like to use the terminal interface, follow these steps:
- Make sure you have the backend installed
# For the backend
pipx install theseus_agent
- Install the tui
# For the tui
npm install -g theseus-tui
Note
If you already have theseus-tui installed, update it by running:
npm uninstall -g theseus-tui
npm install -g theseus-tui
- Navigate to your project folder and open the terminal.
- Set your Anthropic API or OpenAI API key as an environment variable:
export ANTHROPIC_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#OR
export OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#OR
export GROQ_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- Then to run the terminal-ui, the command is:
theseus-tui
It's as easy as that.
Note
Don't worry, the agent will be able to only access files and folders in the directory you started it from. You can also correct it while it's performing actions.
To run in debug mode, the command is:
theseus-tui --debug
To run in local mode:
Warning
The current version of local model support is not mature, proceed with caution, and expect the performance to degrade significantly compared to the other options.
-
Get deepseek running with ollama
-
Start the local ollama server by running
ollama run deepseek-coder:6.7b
- Then configure theseus to use the model
theseus-tui configure
Configuring theseus CLI...
? Select the model name:
claude-opus
gpt4-o
llama-3-70b
❯ ollama/deepseek-coder:6.7b
- And finally, run it with:
theseus-tui --api_key=FOSS
For a list of all commands available:
theseus-tui --help
- Smart Contract Generation
- Codebase exploration
- Config writing
- Test writing
- Bug fixing
- Protocol Integration
- Local model support
- Minimal functionality for non-Python languages
- Sometimes have to specify the file where you want the change to happen
- Local mode is not good right now. Please try to avoid using it.
- Multi-model support
- Claude 3.5 Sonnet
- GPT4-o
- Groq llama3-70b
- Ollama deepseek-6.7b
- Google Gemini 1.5 Pro
- Deepseek r1
- Launch plugin system for tool and agent builders
- Improve our self-hostable Electron app
- Set SOTA on SWE-bench Lite
- June 28, 2024 - File and code referencing, improve steerability, Claude Sonnet support v0.0.16
- June 14, 2024 - Launch Electron UI v0.0.13
- June 1, 2024 - theseus V2 Beta Electron UI
- May 19, 2024 - GPT4o support + better interface support v0.1.7
- May 12, 2024 - Complete interactive agent v0.1.0
- May 10, 2024 - Add steerability features
- May 8, 2024 - Beat AutoCodeRover on SWE-Bench Lite
- Mid April, 2024 - Add repo level code search tooling
- April 2, 2024 - Begin development of v0.1.0 interactive agent
- March 17, 2024 - Launch non-interactive agent v0.0.1
Note
If you already have the tui installed, run a clean reinstall:
npm uninstall -g theseus-tui
npm install -g theseus-tui
- Improve context gathering and code indexing abilities ex:
- Adding memory modules
- Improved code indexing
- Add alternative models and agents to:
- a) Reduce end user cost and
- b) Reduce end user latency
- Electron app
- Save and load in project overviews for agent context
- Revert & "step back" timeline interface
- Better code diff view
- Send user file events/changes to theseus
theseus is community-driven, and we welcome contributions from everyone! From tackling issues to building features to creating datasets, there are many ways to get involved:
- Core functionality: Help us develop the core agents, user experience, tool integrations, plugins, etc.
- Research: Help us research agent performance (including benchmarks!), build data pipelines, and finetune models.
- Feedback and Testing: Use theseus, report bugs, suggest features, or provide feedback on usability.
For details, please check CONTRIBUTING.md.
Tweet at us!
We would love feedback! Tweet at us! We collect basic event type (i.e. "tool call") and failure telemetry to solve bugs and improve the user experience, but if you want to reach out, we would love to hear from you!
To disable telemetry, set the environment variable theseus_TELEMETRY_DISABLED
to true
export theseus_TELEMETRY_DISABLED=true
Tweet at us!