Give the terminal agent a file-editing tool

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
75/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
tooling

Research direction

Read fixtures/terminal_agent/tools.py and fixtures/terminal_agent/agent.py to see how the bash tool is defined and exposed. Add the file editing tool alongside it, matching the existing output limits, and inspect the unit tests and benchmark entry points to determine how those checks are run. Done means the tool is unit-tested on the host and its effect is visible in a benchmark run.

Written by the indexing model from the issue text.

Description

area: agent enhancement size: M
Context

The terminal agent has only a bash tool, so every file edit goes through shell quoting, which models often get wrong.

What to do

Add a str_replace-style edit tool (view, create, replace a unique string) next to bash, with the same output limits.

Done when

The tool exists, is unit-tested on the host, and its effect is visible in a benchmark run.

Where to look

fixtures/terminal_agent/tools.py, fixtures/terminal_agent/agent.py


New here? Read CONTRIBUTING.md and comment on this issue to say you are taking it.


Generated by Claude Code

Dominant language
Python
Stars
0
Forks
0
Avg merge
1h 54m
Merged PRs (30d)
14

Getting set up

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.

More from patsypppe/meridian

All issues in patsypppe/meridian

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.