Skip to content
View m-a-singh's full-sized avatar

Block or report m-a-singh

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
m-a-singh/README.md

Hi, I'm Maheshwar 👋

Senior Software Engineer with a background in Java backend and search infrastructure.

The projects here are built entirely in my personal time — driven by curiosity about what it takes to make AI-powered systems reliable, not just impressive in a demo.

Most AI tooling focuses on the exciting parts. I tend to build the parts underneath: provenance-preserving retrieval pipelines, embedding evaluation frameworks, anti-hallucination prompt pipelines, and static analysis tools that give LLMs accurate context instead of letting them guess.

The theme: build things you can measure and trust, not just things that look like they work.


🔧 Projects

🗂️ local-library-assistant · Python

A full RAG pipeline built from scratch — no LangChain, no abstractions. Ingests local files into a canonical EvidenceUnit model that preserves source file, structural region, line/char ranges, and adjacency links. SQLite FTS5 lexical retrieval, hybrid semantic retrieval with graceful fallback, and grounded answer synthesis with source citations. Every retrieved chunk knows exactly where it came from.

🔍 jidra · Python

CLI and MCP server for Java codebase understanding. Builds a static call graph via tree-sitter, traces method and HTTP route flows, generates deterministic flow and stack-trace investigation docs, and optionally runs LLM diagnosis on graph-grounded context. Benchmarked against Claude and Codex baselines: 30–38% context reduction with more structured outputs.

Evaluation harness for comparing embedding request-building strategies — flat concat, per-field chunking, weighted field pooling, text cleansing — across SentenceTransformer models. Includes a Triton input simulator for production-parity formatting and a Pearson-correlated summary report. Built to answer: does the retrieval improvement come from the model or the request construction?

🧠 local_first_LLM · Python

Toolkit for production-grade LLM usage patterns: a LiteLLM wrapper with retry/backoff and typed error taxonomy; a three-stage Architect → Judge → Polisher prompt pipeline with faithfulness checking; and an idea-to-epic planner with strict JSON output, schema validation, and auto-repair loop.

⚙️ localops_mcp_server · Rust

Rust MCP server exposing local machine capabilities to AI clients over stdin/stdout — file I/O, shell execution, system stats, macOS notification triage, port management. Namespaced tool API, path traversal guards, strict command validation, symlink protection, and integration tests.


🛠️ Languages

Rust Python Java

Pinned Loading

  1. embedding-eval-framework embedding-eval-framework Public

    A local evaluation framework for comparing embedding request-building strategies — flat concat, per-field chunking, weighted chunking, and text cleansing — across SentenceTransformer models. Simula…

    Python 1

  2. jidra jidra Public

    A CLI and MCP server for Java codebase graph indexing, call tracing, and LLM-assisted diagnosis. Builds a static call graph via tree-sitter, traces method and route flows, generates deterministic f…

    Python 1

  3. local-library-assistant local-library-assistant Public

    A local-first RAG pipeline that turns a folder of text files into a queryable evidence store — ingesting, normalising, and segmenting documents into provenance-preserving EvidenceUnits with source …

    Python 1

  4. local_first_LLM local_first_LLM Public

    A local-first Python toolkit for production-grade LLM workflows — featuring a reliable LiteLLM wrapper with retries, timeouts, and error taxonomy; a multi-stage Architect → Judge → Polisher prompt …

    Python 1

  5. localops_mcp_server localops_mcp_server Public

    A Rust-based MCP server that exposes local machine capabilities — file I/O, shell execution, system stats, and macOS notification triage — to AI clients over stdin/stdout. Features namespaced tool …

    Rust 1