A dependency-free coding agent for efficient local model usage.
Project details
Bobbin is designed for seamless interaction with small local coding models, allowing developers to perform complex code manipulations without the need for external dependencies. This lightweight agent can execute multiple tasks across files, providing transparency with every operation through recorded runs, making it a reliable tool for modern developers.
bobbin is a sophisticated coding agent designed for small local models, operating without dependencies via Ollama. This tool relies solely on the standard library, eliminating the need for installations such as pip install, requests, or the ollama package, streamlining the user experience for developers aiming to enhance their coding workflows.
Function Refactoring: Captures and executes structured tool calls emitted by the model, enabling seamless function renaming and code modifications across multiple files, ensuring that vendored packages remain untouched.
Reliable Performance: Tracks metrics through 4,133 runs within evals/results/, providing transparency and accuracy in reported results. It facilitates recomputation of performance metrics, distinguishing itself from other tools by demonstrating a commitment to precision and accountability.
Detailed Assessments: bobbin goes beyond just performing tasks. It runs tests against local coding models, demonstrating significant advantages in multi-file refactor capabilities compared to its peers, while maintaining comparable performance in single-file edits.
The performance metrics align bobbin closely with existing tools, particularly on multi-file editing tasks, where it significantly outperformed competitors like aider in extensive testing scenarios. Key performance results are summarized as follows:
| Task Type | bobbin Performance | Aider Performance |
|---|---|---|
| Single-file edits | 46/48 | 45/48 |
| Cascades + Repair | 61/66 | 11/66 |
| Overall | 107/114 | 56/114 |
bobbin supports local code review securely, without information leaving the machine. This makes it an ideal choice for assessing code under legal constraints, such as NDAs or strict data policies. The security review capabilities of bobbin can be executed using commands like:
python3 -m evals.run --cases tag:security # whole-file review
python3 -m evals.run --cases tag:diffreview # review a staged change
The agent not only conducts code reviews but can also find and prove vulnerabilities in running applications, seamlessly integrating with local test environments. It identifies flaws such as SQL injection, command injection, and other security vulnerabilities, allowing for comprehensive assessments without requiring external network access.
bobbin offers a unique solution for developers needing a robust, dependency-free coding agent for local models. Its advanced capabilities in function refactoring, performance transparency, and security reviews make it a valuable tool for modern programming tasks, particularly for users working with sensitive codebases. With bobbin, users have access to a powerful assistant that combines functionality and reliability, empowering them to streamline their coding processes efficiently.
Comments
0Start the conversation
Share the first comment.