neulab / neulab/agent-data-protocol
Parse terminal JSON action blobs into structured tool calls
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
terminaltool calls when the JSON parses safely. - Preserve original raw text/provenance in
extrawhen parsing succeeds. - Regenerate affected samples and validate them.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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