TodoEvolve: Learning to Architect Agent Planning Systems
Paper • 2602.07839 • Published • 6
How to use EcthelionLiu/Todo-14B with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="EcthelionLiu/Todo-14B")
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe(messages) # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("EcthelionLiu/Todo-14B")
model = AutoModelForCausalLM.from_pretrained("EcthelionLiu/Todo-14B", device_map="auto")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))How to use EcthelionLiu/Todo-14B with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "EcthelionLiu/Todo-14B"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "EcthelionLiu/Todo-14B",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/EcthelionLiu/Todo-14B
How to use EcthelionLiu/Todo-14B with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "EcthelionLiu/Todo-14B" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "EcthelionLiu/Todo-14B",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "EcthelionLiu/Todo-14B" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "EcthelionLiu/Todo-14B",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'How to use EcthelionLiu/Todo-14B with Docker Model Runner:
docker model run hf.co/EcthelionLiu/Todo-14B
This model can generate query-specific LLM-agent planning system is fine-tuned on Qwen3-14B. It is the official model checkpoint for the framework TodoEvolve, designed to generate customized planning structures (topology, initialization, adaptation and navigation) for various agentic tasks.
Please check our paper: TodoEvolve: Learning to Architect Agent Planning Systems
If you find this model useful, please kindly cite our paper:
@misc{liu2026todoevolvelearningarchitectagent,
title={TodoEvolve: Learning to Architect Agent Planning Systems},
author={Jiaxi Liu and Yanzuo Jiang and Guibin Zhang and Zihan Zhang and Heng Chang and Zhenfei Yin and Qibing Ren and Junchi Yan},
year={2026},
eprint={2602.07839},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={[https://arxiv.org/abs/2602.07839](https://arxiv.org/abs/2602.07839)},
}