Show HN: Agent in 9 Lines Python

11 pointsposted 4 hours ago
by tosh

5 Comments

JSR_FDED

3 hours ago

Super cool for how compact yet still readable it is. Shouldn’t there be a tool description passed to the LLM though?

tosh

an hour ago

Great question!

I had a tool description earlier but 'sh' as tool name seems to be sufficient, the agent behaviour was the same.

There might be performance gains if a description is added though, or worth trying different ways of telling the agent about what is available in the environment.

That said, the newer models are fairly good at driving a harness to explore the environment.