Skip to content
View fortunto2's full-sized avatar

Organizations

@bashgu @universo-me

Block or report fortunto2

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
fortunto2/README.md

Hi, I'm Rustam

I build AI agents in Rust. Not because it's trendy, but because agents that run 104 tasks in parallel need zero-GC, and tools that process video/audio on device need real performance. Python for glue and ML pipelines, Rust for everything that ships.

Founder of SuperDuperAI | Blog: rustman.org

Why Rust for agents

Most agent frameworks are Python wrappers around API calls. That works until you need parallel tool execution, sub-second response times, or WASM deployment. I build the infrastructure layer in Rust: the LLM client, the agent loop, the tools. Then concrete agents inherit the stack and add domain logic.

The crate tree

openai-oxide            LLM client (caching, WebSockets, structured outputs)
  └─ sgr-agent          Agent framework (structured CoT, function calling, providers)
       ├─ sgr-agent-core     Tool trait, FileBackend trait, AgentContext
       ├─ sgr-agent-tools    14 reusable tools (read, write, search, eval, apply_patch...)
       ├─ sgr-agent-ml       ONNX embeddings, centroid classifier, adaptive k-NN
       └─ agents built on top:
            ├─ agent-bit      Competition agent (PAC1 benchmark, 74/104)
            ├─ rust-code      Terminal coding agent (TUI, MCP, skills)
            └─ supervox-agent Voice agent (live translate, post-call analysis)

openai-oxide is the foundation. Persistent WebSockets, SIMD JSON, hedged requests. Published on crates.io, npm, PyPI.

sgr-agent sits on top. Two-phase function calling (reasoning then action), provider routing, parallel tool execution. The FileBackend trait means the same tools work over RPC, local filesystem, or in-memory mocks.

sgr-agent-tools is the reusable toolkit: smart search (fuzzy + Levenshtein), batch read, JS eval via Boa engine, Codex-compatible diffs.

sgr-agent-ml handles on-device ML: ONNX bi-encoder embeddings, cosine-similarity classifier, adaptive k-NN with persistence. Powers agent-bit's security detection (MiniLM + DeBERTa NLI) without API calls.

Agents built on this

Agent What Score
agent-bit PAC1 competition: CRM workspace, security detection, 15 skills, ONNX classifiers 74/104 (GPT-5.4)
rust-code Terminal coding agent: TUI, tmux tasks, MCP, fuzzy search daily driver

Both share the same stack. agent-bit adds ONNX security classifiers and a pipeline state machine. rust-code adds TUI and filesystem integration. The framework handles the common 80%.

More about the architecture: How I spent $250+ on an AI agent competition

Other Rust tools

Project What Install
airq Air quality CLI. Sensor + model merge, WASM core brew install fortunto2/tap/airq
visa-photo Biometric visa photos. AI background removal, Dioxus desktop brew install fortunto2/tap/visa-photo
supervox Voice toolkit. STT, VAD, TTS, mic capture cargo add voxkit
OpenWok Open-source food delivery. Dioxus fullstack, QR payments, privacy-first

Python: agent infra & tools

Project What
solo-factory Claude Code plugin. 27 skills, 3 agents, full startup pipeline
solograph Code intelligence MCP server. FalkorDB + tree-sitter, KB search, session history
seo-cli SEO CLI. Google Search Console, Bing, Yandex, IndexNow
invoice-pdf-crm File-based CRM. PDF invoices, letters, company cards

Stack

Rust (agents, tools, WASM) | Python (ML, MCP servers, CLI) | TypeScript (web) | Swift (iOS) | Kotlin (Android)

Pinned Loading

  1. openai-oxide openai-oxide Public

    Idiomatic Rust client for OpenAI API — 1:1 parity with openai-python

    Rust 24 1

  2. rust-code rust-code Public

    AI-powered terminal coding agent in Rust — TUI, BAML agent loop, fuzzy search, tmux background tasks, skills, MCP support

    Rust 9 4

  3. solo-factory solo-factory Public

    Ship startups faster with Claude Code — 9 skills, 3 agents, privacy-first

    Shell 14 2

  4. airq airq Public

    CLI air quality checker — any city, Open-Meteo + Sensor.Community

    Rust

  5. solograph solograph Public

    Code intelligence MCP server for Claude Code — multi-project code graph, semantic search, session history, knowledge base

    Python 3 2

  6. invoice-pdf-crm invoice-pdf-crm Public

    File-based mini CRM for generating invoices, letters, and company cards using Python, Jinja2, Pydantic, and WeasyPrint

    Python 4