Jayden Wang

Talk, 2025

AI agents plan better by example. What I showed at COSCon'25.

Presented at the Youth Open Source Forum of COSCon'25, the 10th China Open Source Conference.

A talk on getting AI agents to work together in Minecraft. My part was SAER, the method in my paper: how it picks examples for the model, why that helps, and how the examples are built.

Jayden speaking at COSCon'25, microphone in hand, a slide behind him and the conference banner beside him
Fig 1Speaking at COSCon'25 in Beijing. The slide behind me is on how each example's data is structured, starting with its slug and name.
Event
COSCon'25, the 10th China Open Source Conference, Beijing
Forum
Youth Open Source Forum
Talk
Enhancing collaboration between bots in Minecraft AI
When
7 December 2025, 3:20 pm
My contribution
Co-presented with Ziming Dai. I presented SAER and how its examples are built, and wrote the project's ImplicitEnhancer module.

Why I went

Many of the technologies I first learned, I learned by building on other people’s open-source frameworks. My Minecraft agents run on Mineflayer, and this project built on the Minecraft-AI framework. I could only make these things because other people did that work first and shared it. I think that spirit is worth passing on.

I also wanted to say what I think technology is for: it should serve people. This project began because I wanted a helper in Minecraft, a small model running on my own computer that gathers materials while I play the interesting part.

The forum

COSCon is organised by Kaiyuanshe, a nonprofit open-source community in China. Its Youth Open Source Forum, run with the teen community OpenTeens, had twelve speakers in 2025, most of them secondary-school students.

Before the talk

In September 2025 I wrote a module called ImplicitEnhancer. It sits between a bot and the language model. Before each request, a separate model call works out what the player wants, such as building, crafting, cooking, collecting or fighting. The module then picks the example files that match that intent, and adds rules to the prompt: check your own state before acting, and coordinate with other bots by sharing and requesting resources.

The project rests on one decision: improve what the model is told instead of retraining it. The game ships new content on a schedule, and retrained weights are out of date the day it does.

The talk

The talk, listed in the conference agenda, presented a project that uses Minecraft as a testbed for large language model agents working on shared tasks, built on the open-source Minecraft-AI framework. My part was SAER, the part of ImplicitEnhancer that picks examples for the model: how it picks them, why that helps, and how the examples themselves are built.

How SAER picks examples

A model planning a task in Minecraft often fails when the goal needs a tool that needs another tool first. The same model plans fine on a shorter chain. What it lacks is the prerequisite, in front of it, at the moment it plans.

SAER (State-Aware Example Retrieval) puts worked examples of similar tasks into the prompt. It scores every example against the task and gives the model the best three, chosen by what the task actually requires rather than by which text looks most alike.

My first-author paper later measured how much this helps, on 60 Minecraft tasks and three runs each, with seven AI models: five main ones and a pair that repeats the study. With no examples, the five main models completed 45 to 95% of the simple tasks but only 10 to 30% of the ones that need the full wooden, stone and iron pickaxe chain. The largest gain from SAER was 50 percentage points over giving the model no examples, on Qwen2.5-Max. Most of that comes from having an example in the prompt at all: three random examples from the right kind of task already add 31 of the 50 points, and ranking them well adds the rest.

Grouped bar chart of task completion rate without retrieval versus with SAER, for seven models
Fig 2Task completion rate, no retrieval (grey) vs SAER (black), by model. For the two right-hand models the grey bars are comparable to the five on the left; the hatched ones are not, having run on a later warm-start pipeline.

What an example looks like

The paper’s example pool has 55 worked tasks (25 crafting, 21 collecting and 9 combat), each stored as a JSON record with the same fields.

slug and name identify the task, for example crafting/iron_axe and “Craft an Iron Axe”. The scorer matches the player’s words against them, and reads the item from the slug to compare recipes. level marks the task L1, L2 or L3: up to three steps, four to six, or seven and more. plan lists the steps.

Every step carries the same fields in the same order: its goal, the action in words (action_nl), the exact bot commands (action_cmd), a command that checks it worked (verify_cmd), what must already be true (preconditions), the expected result, notes, and what the step makes (produces). Three rules decide how they are written:

  • Only real bot commands. Every command is one the bot can run: collect, craft, smelt, search, attack, equip, place, or check the inventory. The scorer also reads which blocks a plan mines from these commands, to judge whether the player’s pickaxe is good enough.
  • Preconditions as data, not sentences. Items the bot must carry are written as item:count, blocks that must be nearby and places it must reach are listed separately, and nice-to-haves go under optional, apart from what is required. An earlier version used lines like “Furnace available”, which a program cannot compare.
  • Say what each step makes. Every step that creates something lists the item and count in produces. Before acting, the bot checks its inventory and skips any step whose output it already has.

Since the talk

I kept building on the same module. SAER’s scoring was redesigned around four dimensions, including which materials two recipes share and whether the player’s pickaxe can mine what an example needs, and it is the method my paper tests.

The code is not public yet. The paper is in review at AAAI-27, and I will open the repository once the review is decided.

Read about the research

A year later

In November 2026 I spoke at the Youth Open Source Forum again, at COSCon’26, the 11th China Open Source Conference, in Hangzhou. For about 30 minutes I presented GuideRun, the platform that matches visually impaired runners with volunteer guides.

On 15 November I was also a panelist in the main forum’s roundtable on the next generation of open-source talent. The main forum’s guest list names the panel.

Fig 3In the main forum’s roundtable at COSCon’26, the host asks each of us for a short introduction. My answer is how I started programming. In Chinese, with English subtitles. Footage from COSCon’26, via Sina Technology’s report of 16 November 2026.

Read about GuideRun