Top
Best
New

Posted by yarapavan 15 hours ago

You said no MCP(earendil.com)
605 points | 336 commentspage 5
nacs 8 hours ago|
@the_mitsuhiko - How is the session replay of Pi embedded in the article?

It doesn't look to be asciinema?

the_mitsuhiko 3 hours ago|
> @the_mitsuhiko - How is the session replay of Pi embedded in the article?

Some bespoke slop :)

coder-pm 12 hours ago||
Hmm what is this JavaScript sandbox? container, separate process, same Node process? Also does it have access to the MCP tokens? The harness credentials?
whazor 11 hours ago||
This will make it easy to add Pi.dev to a web application and connect it via WebMCP or a backend MCP.
praveenvijayan 13 hours ago||
The core idea of Codemode that I understood is - The script doesn't actually write any code itself; rather, it acts as a workflow automation and program management tool. It pulls data from an issue tracker, delegates the analysis to a model, and synthesizes the results to help manage Pi's development priorities.

Codemode isn't replacing MCP; it's fixing MCP's biggest flaw—its lack of composability.

kingkongjaffa 5 hours ago||
We need to stop naming companies after lord of rings lore.
ppsreejith 14 hours ago||
Anyone found a good file upload solution for MCP? Or is the best practice to use HTTP to upload files outside MCP?
hobofan 14 hours ago||
There is a MCP SEP that outlines multiple ways, that I hope will sooner or later be accepted: https://github.com/modelcontextprotocol/modelcontextprotocol...

While we are waiting on that to become stabilized, we implemented a inspired/co-evolved way to do that in our tool[0], where you mark individual fields in the request/response schema as being file payloads, so that file exchange can be properly orchestrated by the harness and doesn't pollute the context. We just do inline base64 uploads of the required payloads, which in practice we've seen to work quite will until ~100MB files (which is otherwise also the size limit we usually recommend for file processed).

It's annoying that it's not stabilized yet, but for most bigger customers we've seen, they implement 80% of the MCP servers they connect in-house, so doing adjustments to the tool surface, and metadata has been less of a pain for them than we expected.

[0]: https://erato.chat/docs/features/mcp_servers#file-support

jerkstate 11 hours ago|||
I just implemented this with oauth - basically I have a tool that returns a signed URL that the client can PUT the file to. Works in ChatGPT Work mode. My use-case was to have the client generate an image and upload it.
rcarmo 14 hours ago||
I have had to hack a couple of workarounds in https://github.com/rcarmo/memento to do uploads, and there's a draft going around, but the general practice in enterprise MCPs seems to be to do it "out of band" and have MCP tools to hand-over storage handles/URLs so the MCP server can do the imports itself "safely".
1238u 13 hours ago||
But I want mayors, animals, gas reservoirs and data lakes. Can Pi offer in game purchases?
mi_lk 14 hours ago||
The post mixes Codemode and MCP yet the explanation is strange IMO and both appear to be new things in the latest release

If you are a Pi user it may be better to just ask your agent to explain https://github.com/earendil-works/pi/pull/10040

the_mitsuhiko 14 hours ago|
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 :)

mi_lk 14 hours ago|||
Yeah YMMV. FWIW I did that earlier today and I think I got a better idea about what codemode is than the changelog and the post
the_mitsuhiko 14 hours ago||
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.
gritzko 14 hours ago|||
"Now we talked so much about Codemode, it might be worth explaining what that even is."
Pxtl 12 hours ago||
Yeah, since pi is my first agent harness I barely understand what MCP is beyond an API standard. When the essay started talking about codemode without any introduction I was having trouble following it.
OleksandrC 14 hours ago||
Honestly, the provided argument for it is rather weak. They are basically adding a way of running scripts that are contained within harness to execute harness's own tools (that's the Codemode). A coding agent can already compose any arbitrary logic by invoking shell scripts (or python scripts, or node scripts), etc - so this is just entirely unnecessary in the core, from my perspective.

If you feel that Pi has been drifting away from its original vision, try hax (https://usehax.dev/) - you might like it.

assumed_throwaw 12 hours ago|
> Key Feature: Respects your terminal — Streaming Markdown and live tool output, reflowed for display in the terminal. Only redraws the current streaming line or the input area, native scrollback is preserved. Does not take over or mess with your terminal.

Thank you. I've been frustrated by harnesses hijacking the terminal and breaking basic features such as scrolling and text selection.

It even sends BEL when the agent completes, which makes so much sense, yet Pi never implemented it.

I'm definitely going to use it over the next few days and hopefully make the switch.

aussieguy1234 14 hours ago|
Generally, I use skills with a CLI tool instead of MCP and tools. Usually in most cases I also get a coding agent to generate the CLI tool.

I find this approach is easier to debug and I can also use the tool myself to ensure it's working well.

More comments...