v0.0.1
strands-sglang Initial Release
strands-sglang is a SGLang model provider for Strands Agents SDK with Token-In/Token-Out (TITO) support for agentic RL training.
Features
- SGLang Native API: Uses SGLang's native /generate endpoint for efficient token-level generation
- TITO Support: Tracks complete token trajectories with logprobs for RL training - no retokenization drift (see examples/retokenization_drift/)
- Tool Call Parsing: Customizable tool parsing aligned with model chat templates (Hermes/Qwen format)
- Iteration Limiting: Built-in hook to limit tool iterations with clean trajectory truncation