Sentinel is an open-source coding agent created for the VibehackAI Hackathon. It's designed to work entirely with locally hosted Ollama models, providing a free alternative to cloud-based coding assistants. Note: This project is currently under heavy development.
While current local LLMs may be too slow for practical coding assistance on consumer hardware, Sentinel positions itself for a future where local hardware improvements make this approach viable. The project aims to create a fully functional, privacy-respecting coding agent that runs completely offline.
- Terminal UI - Interactive interface for working with the coding agent
- CLI Mode - Quick access via command line for specific queries
- Local First - Works entirely with locally hosted Ollama models
- Tool Integration - Uses a variety of tools to enhance capabilities
Sentinel implements several tools to enhance the coding agent's capabilities:
- Bash Tool - Execute shell commands and parse results
- File Tools - Create, read, update, and delete files within the codebase
- Find File Tool - Search for files in the project directory
- LS Tool - List directory contents
cargo run# Basic query
cargo run -- ask "Your message"
# With tools enabled
cargo run -- ask "Your message" --tools# Standard build
cargo build
# Release build
cargo build --release# Run all tests
cargo test
# Run specific test
cargo test test_name
# Tests with output
cargo test -- --nocaptureSentinel is built in Rust using the ollama-rs client library for interacting with Ollama models. Contributions are welcome!
The project follows Rust best practices and conventions, with modular architecture separating UI, LLM integration, and tools functionality.
