explaingit

zju-real/sdar

Analysis updated 2026-05-18

71PythonAudience · researcherComplexity · 5/5

TLDR

A research codebase that trains AI agents to complete multi-step tasks faster and more stably by having them learn from their own past successes.

Mindmap

mindmap
  root((SDAR))
    What It Does
      Agentic RL training
      Self distillation
      Multi step tasks
    Tech Stack
      Python
      PyTorch
      vLLM
      FAISS
    Use Cases
      Agent benchmarking
      RL research
      LLM agent training
    Audience
      AI researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Reproduce or extend published agentic reinforcement learning experiments.

USE CASE 2

Evaluate an AI agent on text-based navigation tasks like ALFWorld.

USE CASE 3

Test agent performance on simulated online shopping tasks with WebShop.

USE CASE 4

Benchmark question-answering agents that query a document retrieval system.

What is it built with?

PythonPyTorchvLLMFAISS

How does it compare?

zju-real/sdarprimeintellect-ai/experiments-autonomous-speedrunningwanshuiyin/aris-in-ai-offer
Stars717171
LanguagePythonPythonPython
Setup difficultyhardeasy
Complexity5/54/52/5
Audienceresearcherresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

In plain English

SDAR is a research codebase implementing a method called Self-Distilled Agentic Reinforcement Learning. It addresses a challenge in training AI agents that need to take sequences of actions to complete tasks, such as navigating a simulated home environment or browsing an online store. Standard reinforcement learning (a technique where an AI learns by trial and reward) can be slow or unstable when applied to these multi-step agentic tasks. SDAR introduces a self-distillation step, where the agent periodically learns from its own past successful trajectories to stabilize and accelerate training. The code is evaluated on three benchmarks: ALFWorld (a text-based home navigation and task completion environment), WebShop (simulated online shopping requiring search and decision-making), and Search-QA (question answering that requires querying a document retrieval system). The paper reports substantial improvements over a standard reinforcement learning baseline on all three. The implementation is in Python and builds on the verl and verl-agent reinforcement learning frameworks. Training involves large language models run via vLLM (a high-throughput serving library), and the Search environment requires a separate local document retrieval server using FAISS (a library for fast similarity search over large datasets). The setup is complex, requiring multiple conda environments and GPU memory in the range needed for multi-billion-parameter language model training. This is a research artifact released alongside a paper on arXiv and is intended for AI researchers working on language model agent training.

Copy-paste prompts

Prompt 1
Help me set up the conda environments needed to run SDAR's training pipeline.
Prompt 2
Explain how SDAR's self-distillation step stabilizes agentic reinforcement learning.
Prompt 3
Show me how to run SDAR's evaluation on the ALFWorld benchmark.
Prompt 4
Help me estimate the GPU memory needed to train SDAR on a smaller model.
Prompt 5
Walk me through setting up the FAISS-based retrieval server for the Search-QA benchmark.

Frequently asked questions

What is sdar?

A research codebase that trains AI agents to complete multi-step tasks faster and more stably by having them learn from their own past successes.

What language is sdar written in?

Mainly Python. The stack also includes Python, PyTorch, vLLM.

Who is sdar for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.