Qwen3.8-27B reportedly jumped from 51.7% to 86.52% on Terminal-Bench 2.1 after Tencent Hunyuan applied a recursive self-improvement method.
That is a gain of 34.82 percentage points without increasing the model’s parameter count.
The method, called Terminal-RSI, focuses on a problem that matters for AI agents: completing tasks reliably, not just generating commands that look correct.
A terminal agent may need to inspect a codebase, modify files, install dependencies, run tests, recover from errors, and verify that everything works. Getting most of these steps right is not enough if the final task remains incomplete.
Terminal-RSI tackles this by turning successful executions into training data and repeatedly refining the model.
How Terminal-RSI works
The process alternates between two training stages, repeating the cycle twice.
1. Recursive Self-Rewrite (RSR)
The model takes execution histories from verified successful runs and rewrites them into examples for supervised fine-tuning (SFT).
This lets the model learn from successful behavior instead of treating each completed task as an isolated result.
2. Policy Refinement (RPR)
Reinforcement learning then improves the model’s action policy. Critic information from the preceding stage is carried forward to help guide the next round of optimization.
The complete cycle looks like this:
RSR-1 → RPR-1 → RSR-2 → RPR-2
Each iteration uses the improved model to generate another round of training examples, followed by further policy refinement.
The aim is to make successful task-completion behavior more consistent over time.
The reported benchmark results
Tencent Hunyuan reports improvements across several terminal-agent evaluations:
Terminal-Bench 2.1: 51.70% → 86.52%
Terminal-Bench 4.0: 0% → 19.84%
Terminal-Bench Hard: 79%
Long-horizon process reward: 0.21 → 0.37
Strict long-horizon completion: 0/46 → 5/46
SWR100: Reported success rate doubled
The paper also reports average gains of roughly 30 percentage points across multiple benchmarks.
These metrics measure different things, so they should not be treated as directly interchangeable.
The long-horizon results are especially revealing. Strict completion improved from zero successful runs to five out of 46, but most attempts still failed to meet the full completion criterion.
That distinction matters because making progress on a task is not the same as finishing it successfully.
Why the training approach is interesting
Traditional supervised fine-tuning teaches a model from prepared examples. Reinforcement learning adjusts behavior using feedback about its actions and outcomes.
Terminal-RSI combines these approaches in a repeating loop, with several techniques supporting the process:
Verified trajectory rewriting converts successful execution histories into new training examples.
Critic weight inheritance carries useful optimization information between refinement stages.
TB-GAE helps assign learning signals across sequences of actions.
Success-Prioritized Reward places greater emphasis on completing tasks successfully rather than rewarding partial progress as if it were full completion.
Together, these methods target the gap between issuing plausible commands and reliably achieving the intended result.
What this means for smaller models
Qwen3.8-27B shows why parameter count alone does not determine how useful an AI agent can be.
A model’s performance also depends on its training, its ability to learn from feedback, and how effectively it handles multi-step tasks.
Recursive self-improvement offers a way to build on existing capabilities without making the underlying model larger.
The results are promising, but they remain benchmark-specific. Independent replication, evaluation across more environments, and testing on unfamiliar tasks will help establish how well the gains generalize.
LLMs don’t need retraining to become more capable.
Our new architecture, Spotlight, gives AI models growing memory, allowing them to gain knowledge and capabilities without changing their weights.
Token generation takes constant work, no matter how much information is stored.
🤯 A localmaxxer hit ~381 tok/s on a SINGLE RTX 3090 with Qwen3.8-27B.
This developer has turned a 24GB RTX 3090 into a monster Qwen inference box - w/some creativity.
Four days ago 👉 ⚡ ~82 tok/s single-user
Then 👉
⚡ ~114 tok/s with optimized MTP
⚡ ~138 tok/s with DFlash2 + lookup drafting
Now 👉 🔥 ~381 tok/s on ONE request
How? The recipe combines ...
🧠 Qwen3.8-27B
🎮 1× RTX 3090 24GB @ 250W
⚙️ heavily optimized vLLM
⚡ DFlash2 speculative decoding
🔎 lookup-augmented drafting
📚 prefix caching
🧮 16-token verification blocks
💾 quantized KV / heads / activations
DFlash2 normally proposes 7 tokens.
The developer realized the verification block doesn't have to stop there.
If Qwen is answering from a document already sitting in the prompt, the system can fill the remaining draft positions using tokens found directly in that context.
🎯 So the target model can verify 16 tokens at once.
On a ~25K-token document reproduction task:
Previous DFlash2 👉 ~260 tok/s
Longer verification + context lookup 👉 🔥 ~382 tok/s
Acceptance:
🤯 15 of 16 tokens per verification step
That is where the crazy number comes from.
⚠️ On ordinary real-world chat prompts, the same setup is around ~133 tok/s
Still extremely fast for a dense 27B model on an RTX 3090.
The 381 tok/s mode shines when the answer largely comes from material already in context so these are best use cases
📚 RAG / document Q&A
💻 Coding assistants applying edits
📝 Quoting or rewriting documents
🔎 Extracting information from long prompts
And another optimization 👉 With prefix caching, a second question against the same 25K-token document reportedly goes from:
🐌 22.4 sec TTFT
→
⚡ 0.56 sec TTFT
Because the model doesn't need to process the whole document again.
🎯 It's specifically a mode for RAG front ends and coding agents.
Follow iamMess on Reddit or syv-ai on GitHub
🔗 Reddit: r/LocalLLaMA/comments/1vtup5s/
🔗 GitHub: /syv-ai/qwen38-27b-rtx3090
The first experimental evidence of recursive self-improvement (RSI).
Autoresearching the autoresearch agent for eight days.
The result beats the harness we hand-tuned for two years, on held-out benchmarks: 🧵(1/7)
10 GITHUB REPOS THAT SHOULD BE ILLEGAL TO HAVE.
all free. all open-source. bookmark this for later.
1️⃣ recordly — the free screen studio.
open-source screen studio. auto-zoom, smooth cursor, webcam overlay, styled backgrounds, polished demos without an editor. (AGPL-3.0)
🔗: https://t.co/tTuHC644ah
2️⃣ stirling-pdf — your entire pdf toolkit
self-hosted. merge, split, sign, redact, OCR, convert, compress, 50+ tools, runs locally, nothing leaves your machine. (MIT)
🔗: https://t.co/9E4Jh3N8KS
3️⃣ photogimp — turns GIMP into photoshop. photoshop shortcuts, layout, and splash screen patched right on top of GIMP 3+.
🔗:https://t.co/6HUSyxLxqI
4️⃣ open notebook — self-hosted notebooklm.
drop in pdfs, urls, youtube links — chat with them, summarize, even generate podcasts. bring your own model (18+ providers). (MIT)
🔗: https://t.co/LKf9nDFrrR
5️⃣odysseus — pewdiepie's self-hosted AI workspace.
chat, agents, deep research, docs, email, memory — local-first, your hardware, your data. (MIT)
🔗: https://t.co/hyi9PbcL0M
6️⃣freedomain — free domain names for everyone.
register a domain, point it at cloudflare or any DNS, ship your site without paying for the name. (AGPL-3.0)
🔗: https://t.co/TAVxK1wuZp
7️⃣ hyperframes — write HTML, render video.
heygen's engine that turns html/css + animations into deterministic mp4s. built for AI agents. (Apache-2.0)
🔗:https://t.co/IOSYW0jVZc
8️⃣ web-to-app — turn any website into an android app, on-device.
configurable webview, apk signing, even node/php/python runtimes — no remote build.
🔗: https://t.co/M1R5PGFLKS
9️⃣ reclip — self-hosted video + audio downloader.
paste a link from youtube, tiktok, x, ig — 1000+ sites — grab it as mp4 or mp3. powered by yt-dlp.
🔗: https://t.co/tWyOxIGEKQ
🔟 excalidraw — the infinite whiteboard that replaces miro, figjam and lucidchart. hand-drawn diagrams, wireframes, real-time collab, end-to-end encrypted. 120k+ stars for a reason. (MIT)
🔗: https://t.co/FMX3oCY1ny
most people pay monthly for tools that already exist for free. you don't have to.
An open-source Agent Reinforcement Trainer (ART) – plugs GRPO into any Python app
→ Your app defines the task and reward
→ ART handles the RL loop: inference, trajectory scoring, GRPO optimization, checkpointing and LoRA updates
So agents learn through experience and environment interaction.
It's useful for multi-step tasks like tool use, email search, MCP, games and reasoning workflows
For example, ART•E trained a Qwen 2.5 14B email agent that outperformed OpenAI's o3 on email retrieval
▪️ The core loop looks like this:
agent tries a task → stores the trajectory → gets a reward → trains with GRPO → loads a new LoRA → tries again
And with W&B Serverless RL, you can skip GPU infra. They claim:
- 40% lower cost
- 28% faster training
- 2000+ concurrent requests
Un desarrollador chino llamado tw93 se hartó de que sus aplicaciones de escritorio le devoraran la RAM y el disco.
Abría Slack y desaparecían cientos de megabytes. Abría Discord, Notion o cualquier otra app y pasaba lo mismo. ¿La razón? Casi todas son lo mismo por dentro: un sitio web empaquetado con una copia completa del motor de Chrome (Electron).
Decidió que tenía que haber una forma mejor.
En 2022 empezó a construir Pake. Usó Rust + Tauri, que en vez de incluir un navegador completo, aprovecha el WebView nativo del sistema operativo.
El resultado fue brutal:
- Slack con Pake → 8 MB (en vez de 524 MB)
- Discord con Pake → 9 MB (en vez de 265 MB)
- ChatGPT con Pake → 9 MB (en vez de 260 MB)
Cuatro años después, su repositorio tiene más de 51.000 estrellas en GitHub. Tiene builds listos para Grok, ChatGPT, Gemini, Discord, YouTube, Twitter y muchos más. Todo bajo los 10 MB, ligero, rápido y gratis.
Y lo mejor: con un solo comando puedes convertir cualquier página web en una aplicación de escritorio nativa.
No fundó una startup. No levantó inversión. Solo resolvió un problema que molestaba a millones de personas.
A veces el cambio real lo hace una sola persona que se cansa de las cosas como están.
Esta brutal, repo en los comentarios 👇
– Peço a todos que incluam o jornalista Rodrigo Constantino em suas preces e orações. Soubemos hoje que ele está enfrentando uma batalha difícil contra o câncer, e é importante nos unirmos em oração para pedir a Deus que lhe conceda força, saúde e uma recuperação plena.
– Constantino sempre foi um defensor da liberdade e uma voz importante no debate público brasileiro. Agora, ele precisa de nossas orações. Tenho certeza de que ele enfrentará essa luta com a mesma determinação que sempre demonstrou.
– Força, Constantino! O Brasil está com você, torcendo por sua vitória e esperando por notícias melhores. Que você e sua família encontrem conforto, esperança e a certeza de que Deus está no controle. A oração pode muito em seus efeitos. Tenho certeza que você vencerá mais essa batalha!
– Peço a todos que incluam o jornalista Rodrigo Constantino em suas preces e orações. Soubemos hoje que ele está enfrentando uma batalha difícil contra o câncer, e é importante nos unirmos em oração para pedir a Deus que lhe conceda força, saúde e uma recuperação plena.
– Constantino sempre foi um defensor da liberdade e uma voz importante no debate público brasileiro. Agora, ele precisa de nossas orações. Tenho certeza de que ele enfrentará essa luta com a mesma determinação que sempre demonstrou.
– Força, Constantino! O Brasil está com você, torcendo por sua vitória e esperando por notícias melhores. Que você e sua família encontrem conforto, esperança e a certeza de que Deus está no controle. A oração pode muito em seus efeitos. Tenho certeza que você vencerá mais essa batalha!
@leosiqueirabr Sim o custo de energia é menor que o humano, o repasse deveria ser dividido para aumentar o salário dos funcionários de empresas que automatizem.
@leosiqueirabr Se a empresa tiver atividades braçais que não são plausíveis de automação por agentes de IA então sim terá redução de faturamento, por enquanto construção civil é a única que depende de braço, pois indústria ela já é automatizada.
@leosiqueirabr Rapaz mais outra desinformação. A pessoa que contrata uma doméstica que faça mais que 3 dias de trabalho na semana, num país que a justiça do trabalho não dorme é uma pessoa desprovida de inteligência, tá pedindo pra ser processada, com mora e juros.