Sim
  • Docs
  • Blog
  • Integrations
  • Models
  • Pricing
  • 27.8k
  • Docs
  • Blog
  • Integrations
  • Models
  • Pricing
  • GitHub

What should we get done?

Docs

Product

MothershipWorkflowsKnowledge BaseTablesMCPAPISelf HostingStatus

Resources

BlogDocsModelsPartnersCareersChangelogContact

Blocks

AgentRouterFunctionConditionAPI BlockWorkflowParallelGuardrailsEvaluatorLoop

Integrations

All IntegrationsConfluenceSlackGitHubGmailHubSpotSalesforceNotionGoogle DriveGoogle SheetsSupabaseStripeJiraLinearAirtableFirecrawlDiscordMicrosoft TeamsTelegram

Socials

X (Twitter)LinkedInDiscordGitHub

Legal

Terms of ServicePrivacy Policy
Back to Integrations

DSPy

Run predictions using self-hosted DSPy programs

DSPy is a AIintegration for Sim, the AI workspace where teams build and deploy AI agents. Sim's DSPy integration provides 3 DSPy tools that AI agents can use inside Sim's visual workflow builder. DSPy connects with an API key. Free to start at sim.ai.

View docs

Last updated June 12, 2026

Overview

Integrate with your self-hosted DSPy programs for LLM-powered predictions. Supports Predict, Chain of Thought, and ReAct agents. DSPy is the framework for programming—not prompting—language models.

How to automate DSPy with Sim

  1. 01

    Create a free account

    Sign up at sim.ai in seconds. No credit card required. Your workspace is ready immediately.

  2. 02

    Add a DSPy block

    Open your workspace, drag a DSPy block onto the workflow builder, and paste in your DSPy API key.

  3. 03

    Configure, connect, and run

    Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your DSPy automation is live.

Agent templates

Ready-to-use templates featuring DSPy. Click any to build it instantly.

Supported tools

3 DSPy tools available in Sim

Predict

Run a prediction using a self-hosted DSPy program endpoint

Chain of Thought

Run a Chain of Thought prediction using a self-hosted DSPy ChainOfThought program endpoint

ReAct Agent

Run a ReAct agent using a self-hosted DSPy ReAct program endpoint for multi-step reasoning and action

Frequently asked questions

Sim's DSPy integration adds 3 DSPy tools to the AI agents you build in Sim's visual workflow builder — no code required. Run predictions using self-hosted DSPy programs. Teams often pair DSPy with Cursor and Stagehand in the same agent.

You can predict, chain of Thought, and reAct Agent with DSPy in Sim. Each runs as a tool inside an AI agent block, so an agent can chain DSPy with services like Cursor and Stagehand and apply LLM reasoning between steps.

Connecting DSPy takes about five minutes: (1) Create a free account at sim.ai. (2) Create an agent in your workspace. (3) Drag a DSPy block onto the workflow builder. (4) Paste your DSPy API key to authenticate — you can find it in your DSPy account settings. (5) Pick a tool such as "Predict", wire up its inputs, and click Run — your agent is live.

Add a DSPy block to your agent and select "Predict" as the tool. Run a prediction using a self-hosted DSPy program endpoint. Fill in the required fields — inputs can reference outputs from earlier steps, such as text generated by an AI block or data fetched from another integration. No code is required.

Cursor

Launch and manage Cursor cloud agents to work on GitHub repositories

Stagehand

Web automation and data extraction

AgentPhone

Provision numbers, send SMS and iMessage, and place voice calls with AgentPhone

AWS Textract

Extract text, tables, and forms from documents

Sim

Start automating DSPy today

Build your first AI agent with DSPy in minutes. Connect to every tool your team uses. Free to start, no credit card required.