Urgent.News

What's breaking now, across thousands of outlets.

AI

🐧 OpsBuddy: A Privacy-First Local AI SysAdmin Mentor (Built with Gemma, Ollama & Sentry)

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend What I Built I built OpsBuddy , a local, privacy-first AI mentor designed specifically for SysAdmin and Linux training in a CLI environment. I built this for my friend and trainee, Andre , who is currently learning the ropes of server administration. The biggest hurdle for beginners like him is understanding complex…

This submission for the Hacktoberfest Weekend Challenge introduces OpsBuddy, an AI-powered local mentor tailored for SysAdmin and Linux training within a command-line interface. Created for Andre, a trainee learning the fundamentals of server administration, OpsBuddy addresses the challenge of beginners grappling with deciphering intricate error logs without revealing sensitive server data (such as IPs, usernames, or paths) to cloud-based AI solutions.

By operating entirely locally on the user's machine, OpsBuddy functions as a secure, intelligent sandbox where learners can pose technical inquiries and conduct private analysis of .log files. The demo showcases OpsBuddy examining a local log file, accompanied by performance tracing data captured via Sentry. Built on a fully open-source and private stack, OpsBuddy leverages Google's Gemma 2B open-weight AI model for swift, succinct, and accurate technical guidance.

Local inference is facilitated by Ollama, running the large language model (LLM) without requiring an internet connection. The application's logic and user interface are constructed using Python and a rich library for an aesthetically pleasing CLI experience. Sentry's SDK monitors the AI's performance, incorporating start_transaction and start_child spans to accurately measure the latency of the local inference streaming.

This project exemplifies the significance of open innovation, utilizing open-weight models like Gemma 2B and open local platforms like Ollama to ensure ultimate data privacy. Users can confidently instruct the AI to evaluate sensitive SSH, database, or application logs, fearing no transmission of their data to closed, third-party APIs.

By embracing open innovation, OpsBuddy delivers a powerful, cost-free mentor that respects users' control over their information.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

I'm building a companion island for my desktop AI assistant: approvals, a mascot, and a 14px wake strip

I'm building a desktop AI assistant, and it has a permission problem that no amount of prompt engineering fixes. Ankita asks for approval before it does anything irreversible — sends a message, runs a…

  • Reporter building companion island for desktop AI assistant
  • Island includes three views (Petit tab, Home, Home expanded) and 14-pixel wake strip
  • Keyless Composio sign-in and MCP approval tiers introduced alongside

MCP for tour guides: building a remote MCP server with ~100 tools and OAuth

I work on Your Next Tours, an app tour guides use to broadcast live audio to their group from their phone. Guests scan a QR code and listen in the browser.

  • Remote MCP server built for tour guides to connect AI models
  • Server uses Streamable HTTP with 100 tools and OAuth 2.1 + PKCE
  • Ory Hydra handles authentication and authorization process

More from Saturday 3 October →