A Go implementation of the DSPy framework for building reliable LLM-powered applications
Get StartedBuild production-ready agents with ReAct reasoning patterns. Memory management for conversation context. Orchestration for multi-agent coordination. Custom tools for APIs and external systems.
GEPA uses evolutionary algorithms with Pareto optimization. MIPRO brings TPE-based systematic search. SIMBA adds introspective learning. 5 advanced optimizers that outperform manual prompt engineering.
Smart Tool Registry with Bayesian inference for optimal tool selection. Tool chaining with dependency resolution. MCP integration for external services. Build sophisticated agent workflows.
Built for Go from the ground up—not a port. Parallel module execution, concurrent batch processing, efficient streaming. Production-ready with retry logic and monitoring.
Start instantly with one-line zero-config setup. Try all optimizers without writing code using the CLI tool. Test with GSM8K, HotPotQA, and custom datasets in seconds.
Install with a single command and build your first LLM application in minutes.
go get github.com/XiaoConstantine/dspy-go