Sign up to save tools and stay up to date with the latest in AI
bg
bg
1

Sweep AI Documentation

Feb 09, 2024 - docs.sweep.dev
The article introduces Sweep Assistant, a local development tool that codes alongside the user while ensuring their security by only sending code to the user's OpenAI endpoint. If Azure OpenAI is used, all code remains within the user's network. The installation process is simple and quick, with the command `npx sweepai` used to start Sweep. Updates can be made by running the command 'Disabling Telemetry'.

The article also emphasizes the importance of adding checks to the assistant for code verification. Two types of checks are recommended: a Validation Script that runs after every edit to catch syntax errors and undefined variables, and a Test Suite that runs after all edits are complete. Example scripts are provided, and users are advised to click the "Run Tests" button to test the script.

Key takeaways:

  • Sweep is a locally running development tool that codes alongside you, ensuring your code stays within your network for security purposes.
  • You can install Sweep by running a specific command in your terminal, and it can be updated or started in the future with simple commands.
  • It is recommended to add checks to your assistant, including a Validation Script that runs after every edit and a Test Suite that runs after all edits are complete.
  • You can self-host Sweep and get started by clicking the "Run Tests" button to test the script.
View Full Article

Comments (0)

Be the first to comment!