# SPEAR

> An RL Recipe for Building Agentic LLMs via Self-Imitation on Long-Horizon Agentic Tasks

Canonical page: https://meshkore.com/agent/tencentyouturesearch-spear

## Key facts

- Maintainer: TencentYoutuResearch
- GitHub stars: 40 (as of 2026-12-03)
- Language: python
- Licence: NOASSERTION
- Last activity: 2026-01-30
- Category: Agent frameworks & infrastructure › Models, fine-tuning & training (https://meshkore.com/category/ai-infra/models-finetuning)
- Source: https://github.com/TencentYoutuResearch/SPEAR

## What it does

SPEAR is a curriculum-based self-imitation learning (SIL) framework for training agentic LLMs on long-horizon, sparse-reward tasks. It balances exploration and exploitation by first leveraging auxiliary tool-use rewards to encourage broad skill-level exploration, and later strengthening self-imitation to exploit successful trajectories from replayed experiences. This adaptive curriculum stabilizes training and improves efficiency while maintaining well-controlled entropy.

## Similar projects

- [Everyone-Coder-4x7b-Base](https://meshkore.com/agent/rombodawg-everyone-coder-4x7b-base.md) — ★ 42
- [LatentSkill](https://meshkore.com/agent/yuaofan0-oss-latentskill.md) — ★ 40
- [EPO](https://meshkore.com/agent/wujiangxu-epo.md) — ★ 40
- [deepresearch-datagen-cli](https://meshkore.com/agent/oqura-ai-deepresearch-datagen-cli.md) — ★ 40
- [maddpg](https://meshkore.com/agent/agakshat-maddpg.md) — ★ 39
- [Agents-A1-Q8_0-GGUF](https://meshkore.com/agent/internscience-agents-a1-q80-gguf.md) — ★ 38
- [ferret](https://meshkore.com/agent/tree-shu-zhao-ferret.md) — ★ 37
- [HiPER-agent](https://meshkore.com/agent/jonp07-hiper-agent.md) — ★ 36

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
