正在加载视频...

视频加载失败

I just recorded a deep dive into Pi's architecture. It's a minimalist AI coding agent with a beautiful design. Here's how it actually works 👇

82,612 次观看 • 5 个月前 •via X (Twitter)

51 条评论

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

The video is out on YouTube with chapters and bonus section on skills at the end 🤓

Victor M 的头像
Victor M5 个月前

need part 2 🙌

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

you got it 🫡

CodeMonument 的头像
CodeMonument5 个月前

Is this video on YouTube too? I hate watching this in x app directly

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

well it was scheduled for monday, but i might as well publish it today since this post got traction. that'll give you the weekend to explore pi. will post as soon as it's up

james 的头像
james5 个月前

This was awesome i agree the parenting thing is genius (Rebuilding this in our corp custom so super useful!)

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

glad this was useful!!

OneManSaas 的头像
OneManSaas5 个月前

What's your take on how Pi handles context switching between different coding tasks? Most agents I've tested fall apart when you pivot mid-conversation from debugging to architecture discussions.

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

i think pi does a great job on this because of its /tree session history. you can finish the planning stage, fork the conversation, have the planning session summarized, and switch to building, debugging, etc. it's a great feature

DocPeter 的头像
DocPeter5 个月前

Thank you.

Tina Tornado 的头像
Tina Tornado5 个月前

Good stuff. But, dude, the handwriting... wow.

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

hah is that good or bad hand writing??

Tina Tornado 的头像
Tina Tornado5 个月前

Kept me on my toes, for sure.

NotReally 的头像
NotReally5 个月前

you are going to upload this video to youtube too, right? I want to watch this with NotebookLLM.

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

it's out!

Rajib Singh 的头像
Rajib Singh5 个月前

this is so good and might be the thing to get me off of Claude Code. Looking forward to the video being posted on YouTube!

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

the grass really is greener on this side 🤓 jk, i'm a huge fan of claude code, but recently i feel that the harness is too bloated

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

it's out on youtube btw!

Rajib Singh 的头像
Rajib Singh5 个月前

fantastic - thank you!

Fran Escob 的头像
Fran Escob5 个月前

Amazing video, this is a Harness Masterclass actually

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

i appreciate it!

Chef Chai 的头像
Chef Chai5 个月前

Is there a YouTube link?

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

it'll be out on Monday!

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

well, ended up posting it today. here it is:

Chef Chai 的头像
Chef Chai5 个月前

Thanks!

Helmut Wollmersdorfer 的头像
Helmut Wollmersdorfer5 个月前

Thx. Very high educational quality.

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

i appreciate it 🤓

Varun Gandhi 的头像
Varun Gandhi5 个月前

super helpful, alejandro .. you were about to move to 'skills' where the video ended? .. that's intentional?

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

heh not intentional. full video out on youtube now though with the skills part:

Naraharisetty Sai Sudheer 的头像
Naraharisetty Sai Sudheer5 个月前

Silly to ask, but could you please tell what you used to record and edit this video?

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

the one and only @screenstudio

Tyson Maly 的头像
Tyson Maly5 个月前

Do you have this video on Spotify?

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

not on spotify, but coming out on youtube over the next few days 🤓

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

it's on youtube now btw

Aawej Pathan 的头像
Aawej Pathan5 个月前

This is going to be so helpful pi so so good and underated agent

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

agree

Aawej Pathan 的头像
Aawej Pathan5 个月前

Yes

Jalkarna 的头像
Jalkarna5 个月前

parenting is elegant but does it handle dirty failures? network partitions and orphaned subagents. that's the gap between demo and shipped.

sid 的头像
sid5 个月前

🎮

Nitin Sharma 的头像
Nitin Sharma5 个月前

Excellent. As always enjoyed this video tutorial from you 👍👍

NotReally 的头像
NotReally5 个月前

are the tool calls included in the chat history?

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

yes they are :)

Thiezn 的头像
Thiezn5 个月前

help me better understand the pi concept of trees in its session management. What happens when you fork a new tree branch from an earlier message? Will that basically create a new session, with all the messages so far in its context? Can you then work of both tree branches independently? Or is it more like a rollback thing where it will undo any tool calls that might have happened before? Also, could you explain what the effect on kv cache would be when creating a new tree branch? Would the model need to keep two separate caches or can the first common part of the cache be reused (is that perhaps prefill cache purpose?) note, im an amateur, be gentle with me

Adel Bucetta 的头像
Adel Bucetta5 个月前

pi is the most underrated example of what happens when ai meets software dev simplicity

Gregor 的头像
Gregor5 个月前

imo 'minimalist coding agent' just means it hasn't met a legacy codebase yet

RobbiewOnline 的头像
RobbiewOnline4 个月前

Brilliant video - I'm using Hermes and very interested in using pi so that I'm more in control 😎

BOB CHEN 的头像
BOB CHEN5 个月前

great breakdown. the architecture decisions around agent memory + tool routing are where the real engineering is now — the model call is almost the easy part. the orchestration layer is the product.

dennis 的头像
dennis5 个月前

I really want to use Pi, but I cannot afford the tokens at the API pricing.

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

you can use your codex sub with pi, though! i pair a codex sub with hf inference providers and it's REALLY good. you can use open models that are 20x cheaper than closed models on pay-as-you-go api. and for heavy lifting, you just switch to gpt-5.5. works like a charm

Samuel Junghenn 的头像
Samuel Junghenn5 个月前

@ydennisy_ Can you use codex, Claude and Gemini CLI through the subscription with PI Alejandro?

Alejandro AO 🤗 的头像
Alejandro AO 🤗5 个月前

@ydennisy_ codex YES! claude and gemini are a bit less friendly 🥲

相关视频