Skip to content
View RyanJBush's full-sized avatar

Highlights

  • Pro

Block or report RyanJBush

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.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. 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
RyanJBush/README.md

Ryan Bush

Selected projects in LLM reliability, local analytics, retrieval evaluation, agent workflow tooling and tool-call authorization, supervised code repair, text-origin evaluation and content provenance, demand forecasting, and sensor anomaly detection. Each project links to a demo and the evidence behind its results.

Self-Healing LLM Gateway

Built a local text-generation gateway with bounded retries, approved fallback providers, and per-provider circuit breakers. A two-second deadline includes calls and retry waits; sanitized traces explain routing and recovery decisions.

On the same seven-request deterministic failure schedule, the gateway completed 7/7 requests with 11 provider calls, compared with 2/7 and seven calls for a direct-primary baseline. These are stub results with simulated timings. All 382 tests and 31 acceptance assertions passed on Windows and Ubuntu with Python 3.11–3.13. Real LLM providers, macOS, and load beyond five concurrent requests remain unverified.

Repository · Demo preview · Verified results · Passing CI run · Release v0.2.2

Enterprise Text-to-SQL Analytics Agent

Built a local analytics assistant using Ollama and Qwen3 4B to propose SQL over a synthetic sales database. A restricted SQLite executor enforces approved reads, row limits, and a query work budget. The demo shows a correct joined revenue answer, a clarification question, and a blocked schema read.

Seven local acceptance cases passed. The test suite recorded 182 passes and three optional Anthropic SDK skips. Earlier model mistakes are retained with the results.

Repository · 51-second demo · Verified results · Exact test output

Retrieval Evaluation Harness

Built a reproducible comparison of BM25 and a pinned embedding model, with per-query relevance metrics, CPU latency exports, and a side-by-side viewer. On the bundled synthetic fixture, Recall@5 was 0.714 for BM25 and 1.000 for embeddings across seven scored queries.

Repository · Saved results · Passing CI run · Viewer screenshot

SwarmOS

Built a deterministic Planner–Implementer–Reviewer workflow that applies a fixed patch in a disposable Git repository, gates approval on an acceptance test, and stores verifiable execution traces in SQLite. The paired demo completed 3/3 runs per arm, with three memory hits when enabled and zero when disabled.

Recorded results · Passing CI run · Captioned demo · Timeline screenshot

3D Multi-Agent Trace Visualizer

Built a local viewer that validates a multi-agent execution trace, replays it deterministically, and shows it as an accessible 2D event table or a Three.js agent graph. Both views share one replay controller and event inspector, so switching views keeps the replay position and selection. Trace files are read in the browser, and the built page blocks network requests (connect-src 'none').

All 265 tests passed in GitHub CI on the current commit. Recorded scripted Chromium checks with software WebGL passed 32/32 for the 2D view, 40/40 for the 3D view (including the no-WebGL fallback and context loss), and 24/24 for layout at 1280 px and 375 px. The bundled trace is synthetic. Real SwarmOS trace ingestion, screen readers, GPU rendering performance, and Firefox/Safari are untested, and no usability gain has been measured.

Repository · Passing CI run · Synthetic trace · Browser check record · Known limitations

Prompt-Injection Guardrails

Built a default-deny permission gate that checks each agent-proposed tool call against a fixed task policy: three allowed tools, exact argument fields, and one allowed path or test name per tool. Paths must resolve inside the workspace, and denied calls never reach the recording mock executor. The gate does not read prompt or issue text and uses no LLM, so it is an authorization layer, not a prompt-injection detector.

In three scripted synthetic cases, the gate blocked 1/1 unauthorized calls (an injected read of a fake secret) and incorrectly blocked 0/9 authorized calls, including in a case that only quotes the injected text; 3/3 tasks completed. All 115 tests passed in GitHub CI on Windows and Ubuntu with Python 3.12 and 3.13. No model-driven runs or real tool runtimes have been tested.

Repository · Passing CI run · Scripted cases and output · Metrics definitions · Known limitations

Autonomous GitHub Issue Resolution Agent

Built a supervised code-repair prototype for one synthetic GitHub-style Python issue. Each run makes one model request and validates the strict-JSON response. A narrow patch policy then limits the resulting diff to one allowlisted file within byte, hunk and line caps and checks it against a pinned base commit. Each run writes a hash-manifested review packet for a human reviewer. The tool never executes model output without an exact-hash operator approval, and it does not open or merge pull requests.

A local qwen3:4b model proposed a one-line whitespace-normalization fix. Its prompt carried hints shaped by the trusted tests, and earlier development attempts failed, so this is a guided demonstration, not a benchmark. The agent run stopped before execution. A separate, manually supervised Docker run then saw the 2 expected baseline failures and 3/3 candidate tests passing. All 82 hand-written synthetic fixture cases matched offline and in Docker, and 574 tests passed in GitHub CI with Docker required. No real Anthropic API request has been made, and Docker is not verified as isolation for arbitrary model-generated code.

Repository · Review packet · Local run record · Passing CI run · Known limitations

Litmus

Built a local evidence workbench that reports text-origin signals, writing-pattern observations, and image Content Credentials (C2PA) as separate records, each with its reasons and limits. It does not assign an "AI percentage". Text origin uses a Binoculars-style score from pinned Qwen2.5-0.5B base and Instruct models on a local GPU, and the browser interface binds only to 127.0.0.1.

On a frozen held-out subset of RAID (3,361 texts in 675 source groups), clean-text AUROC was 0.80358 (grouped 95% interval 0.776–0.829). At the development-selected threshold, it flagged 66.37% of machine texts with a 4.59% false-positive rate; homoglyph edits cut detection to 8.59%. The subset comes from RAID's train.csv, not the official test set. In a fresh clone, a read-only verifier reproduced the saved metrics and 752 model-free tests passed; GPU tests were not part of that check. Dependency advisories in the model stack are unresolved, so the release is not security-cleared.

Repository · Interface screenshot · Held-out results · Full metrics · Security status

PJM Energy Demand Forecasting

Built a checksum-pinned EIA-930 backtest. A frozen ridge model reduced MAE by 25.3% against a 168-hour weekly baseline on 1,389 comparable hours in November–December 2024. The weekly baseline won on the October tuning block and on the ridge model's worst day, December 25.

Repository · Results and reproduction commands · December 25 failure-case chart

Smart Grid Sensor Anomaly Detection

Built a reproducible voltage replay comparing fixed limits with a causal rolling median/MAD detector. On one held-out synthetic fixture, fixed limits detected 6 of 6 faults with 5 unmatched alerts. Rolling MAD detected 5 of 6 with 4 unmatched alerts and missed a sustained voltage shift.

Repository and demo · Held-out report · Replay chart · Passing CI run

Popular repositories Loading

  1. myrepo myrepo Public

  2. AI-Generated-Content-Detection-and-Authenticity-Analyzer AI-Generated-Content-Detection-and-Authenticity-Analyzer Public

    Local evidence workbench for text-origin signals, writing observations and image Content Credentials (C2PA). Frozen held-out RAID evaluation with intervals and limits; not security-cleared.

    Python

  3. Retrieval-Evaluation-Harness Retrieval-Evaluation-Harness Public

    Reproducible BM25 vs. semantic search evaluation with Recall@k/MRR metrics, CPU latency measurements, and a local interactive results viewer.

    Python

  4. Autonomous-Coding-Agent-with-MCP-and-Multi-Agent-Collaboration Autonomous-Coding-Agent-with-MCP-and-Multi-Agent-Collaboration Public

    Deterministic multi-agent coding workflow with approval gates, persistent advisory memory, SQLite execution traces, and read-only MCP integration.

    Python

  5. 3D-Multi-Agent-Swarm-Command-Centre 3D-Multi-Agent-Swarm-Command-Centre Public

    Interactive 2D/3D visualizer for deterministic multi-agent execution traces, agent handoffs, event replay, and failure inspection.

    TypeScript

  6. Model-Regression-Detection-System Model-Regression-Detection-System Public

    Reproducible CI gate for retrieval quality regressions using BM25 Recall@3, exact arithmetic, pinned baselines, and synthetic evaluation fixtures.

    Python