Skip to main content
DSPyAgent wraps any DSPy Module so it can be served through AgentOS or used standalone.

Install

Parameters

Examples

AgentOS deployment

Serve a DSPy program through AgentOS.

Standalone usage

Call the agent directly with .run() and .print_response().

ReAct with tools

Use dspy.ReAct to call tools from the program.

Sessions

Resume conversations across runs with session_id.

Developer Resources