neulab / neulab/agent-data-protocol

Parse terminal JSON action blobs into structured tool calls

Open
#296 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
193
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Several terminal-style datasets preserve assistant JSON action blobs as plain message text. These often include fields such as analysis, plan, commands, and task_complete. A stricter standardized form would put analysis/plan in message or reasoning fields, convert commands to terminal tool calls, and convert completion signals to finish.

Known affected families include LiteCoder terminal, Nemotron terminal, OpenThoughts-Agent, and possibly other terminal traces with the same JSON response format.

Acceptance criteria:

  • Add a reusable parser for the terminal JSON response format.
  • Convert command batches to structured terminal tool calls when the JSON parses safely.
  • Preserve original raw text/provenance in extra when parsing succeeds.
  • Regenerate affected samples and validate them.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing dataset parsing or normalization entry point and the representations used for terminal and finish calls. Implement the reusable parser for the stated JSON fields, then regenerate LiteCoder terminal, Nemotron terminal, and OpenThoughts-Agent samples and validate structured calls plus preserved raw provenance.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.