CodeAct documentation moved
CodeAct now lives in the optional dspy-code_act gem. The agent lets a model choose and execute Ruby code over several bounded iterations; it is separate from DSPy.rb core because generated-code execution needs a different safety boundary from ordinary prediction.
- Install:
gem 'dspy-code_act', '~> 1.0' - Read the CodeAct documentation.
- Inspect the implementation.
The current implementation evaluates generated Ruby in the application process. Use it for controlled experiments unless you provide process or container isolation.