Esta página se muestra en inglés. Una traducción al español está en curso.
CLI ToolsMay 14, 2026·2 min de lectura

DSPy Micro Agent — CLI + FastAPI + Evals

evalops/dspy-micro-agent is a minimal agent runtime (CLI + FastAPI + eval harness); verified 73★ and documents `micro-agent ask` and `run_evals.py --n 50`.

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Native · 94/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Cli
Instalación
Uv|Pip
Confianza
Confianza: Established
Entrada
micro-agent ask --question "What's 2*(3+5)?" --utc
Comando CLI universal
npx tokrepo install 5da29604-b199-589f-a026-ea1832dcdffc
Introducción

evalops/dspy-micro-agent is a minimal agent runtime (CLI + FastAPI + eval harness); verified 73★ and documents micro-agent ask and run_evals.py --n 50.

Best for: Builders who want a small, readable Plan/Act loop with traces, plus quick evals before adding complexity

Works with: Python 3.10+, OpenAI or Ollama providers, CLI + FastAPI deployments

Setup time: 10-25 minutes

Key facts (verified)

  • GitHub: 73 stars · 6 forks · pushed 2026-04-25.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: micro-agent ask --question "What's 2*(3+5)?" --utc.

Main

  • Treat traces as a first-class artifact: README stores JSONL traces under traces/ and includes replay support.

  • Use the eval harness early (--n 50) to guard against regressions when you add tools, prompts, or provider switches.

  • Start with the CLI, then graduate to the HTTP API when you need multi-client access or UI integrations.

Source-backed notes

  • README quickstart shows micro-agent ask ... --utc, a FastAPI server via uvicorn, and evals via python evals/run_evals.py --n 50.
  • Docs describe provider config for OpenAI and Ollama, plus tracing under traces/<id>.jsonl.
  • README lists eval metrics like success_rate/avg_latency_sec/avg_cost_usd and notes usage/cost capture can be best-effort.

FAQ

  • Is this a full framework?: No — README frames it as a minimal runtime + DSPy modules you can read end-to-end.
  • Can I run it without OpenAI?: Yes — README includes an Ollama provider path via env vars.
  • How do I keep changes safe?: Use the built-in eval harness and store/replay traces to compare behavior over time.
🙏

Fuente y agradecimientos

Source: https://github.com/evalops/dspy-micro-agent > License: MIT > GitHub stars: 73 · forks: 6

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados