SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.06580 · 2025

Agent models: Internalizing Chain-of-Action Generation into Reasoning models

arXiv · PDF · Open in the Atlas

Code that ran

11 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2503.06580.json · badge: /api/ran/2503.06580.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
adam-bjtu/autocoa canonical (classifier label)
classifier basis not recorded on the link
11 ran · 3 no recorded run
FunctionStatusWhere it lives
check_search_token Ran
ran on a synthesized input
adam-bjtu/autocoa/evaluation/eval_retrieval.py
code served (permissive licence) · get_code("f4a300d49c56f7e4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
from typing import List, Dict, Tuple, Any, Optional

def check_search_token(text: str) -> Tuple[str, str]:
    """
    Check if the text contains a search query token and extract it.
    
    Args:
        text: The text to check for search tokens
        
    Returns:
        Tuple containing the extracted search query and the text up to the end of the search token
    """
    pattern = '<begin_search>(.*?)</end_search>'
    match = re.search(pattern, text, re.DOTALL)
    if match:
        return (match.group(1).strip(), text[:match.end()])
    return ('', '')


# Setup code to construct valid arguments
ARGS = {
    'text': '<begin_search>query string</end_search> some more text after'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
count_search_nums Ran
ran on a synthesized input
adam-bjtu/autocoa/evaluation/eval_retrieval.py
code served (permissive licence) · get_code("aa0d5e49726f39b2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def count_search_nums(text: str) -> int:
    """
    Count the number of search queries in the text.
    
    Args:
        text: The text to analyze
        
    Returns:
        Number of search queries found
    """
    pairs = re.findall('<begin_search>.*?</end_search>', text, re.DOTALL)
    return len(pairs)


# Setup code to construct valid arguments
text_with_searches = """
Some initial text here.
<begin_search>query one</end_search>
More text in between.
<begin_search>query two with
multiple lines</end_search>
And another search:
<begin_search>query three</end_search>
Final text.
"""

ARGS = {
    "text": text_with_searches
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_boxed_answer Ran
ran on a synthesized input
adam-bjtu/autocoa/evaluation/eval_retrieval.py
code served (permissive licence) · get_code("6d99fd0ee8832cb2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def extract_boxed_answer(text: str) -> str:
    """
    Extract the answer from a LaTeX-style boxed format.
    
    Args:
        text: Text containing boxed content
        
    Returns:
        Extracted and cleaned content from the box or empty string if not found
    """
    boxed_pattern = '\\\\boxed\\{(.*)\\}'
    boxed_match = re.search(boxed_pattern, text)
    if boxed_match:
        boxed_content = boxed_match.group(1)
        text_pattern = '\\\\text\\{(.*?)\\}'

        def replace_text(match):
            return match.group(1)
        clean_content = re.sub(text_pattern, replace_text, boxed_content)
        return clean_content
    else:
        return ''


# Setup code with valid arguments
ARGS = {
    'text': r'The answer is \boxed{\text{hello world}}'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
format_results Ran
ran on a synthesized input
adam-bjtu/autocoa/models/wiki_engine.py
code served (permissive licence) · get_code("fe8edf17e376de99")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Build a minimal result dict that satisfies the function's requirements
result = {
    'documents': [
        {'contents': 'First document content here'},
        {'contents': 'Second document content here'},
        {'contents': 'Third document content here'},
    ]
}

ARGS = {
    'result': result,
    'top_k': 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_chat_completion Ran
ran on a synthesized input
adam-bjtu/autocoa/models/vllm_server.py
code served (permissive licence) · get_code("ddc4de55fc7f4e3b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import logging

logging.basicConfig(level=logging.INFO)

ARGS = {
    "message": "What is the capital of France?",
    "model": "gpt-3.5-turbo",
    "temperature": 0.7,
    "top_p": 0.8,
    "max_tokens": 4096,
    "repetition_penalty": 1.05,
    "n": 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
openai — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_completion Ran
ran on a synthesized input
adam-bjtu/autocoa/models/vllm_server.py
code served (permissive licence) · get_code("c89ca5a383e7a0bc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import logging
from typing import List, Tuple, Optional, Dict, Any, Union

# Setup logging
logging.basicConfig(level=logging.INFO)

# Define ARGS dict with all parameters for generate_completion function
ARGS = {
    'prompt': 'Write a short poem about artificial intelligence.',
    'model': 'gpt2',
    'temperature': 0.7,
    'top_p': 0.8,
    'max_tokens': 256,
    'repetition_penalty': 1.05,
    'n': 1,
    'stop_tokens': ['\n\n', '###']
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
openai — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_huggingface_actor_config Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
adam-bjtu/autocoa/RL_training/verl/utils/model.py
code served (permissive licence) · get_code("fe79c459a3e4cc64")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned MockConfig. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from transformers import AutoConfig

torch.manual_seed(0)

# The function uses:
# - model_name: str parameter passed to AutoConfig.from_pretrained()
# - override_config_kwargs: Dict that gets iterated with items() and used with setattr()
# - trust_remote_code: bool parameter passed to AutoConfig.from_pretrained()

# Since we can't actually download models, we need to mock AutoConfig.from_pretrained
# to return a config object that has attributes we can set

class MockConfig:
    """Mock configuration object that behaves like a PretrainedConfig"""
    def __init__(self):
        self.hidden_size = 768
        self.num_hidden_layers = 12
        self.vocab_size = 50257
        self.max_position_embeddings = 2048
    
    def __repr__(self):
        return f"MockConfig(hidden_size={self.hidden_size}, num_hidden_layers={self.num_hidden_layers})"

# Patch AutoConfig.from_pretrained to return our mock config
original_from_pretrained = AutoConfig.from_pretrained
AutoConfig.from_pretrained = lambda model_name, trust_remote_code=False: MockConfig()

ARGS = {
    "model_name": "gpt2",
    "override_config_kwargs": {
        "hidden_size": 256,
        "num_hidden_layers": 4,
        "vocab_size": 1000
    },
    "trust_remote_code": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MockConfig — a MockConfig output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MockConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_search_results Ran
ran on a synthesized input
adam-bjtu/autocoa/models/wiki_engine.py
code served (permissive licence) · get_code("59bb946c117d4e32")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import time
import requests
from unittest.mock import Mock, patch

# Mock the requests.post to return a valid response
def mock_post(*args, **kwargs):
    mock_response = Mock()
    mock_response.json.return_value = {
        'documents': [
            {'contents': 'First document result about the query'},
            {'contents': 'Second document result about the query'},
        ],
        'scores': [0.95, 0.87]
    }
    mock_response.raise_for_status.return_value = None
    return mock_response

# Patch requests.post globally for the execution
requests.post = mock_post

ARGS = {
    'query': 'What is machine learning?',
    'top_k': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
requests — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_answer Ran
ran on a synthesized input
adam-bjtu/autocoa/evaluation/metrics.py
code served (permissive licence) · get_code("98a43410c5681732")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
import string

def normalize_answer(text: str) -> str:
    """
    Normalize answer text by removing articles, punctuation, and extra whitespace.
    
    Args:
        text: The text to normalize
        
    Returns:
        Normalized text string
    """

    def remove_articles(text):
        return re.sub('\\b(a|an|the)\\b', ' ', text)

    def white_space_fix(text):
        return ' '.join(text.split())

    def remove_punc(text):
        exclude = set(string.punctuation)
        return ''.join((ch for ch in text if ch not in exclude))

    def lower(text):
        return text.lower()
    return white_space_fix(remove_articles(remove_punc(lower(text))))


ARGS = {
    "text": "The quick brown fox jumps over a lazy dog!"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
union_tensor_dict Ran
ran; our contract draft was wrong, not the code
adam-bjtu/autocoa/RL_training/verl/protocol.py
code served (permissive licence) · get_code("21331a58f93375e4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned TensorDict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from tensordict import TensorDict

torch.manual_seed(0)

# Create two TensorDicts with identical batch size
batch_size = torch.Size([2])

# First tensor dict with some keys
tensor_dict1 = TensorDict(
    {
        "shared_key": torch.randn(2, 4),
        "key1": torch.randn(2, 3),
    },
    batch_size=batch_size,
)

# Second tensor dict with overlapping and new keys
tensor_dict2 = TensorDict(
    {
        "shared_key": tensor_dict1["shared_key"].clone(),  # Same tensor values
        "key2": torch.randn(2, 5),
    },
    batch_size=batch_size,
)

ARGS = {
    "tensor_dict1": tensor_dict1,
    "tensor_dict2": tensor_dict2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensordict, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TensorDict — a TensorDict output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
unpad_dataproto Ran
ran; our contract draft was wrong, not the code
adam-bjtu/autocoa/RL_training/verl/protocol.py
code served (permissive licence) · get_code("25f0ea3f460f6ce1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned DataProto. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

class DataProto:
    """Stand-in class for DataProto that supports slicing."""
    def __init__(self, data):
        self.data = data
    
    def __getitem__(self, key):
        """Support slicing to return a new DataProto with sliced data."""
        sliced_data = self.data[key]
        return DataProto(sliced_data)
    
    def __repr__(self):
        return f"DataProto({self.data})"

# Create a small DataProto instance with some data
data_tensor = torch.randn(2, 4)
data_proto = DataProto(data_tensor)

ARGS = {
    "data": data_proto,
    "pad_size": 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataProto — a DataProto output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataProto output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_generation_config Not yet run
unverified (harvested, no recorded run)
adam-bjtu/autocoa/RL_training/verl/utils/model.py
code served (permissive licence) · get_code("660713a8fa047736")
How it ran

no invocation recorded.

get_weight_loader Not yet run
unverified (harvested, no recorded run)
adam-bjtu/autocoa/RL_training/verl/models/weight_loader_registry.py
code served (permissive licence) · get_code("76f3c749a0e655f2")
How it ran

no invocation recorded.

squeeze Not yet run
unverified (harvested, no recorded run)
adam-bjtu/autocoa/RL_training/verl/utils/model.py
code served (permissive licence) · get_code("3b15e2ac7497c441")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 6 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 5 the same month, 6 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
unpad_dataproto 89 other papers
4 dated earlier, 2 the same month, 79 later, 1 same year, order not determinable, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.21236 (2024-10)
Flaming-hot Initiation with Regular Execution Sampling for Large Language Models
2025.findings-emnlp.1015 (2025 (year only))
MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning
and 86 more not named here
squeeze 82 other papers
4 dated earlier, 2 the same month, 72 later, 1 same year, order not determinable, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.21236 (2024-10)
Flaming-hot Initiation with Regular Execution Sampling for Large Language Models
2025.findings-emnlp.1015 (2025 (year only))
MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning
and 79 more not named here
union_tensor_dict 64 other papers
4 dated earlier, 2 the same month, 54 later, 1 same year, order not determinable, 3 undated · 4 only as an assembly brick
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.21236 (2024-10)
Flaming-hot Initiation with Regular Execution Sampling for Large Language Models
2025.findings-emnlp.1015 (2025 (year only))
MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning
and 61 more not named here
get_generation_config 63 other papers
3 dated earlier, 1 the same month, 57 later, 2 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.21236 (2024-10)
Flaming-hot Initiation with Regular Execution Sampling for Large Language Models
2502.19613 (2025-02)
Self-rewarding correction for mathematical reasoning
and 60 more not named here
get_huggingface_actor_config 53 other papers
4 dated earlier, 2 the same month, 44 later, 1 same year, order not determinable, 2 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.21236 (2024-10)
Flaming-hot Initiation with Regular Execution Sampling for Large Language Models
2025.findings-emnlp.1015 (2025 (year only))
MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning
and 50 more not named here
get_weight_loader 1 other paper
1 later
2504.20571 (2025-04)
Reinforcement Learning for Reasoning in Large Language Models with One Training Example

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Traditional agentic workflows rely on external prompts to manage interactions with tools and the environment, which limits the autonomy of reasoning models. We position \emph{Large Agent Models (LAMs)} that internalize the generation of \emph{Chain-of-Action (CoA)}, enabling the model to autonomously decide when and how to use external tools. Our proposed AutoCoA framework combines supervised fine-tuning (SFT) and reinforcement learning (RL), allowing the model to seamlessly switch between reasoning and action while efficiently managing environment interactions. Main components include step-level action triggering, trajectory-level CoA optimization, and an internal world model to reduce real-environment interaction costs. Evaluations on open-domain QA tasks demonstrate that AutoCoA-trained agent models significantly outperform ReAct-based workflows in task completion, especially in tasks that require long-term reasoning and multi-step actions. Code and dataset are available at https://github.com/ADaM-BJTU/AutoCoA

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2503.06580")
get_code_for_paper("2503.06580")
have("2503.06580")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2503.06580.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2503.06580.svg)](https://syntology.ai/paper/2503.06580)

Connect an agent — have() is free.