Skip to content

[Community Package] strands-sglang: SGLang model provider with Token-In/Token-Out (TITO) support for agentic RL training #418

@Lawhy

Description

@Lawhy

Community Package

Hi team, I’m excited to share that we’ve released strands-sglang, a community package that integrates with SGLang’s native /generate endpoint to support token-in / token-out agentic RL training.

This package helps bridge a key gap in using agentic scaffolding for RL by enabling explicit token management, customizable tool-call parsing, and flexible agent loops—without tightly coupling agents to the underlying training infrastructure. With strands-sglang, users can implement training-ready agent loops in just a few lines of code, making it significantly easier to prototype and scale agentic RL workflows.

Related to Issue strands-agents/sdk-python#1368

Proposed Solution

strands-sglang

Use Case

strands-sglang targets agentic RL training with training frameworks like Slime and VeRL which utilize SGLang as the rollout engine

Alternatives Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions