A Language For Agents

8 points by hongminhee


zetashift

The interesting bits in this article for me are the managing of (side-)effects and fast tooling(type checking and testing), because it's something that a lot of mainstream languages also struggle with.

For outside-of-work projects I use Unison, and even though you lose greppability, you gain really fast developer experience(test caching, no build step, abilities to handle effects), I'd imagine an agent to be able to take full advantage of that. But it seems that plain-text beats it anyway; an exact hashing containing the dependencies seems to be less useful to an agent for now?

I'd imagine languages that caters significantly more to agents(in its current state) than humans to turn out similar to serverless platforms. Can get messy, but easy to get started with and get money from.

untitaker

I hope that agents get better tooling for editing files. That files can't be edited line-wise without context affects a lot of languages, and goes far beyond programming langs. Instead I wish code transformations were done with an interface similar to ast-grep.

And I guess sed has to be denylisted entirely.

osa1

When generating code in a language and the model was

  1. trained with the language's documentation, examples etc.
  2. not trained with anything specific to the language, but I point it the documentation and examples during the session

What extra resources does it use in (2)? Does it eat from the context size? Or is it something different? (some kind of "working memory" that's different from "context" maybe?)

What kind of differences should I expect between (1) and (2), for the same task?

It will be a tragedy if LLMs create yet another roadblock for creating and adopting new languages.

amw-zero

Did you (or OP) happen to ask an LLM what it prefers in a language? I did, and interestingly references many of these points.

I was honestly surprised at the reply, because (like this post), it requests as much explicit information as possible so that reasoning can be done locally. One thing it stressed was having an Effect system, which makes a lot of sense - the biggest gap that I've had with using LLMs so far is that it just can't see much of the implicit context of a system.

I thought maybe as long as there was an LSP, or some tools that it could call out to, the language shouldn't really matter. But, it may be the case the local reasoning (which is always valuable) wins out in the end.

kristof

Much of what I’ve said boils down to: agents really like local reasoning.

What's been true for humans is now true for agents!