Parth Sharma (@parthshr370) header
Parth Sharma (@parthshr370) profile picture

I make agents cool and write about them | MTS @lyzr__ai | prev @mem0ai @CamelAIOrg & @AipoLabs

blr
Joined July 2022
Photo by Parth Sharma (@parthshr370)Photo by Parth Sharma (@parthshr370)Photo by Parth Sharma (@parthshr370)Photo by Parth Sharma (@parthshr370)Photo by Parth Sharma (@parthshr370)Photo by Parth Sharma (@parthshr370)Photo by Parth Sharma (@parthshr370)Photo by Parth Sharma (@parthshr370)Photo by Parth Sharma (@parthshr370)Photo by Parth Sharma (@parthshr370)
I have been working on this blog for a very long time. Hope it adds some value to your understanding of agents and their infra, the way I like to see it. I will be back to writing more blogs soon. Hit me up if you want me to write for you!
27
25
4
190
9,165
I did not expect this to blow up. Seems like my next blog is gonna be sooner now. Will be breaking down an AI product that everyone seems to love ( hint : it's about sandboxes)
I have been working on this blog for a very long time. Hope it adds some value to your understanding of agents and their infra, the way I like to see it. I will be back to writing more blogs soon. Hit me up if you want me to write for you!
14
1,444
> They hire me as an AI engineer > I look at the code > I give it to my AI agent > I go home
1
2
11
452
Banger fishes were drawn
Hosted my first art meetup Got so many responses that I actually had to shortlist Met amazing folks with the coolest stories, learnt a few things about hosting & realised just how much fun it is to bring strangers together 10/10 would do this again 💯
1
2
133
Parth Sharma retweeted
Parth Sharma 总结过去一年半做 Agent 工程的实践经验:理解运行框架,可以先抓住一个 while 循环;但真正影响系统质量的,则是工具设计、上下文管理,以及可靠的后端实现 parthshr370.github.io/blogs/… # 循环很短,上下文却在不断增长 基本流程是:将用户消息放入历史,调用模型;模型提出工具调用,系统便执行工具,把结果追加到历史,再次调用模型。直到模型不再调用工具,或达到轮次上限、发生错误,循环结束。 每轮产生的内容,都会成为后续输入的一部分。因此,工具返回多少信息、哪些值得保留,会直接影响后续成本和判断质量。作者欣赏 pydantic-ai、pi 这类核心流程清楚的实现,便于理解辅助逻辑究竟解决了什么问题。 # 工具要让模型容易用,也要少占上下文 工具本质上仍是函数,只是参数改由模型填写,执行结果又影响模型下一步的选择。 引用 pi 的做法:读取、写入、编辑文件和执行 shell 命令,四类工具就能支撑大量编码任务。重点在于接口是否清楚、输入是否简洁,以及能否在工具端完成筛选,避免把大量无关内容塞进上下文。过大的结果可以落盘,返回路径供模型按需读取。 他也将子 Agent 还原成一种工具调用:启动独立会话,运行类似循环,最后交回结果。它的价值在于隔离上下文、明确分工,不必赋予额外的神秘感。 # 真正费功夫的是循环周围的工程 Agent 一次运行可能持续数分钟,后端必须处理流式传输、心跳、断线重连,以及混杂的文本、工具调用和错误事件。 取消和超时需要传递到实际 HTTP 请求及子进程;重试要考虑幂等,避免重复产生副作用;可恢复的工具错误应反馈给模型,帮助它调整下一步,而不只是写入日志。 因此,作者建议回到基础规范和系统原理:理解流式传输协议,再看框架封装;理解 Linux 命名空间、资源限制与进程隔离,再看沙箱产品。基础清楚,新工具就更容易理解和比较。
I have been working on this blog for a very long time. Hope it adds some value to your understanding of agents and their infra, the way I like to see it. I will be back to writing more blogs soon. Hit me up if you want me to write for you!
12
3
13
1,043
Saturdays are done well at cubbon
1
20
514
Time for some grand theft auto
1
11
246
Gpu man is back with a banger
a lot of kernel writing in triton and gluon is just writing layouts. a lot of you have been asking for some layout resources, i felt the docs sometimes were too dense to understand, so im releasing a blog on how to think, reason and write layouts for triton and gluon kernels. learning this should help you write kernels on both nvidia and amd chips! took me a good while to work on this, so qt if you liked reading it! link - jino-rohit.github.io/blogs/2…
1
1
48
2,526
Parth Sharma retweeted
I have been working on this blog for a very long time. Hope it adds some value to your understanding of agents and their infra, the way I like to see it. I will be back to writing more blogs soon. Hit me up if you want me to write for you!
27
25
4
190
9,165
My ass is seated. The show hasn't started but I'm already seated
Relive the journey before you experience the epic conclusion. Dune: Part One and Dune: Part Two return to cinemas for one week only starting December 4th and witness an exclusive sneak peek of Dune: Part Three. #DuneMovie #FilmedForIMAX
1
7
280
Nw: Wildwood by laika studios
1
3
151
Finalising my next blog after a long hiatus
1
13
269
omp + tern btw
Claude Code is now rendering charts in the terminal 👀
1
3
251
releasing a blog on agentic engineering soon , and I am impressed that opus can do xkcd like diagrams for all my technical blogs
3
176
Bird on a bird on a cow
If u randomly take pictures of things just because they look beautiful, drop one here.
1
12
310
Grand theft auto six has been acquired internally
2
151
Diwali gift aagya. Ab honge kapde press 🥶
11
225
Hes doing all this to distract us from twilight
Identity Confirmed
4
190
Bro is like Big brother.
Identity Confirmed
2
171
All the orange and no claude.
1
13
373