Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentinel

ezgif-2c6f90c337b9c4

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.

Vision

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.

Features

  • 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

Tools

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

Usage

TUI Mode

cargo run

CLI Mode

# Basic query
cargo run -- ask "Your message"

# With tools enabled
cargo run -- ask "Your message" --tools

Building

# Standard build
cargo build

# Release build
cargo build --release

Testing

# Run all tests
cargo test

# Run specific test
cargo test test_name

# Tests with output
cargo test -- --nocapture

Development

Sentinel 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.

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages