Back to directory

yoagent

A minimal Rust crate providing the agent loop, streaming, and tool execution needed to build an LLM agent, working with local models out of the box and seven hosted or local protocols by configuration.

yoagent

yoagent is a Rust crate implementing the agent loop, tool execution, and streaming needed to run an LLM agent, deliberately narrow in scope: it ships no vector store, embedding pipeline, or task-graph orchestration layer, pointing users toward other crates for retrieval or complex orchestration instead. A bundled command-line example works immediately against a local Ollama model with no API key, sign-up, or configuration, giving a working coding agent with file read, write, and edit, shell access, and ripgrep-based search.

Swapping to a hosted provider is a matter of setting the right environment variable and provider flag, covering Groq, Google Gemini, and any OpenAI-compatible endpoint such as LM Studio, llama.cpp, or vLLM, across seven supported protocols in total. In library form, an agent is built from a small configuration object naming the provider and model, with the corresponding API key read from that provider's conventional environment variable. It is distributed through crates.io.

More in Agent frameworks

See all 902
  • Recurse

    recurse.run

    A serverless harness that lets a coding agent design, test, and deploy its own specialist sub-agents as tools, MCP servers, or bots, defined by a schema-validated manifest.

  • ProofForge

    shulgin.is-a.dev

    An AI-agent pipeline that decomposes a mathematics problem, proves each piece, and formalizes the result in Lean 4 and Mathlib until the Lean kernel accepts it, with six of its proofs already merged into Google DeepMind's formal-conjectures repository.

  • local-coder

    github.com

    Builds a local coding-agent team on top of Ollama and OpenCode by detecting the machine's hardware, recommending models for seven specialist roles, and testing whether each assigned model can actually use tools, edit a repository and pass verification.