AgentToolDrop

DSPy

Builds LM programs from typed signatures and modules, then optimizes their prompts against a metric

  • 38.7k stars
  • 11.9 stars/day last 5 days
  • pushed
  • 3.4.1 on
  • MIT

Standard A well-known tool, listed for reference and not ranked. About tiers

Install with pip

pip install dspy

Copied from the project's docs at github.com/stanfordnlp/dspy

Why you'd want it

DSPy replaces hand-written prompts with Python code: signatures declare typed inputs and outputs, and modules such as Predict, ChainOfThought and ReAct control how a signature runs, including tool use. You compose modules with plain Python control flow into pipelines, RAG systems or agent loops. Optimizers such as GEPA, MIPROv2 and BootstrapFewShot take examples and a scoring function and tune the program's prompts and weights, and the result can be saved and reloaded.

Best for

  • Multi-step LLM pipelines
  • Teams with labeled examples and a metric
  • Replacing brittle prompt templates

Use it when

You want LLM behavior defined in code and improved systematically against a metric rather than by editing prompts by hand.

Skip it if

You only need a single prompt or one structured extraction call. Optimization needs example data and a scoring function, and it requires Python 3.10 or later.

Same category or shared tags.

  1. Rank 63

    Runs prompts against remote and local LLMs from the command line or Python, logging calls to SQLite

    • score 21
    • 12.6k stars
    • 4.8 stars/day last 5 days
    • pushed
    • 0.36 on
    • Apache-2.0

    Install with pip

    pip install llm
    Use it when, skip it if, stats for LLM

    Why you'd want it

    LLM is Simon Willison's CLI tool and Python library for OpenAI, Claude, Gemini and dozens of other models, via remote APIs or models installed on your own machine. Plugins such as llm-anthropic, llm-gemini and llm-ollama add providers, and llm openai endpoint targets any OpenAI-compatible Chat Completions server without configuration. Prompts and responses are stored in SQLite, and it also generates embeddings, extracts structured content with schemas and lets models execute tools.

    Best for

    • Scripting LLM calls in the shell
    • Comparing models from one CLI
    • Keeping a searchable log of prompts

    Use it when

    You want quick model access from the terminal or a small Python library, with every prompt and response logged locally.

    Skip it if

    You need a shared gateway with keys and spend tracking for a team; this is a CLI and Python library. Providers other than OpenAI need a plugin installed.

    Stats

    New and rising score
    21 of 100
    Stars per day, last 5 days
    4.8
    Release
    0.36,
    License
    Apache-2.0
    Pricing
    Open source
    Forks
    1,053
    Open issues
    753
    GitHub checked
  2. Rank 64

    Returns validated Pydantic objects from LLM calls, retrying automatically when validation fails

    • score 21
    • 14k stars
    • 4.0 stars/day last 5 days
    • pushed
    • v1.17.0 on
    • MIT

    Install with pip

    pip install instructor
    Use it when, skip it if, stats for Instructor

    Why you'd want it

    Instructor lets you pass a Pydantic model as response_model and get back a typed, validated object instead of parsing JSON or tool calls yourself. instructor.from_provider uses the same API for OpenAI, Anthropic, Google, Ollama, Groq and other providers. Failed validations are retried with the error message, partial objects can be streamed as they are generated, and nested models work without extra code. Ports exist for TypeScript, Ruby, Go and Elixir.

    Best for

    • Structured extraction from text
    • Pydantic-based Python apps
    • Typed outputs across providers

    Use it when

    You need reliable structured data from an LLM call and want validation and retries handled for you.

    Skip it if

    You need full agent runs, built-in observability or shareable traces; the Instructor README itself points to PydanticAI for that.

    Stats

    New and rising score
    21 of 100
    Stars per day, last 5 days
    4.0
    Release
    v1.17.0,
    License
    MIT
    Pricing
    Open source
    Forks
    1,327
    Open issues
    217
    GitHub checked
  3. Gives programmatic access to Claude models and Claude Managed Agents over a REST API with official SDKs

    • 4k stars
    • 2.0 stars/day last 5 days
    • pushed
    • v1.15.0 on
    • Proprietary API

    Install the Python SDK

    pip install anthropic
    Use it when, skip it if, stats for Claude API

    Why you'd want it

    The Claude API at api.anthropic.com covers the Messages API, Message Batches (asynchronous, at a 50% cost reduction), token counting, a Files API and a Skills API, with beta Agents, Sessions and Environments APIs for running managed agents in cloud sandboxes. The official SDKs handle auth headers, retries, streaming and typed requests, and the Python SDK adds tool helpers and a tool runner. Claude is also available through Amazon Bedrock, Google Cloud, Claude Platform on AWS and Microsoft Foundry if you need cloud billing and IAM.

    Best for

    • Building agents on Claude models
    • Direct access to the latest Claude features
    • Large asynchronous batch jobs

    Use it when

    You are building on Claude and want direct access to the latest models and features with Anthropic billing and support.

    Skip it if

    You need to run models on your own hardware or want one API across many vendors. It requires a Claude Console account and an API key, and usage is billed.

    Stats

    Stars per day, last 5 days
    2.0
    Release
    v1.15.0,
    License
    Proprietary API
    Pricing
    Paid
    Forks
    892
    Open issues
    211
    GitHub checked

For agents

The same entry, as files an agent can read without scraping this page.

# read one entry
curl -s https://agenttooldrop.com/tools/dspy.md

# list the MCP servers in the catalog
curl -s https://agenttooldrop.com/tools.json \
  | jq -r '.tools[] | select(.category=="mcp-server") | .slug'