Better HN
topnewbestaskshowjobs
Log inSign up

the_mitsuhiko

16,552 karma · joined Apr 2, 2010 (16y ago) · 4,256 submissions

[ my public key: https://keybase.io/mitsuhiko; my proof: https://keybase.io/mitsuhiko/sigs/duqRDxeBy97WrpVMvLJQoVQXx4RaI6jX0_g8_89TtWw ]
Submissions

comment 4d ago · link · parent

My Claude has no more 5 hour limit and now I definitely want it back :D

comment 1w ago · link · parent

When Google IPOed it had around 35% of US web search queries.

comment 3w ago · link · parent

They are still distinct public companies and they want to merge them. And even today the amount of cross mingling between those two entities however is quite significant. You would not necessarily know that they are independent from each other.

The roadster uses Space X propulsion tech, the cybercab uses starlink, grok is in all Tesla cars, both companies share Terafab. But then Tesla also supplies batteries and cybertrucks to Space X etc.

comment 1mo ago · link · parent

I'm not sure why you want shaders, but if you use a coding agent in the terminal you definitely want image support. Otherwise it's very hard to see what the agent is seeing.

comment 1mo ago · link · parent

Never use Ruby then.

comment 1mo ago · link · parent

> When it is present, WebAuthn attestation tells the site the make and model of the authenticator, identified by its AAGUID, with a certificate chain from the vendor to back it up. It says nothing about your OS, your browser, your extensions, whether your phone is rooted or jailbroken, your firmware version, or even what colour it is.

Practical experience from Austria where attestation is used to limit which hardware tokens can be used for the EU digital identity: it sucks. You're limited to a very limited number of keys: https://www.id-austria.gv.at/de/hilfe/hilfe-zu-ida/authentif...

Now: will more people do this? I don't know. But I fault the standard for enabling it in the first place.

comment 1mo ago · link · parent

As far as I can tell there is no reliable data that would indicate any of that.

comment 1mo ago · link · parent

> Like what does this passage even mean:

It means that a LLM side tool (bash) can expose larger (and structured) outputs to Codemode than it normally does when that tool is executed straight to the LLM back as text.

comment 1mo ago · link · parent

Well that was my best attempt so far. I have to say that I find it quite tricky to convey.

comment 1mo ago · link · parent

We might be talking past each other here. The point of codemode is to orchestrate the LLM side tool calls, not to orchestrate scripts that it might execute within Bash.

In a world where brain and hand are on different machines, getting the bash hands to reach back into the harness brain is something that requires a) putting tools in its hands that it does not know about b) are tricky to set up, usually involving some sort of socket based back channel.

I tried this quite a bit, by having pi be always there on the hands side, but it causes a lot of complexity and the LLMs really do not understand it well at all.

comment 1mo ago · link · parent

> Agree, but this orthogonal to JS or bash question.

It is not from my perspective because Codemode runs in the brain, and bash necessarily runs where the hands are. So if the hands need to reach into the brain, I need to set up a communication layer from the hands to the brain.

comment 1mo ago · link · parent

MCP or codemode do not enable automatically, so not sure why they enable in the first place for you. Ask pi to figure out why it's one :)

    { "extensions": ["-builtin:codemode"] }
Is all that is needed to turn off codemode entirely. And -builtin:mcp would independently get completely rid of mcp.

comment 1mo ago · link · parent

> But I don't know why it's crude to be honest. I'm running pi in tmux and have a CLI to prompt it from any shell session / neovim and it works good. So such way of communication is already needed besides codemode.

It becomes much crummier when hands and brain are on different machines.

comment 1mo ago · link · parent

> I'm not sure why almost all codemode implementations choose Javascript

Because the models are trained on JavaScript for code mode. You get away with way fewer instructions. They also want to be able to express concurrency and that works very well with the Promise global.

But a big reason is that code mode runs on the harness side so bash is a tricky target in particular.

comment 1mo ago · link · parent

I find it quite unfortunate that the Tolkien lore has been taken hostage by one type of company. Maybe we can counter this a bit.

comment 1mo ago · link · parent

> Can someone explain how these durable agents handle state present on the VMs/Sandboxes ?

That greatly depends on your agent design. If you give a user a full sandbox then you're going to be in a position where you probably need to snapshot it. But there are plenty of agent designs that are not using full VMs and for those the state story is way easier.

comment 2mo ago · link · parent

> why directly write/read to the store, why not abstract it and do more of a reducer/redux pattern and hide the persistence of the documents?

We tried so many things. At one point it pulls in so much more complexity. At one point we had half of automerge's proxy system in there. In the end we felt like this is a reasonable line to draw, but we will see!

comment 2mo ago · link · parent

It's quite an interesting place to hack on, because it's both a well understood problem but with so many wrinkles to it. I can't count how many earlier designs we chewed through before we ended up with the final one and I would not be surprised if we learn even more about it.

comment 2mo ago · link · parent

We did not want to waste this opportunity this early but we released at 3:14 ET :)

comment 2mo ago · link · parent

> The point of Pi is that the user can tell the agent to improve itself and give it the tools it does need.

The point of Pi is to be minimal but also follow what the models need. We were pretty outspoken that models need code execution, and that's why Pi to this day has a very small set of tools available. However as more and more training with these models abstracts even over toolcalls themselves with code mode and similar things, it requires changes to Pi.

Mario and I talked about this last week if you want to know our thinking: https://x.com/pidotdev/status/2104510506627121451

And yes, that's why there is no Jev tool in Pi either.

comment 2mo ago · link · parent

It is in that sense not integrated with the coding agent. It's just that some things cannot be done with bash alone, at least not as trivially. So if you were asking Pi to utilize Jev, it would not really have the right tools available to make sense of it, even though pi-ai, the underlying library, can make requests to it.

Codemode as a mechanism can expose non LLM functionality to the coding agent. In that sense, Pi does not have a tool for Jev or other classifiers. It just now makes it easier for the agent to utilize it in the same way as it's otherwise quite creative in using bash.

comment 2mo ago · link · parent

A year later, some things have changed: https://earendil.com/posts/you-said-no-mcp/

comment 2mo ago · link · parent

Not what we stand for: https://earendil.com/values/

comment 2mo ago · link · parent

Armin from Earendil here. I think the question is fair, and quite frankly the answer is pretty disappointing: we look at what the models are doing. They are trained on their respective harnesses and we're not here to fight their behavior.

Codex in particular is using responses lite internally and relies on codemode for parallel tool calling. So codemode was a given.

Jev on the other hand is new but it's not the first type of model we had troubles with supporting in Pi and we looked at how to make that make sense. The internal pi-ai SDK supports image generation and classifier models, but without building an extension it was never possible for you to utilize it.

So there was a while functionality of Pi that few people used, because there were no obvious ways to hook it up with the coding agent. Codemode also allows us to close that gap.

And once you have codemode, modern MCP can work quite well if the servers cooperate.

comment 2mo ago · link · parent

> @the_mitsuhiko - How is the session replay of Pi embedded in the article?

Some bespoke slop :)

comment 2mo ago · link · parent

We will write about it. The best way to think about it is that codemode solves a different problem than bash in that bash is a way for the agent to run a particular tool: running bash.

Codemode is a way for the LLM to orchestrate harness level tools. The reason this happening now, is because the models by the labs are increasingly trained on this. Codex for instance in responses lite requires codemode to even perform parallel tool calling.

comment 2mo ago · link · parent

To be clear: absolutely not the plan and nothing is loaded by default that was not loaded before.

comment 2mo ago · link · parent

As we said in the post, we will write about Codemode more in the future. This post in many ways was necessary to address an Elefant in the room.

comment 2mo ago · link · parent

Author of the post here: I don't think it's a good idea to put your clanker to a PR and then try to explain it. That's because you are then reading a derivative work of a derivative work instead of going to the source.

If we fail to explain it, then we need to do a better job explaining it :)

comment 2mo ago · link · parent

I think this is a case of pangram's attribution being confused. All code examples are AI generated but it places the attribution on the text that surrounds it.
12345
142