frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Pixelagent – Build your Stateful Agent Framework in 200 lines of code

https://github.com/pixeltable/pixelagent
30•pierrebrunelle•10mo ago

Comments

jweisspxl•10mo ago
Pixelagent: Agent Engineering Blueprint https://www.youtube.com/watch?v=BS6PRsnxkBA
SafeDusk•10mo ago
Exciting to see a fellow builder in the space! Love how memory management and observability is built-in.

Today, I just re-implemented Google's AlphaEvolve for Perlin noises using my own minimal agentic framework (https://toolkami.com/alphaevolve-toolkami-style/), will probably steal a trick or two from you.

pierrebrunelle•10mo ago
Congrats! Take whatever you want :)

Yes: Memory, observability, versioning, and lineage being built-in is a derivative of unifying orchestration and storage: https://docs.pixeltable.com/docs/datastore/computed-columns.

bosky101•10mo ago
Your readme doesn't mention any example of multiple agents. We don't need another wrapper to anthropic/openai/*. Without being able to select between multiple tools/agents - you only need 2 lines of code to achieve llm calls, and another 2 lines for state management.

That said the interface is more idiomatic that others agent frameworks that show up here.

It also wasn't clear where the last N messages is being persisted. Db/file/adapters/?

Good luck!

pierrebrunelle•10mo ago
Thanks!

https://github.com/pixeltable/pixelagent/tree/main/examples/... for multiple tools/agents. A tool is just a UDF. You can have as many as you want.

The goal of this reference agent SDK is to showcase the flexibility of Pixeltable (the underlying unified storage and orchestration system) that is Open Source and Apache 2.0.

This is where storage is defined: https://github.com/pixeltable/pixelagent/blob/main/pixelagen.... These are very simple examples.

Here's how an Agentic Reddit bot would work for instance: https://github.com/pixeltable/pixeltable/tree/main/docs/samp...

RamblingCTO•10mo ago
I'll just leave this here: https://github.com/The-Pocket/PocketFlow 100 lines of code agent lib that's not tied to a commercial offering
pierrebrunelle•10mo ago
I like PocketFlow. You beat me on the # of lines of code! But does it provide parallelization, caching, orchestration, versioning, observability, lineage, multi-modal support?

As you just showed, building an agent SDK is easy, so what's interesting to me is tackling:

- Infrastructure Sprawl: Juggling separate systems for vector search, state tracking, multimodal data handling, and monitoring leads to fragmented workflows and high operational costs. - State Management Nightmares: Reliably tracking agent memory, tool calls, and intermediate states across potentially long-running, asynchronous tasks is incredibly difficult. - Multimodal Integration Pain: Integrating and processing images, audio, video, and documents alongside text requires specialized, often disparate, tooling. - Observability Gaps: Understanding why an agent made a decision or failed requires visibility into its state and data lineage, which is often lacking.

And doing all of that while finding the right abstraction layer to leave all the application and business logic to the dev/users so they don't feel limited. It's difficult!

Besides, I don't know where you see a commercial offering? Everything is Apache 2.0/Open Source from A to Z.

RamblingCTO•10mo ago
PocketFlow is not from me, but just my current favorite ;)

I just got the feeling that the lib is tied to pixeltable, but maybe I misunderstood? Maybe that's why this is dead? pocketflow is completely standalone and the main thing is that you vibe code what you need (works awesome so far!).

I don't want to sideline the discussion about pixelagent, but here's some more about pf:

- https://the-pocket.github.io/PocketFlow/design_pattern/multi... (multi agent, queue) - https://github.com/The-Pocket/PocketFlow/tree/main/cookbook/ here are more advanced examples. Pretty easy to follow imho.

PS: re the observability, yesterday I coded tracing for pocketflow, just need to put it up on github haha

esafak•10mo ago
I don't know why Pierre's post is dead, but I wanted to ask if it is accurate to describe Pixelagent as an MCP-compatible memory layer, and what its competitors are.

If memory is the centerpiece, I suggest leading with it, rather than the ambiguous "Your AI Data Infrastructure".

pierrebrunelle•10mo ago
You can indeed turn anything that you want into an MCP server, e.g. https://github.com/pixeltable/pixeltable-mcp-server.

Pixelagent is a reference implementation for a multimodal agent framework to show that an agent class is easy to build and users should be empowered to build their own from scratch for their use cases.

Regarding Memory, to me it's just about Data Storage, Indexing, Orchestration, and Retrieval and I don't know why we should abstract Memory away from users. Memory will mean so many different things for many use cases.

Let's say you want:

- Working memory: Holds current context and immediate interaction history within the agent's context window -> this is just about passing Q&A pairs to maintain context alongside with roles.

- Episodic memory: Stores specific past experiences and interactions -> this is just about indexing past exchanges and having semantic search on it.

- Semantic memory: Organizes specific knowledge in structured formats -> this is just about building a custom logic (udf) to decide how and what to extract insight from and then retrieve it.

I've implemented them all in this example: https://github.com/pixeltable/pixelbot

Choose Boring Tech

https://mcfunley.com/choose-boring-technology
1•krigath•1m ago•0 comments

Show HN: OpenHarness – Open-source TypeScript SDK for building AI agents

https://github.com/MaxGfeller/open-harness
2•MaxGfeller•1m ago•0 comments

Time to Dump Windows?

https://dennisforbes.ca/blog/microblog/2026/02/time_to_dump_windows/
3•llm_nerd•3m ago•0 comments

Jensen Huang doesn't need a new chip. He needs a new moat

https://www.cnbc.com/2026/03/19/column-jensen-huang-doesnt-need-a-new-chip-he-needs-a-new-moat.html
1•gmays•3m ago•0 comments

I Used Claude Code and Autoresearch to Trace My Family History Back to Jamestown

https://fulghum.io/genealogy
1•jordanf•4m ago•0 comments

On The Joy of Claude

https://pastebin.com/86DR8v8Y
1•tines•4m ago•0 comments

China's Technology Long Game

https://www.chinatalk.media/p/chinas-technology-long-game
1•speckx•4m ago•0 comments

Saudi Arabia takes Indian startup's help for satellite images

https://www.thehindubusinessline.com/news/saudi-arabia-takes-indian-startups-help-for-satellite-i...
1•thisislife2•5m ago•0 comments

Open Source Must Win

https://twitter.com/0xSero/status/2035022588439581076
2•simonebrunozzi•7m ago•0 comments

Couples where both WFH have 0.32 more babies

https://www.nber.org/papers/w34963
1•mandevil•8m ago•1 comments

Norwegian AI Championship

https://ainm.no/en
1•whirlwin•8m ago•0 comments

Show HN: Sift, a small CLI that groups noisy test failures into root causes

https://github.com/bilalimamoglu/sift
2•bimamoglu•9m ago•0 comments

Claude Code as Career Coach

https://seanplusplus.github.io/2026/03/20/claude-code-as-career-coach/
1•seanplusplus•12m ago•0 comments

Slap your MacBook, it yells back (Apple Silicon accelerometer)

https://github.com/taigrr/spank
2•ex-aws-dude•12m ago•1 comments

You and Your Spinner Can Go to Hell

https://catskull.net/you-and-your-spinner-can-go-to-hell.html
1•speckx•14m ago•0 comments

Microsoft update breaks internet access to Windows 11 Teams, Edge, OneDrive

https://www.neowin.net/news/microsoft-kb5079473-breaks-internet-access-to-windows-11-teams-edge-o...
2•binsquare•14m ago•0 comments

Portless replaces port numbers with stable .localhost URLs for local development

https://port1355.dev/
1•tanelpoder•14m ago•0 comments

RustCC: Bringing Rust-Style Safety to C++17 via Policy Enforcement

https://github.com/yunquleonliu/RustCC-Profiler/blob/main/Rust_Cpp_Manifesto.md
2•leontheyellow•14m ago•0 comments

Top US Lawyers' Fees Have Skyrocketed. Be Prepared to Pay $3,400 an Hour

https://www.wsj.com/business/lawyer-hourly-rate-bill-3400-807cf6ce
1•tchalla•15m ago•0 comments

Postgres's Costs

https://www.flowercomputer.com/news/postgres/
1•edouerd•15m ago•0 comments

i am a software mechanic

https://russell.ballestrini.net/i-am-a-software-mechanic/
1•unfirehose•17m ago•0 comments

Talking Postgres Podcast Ep37 Transcript: Building Postgres Services on Azure

https://talkingpostgres.com/episodes/building-postgres-services-on-azure-with-charles-feddersen/t...
1•clairegiordano•20m ago•0 comments

Show HN: Qwack – Collaborative steering for AI agents built on OpenCode

https://qwack.ai
1•zfleeman•21m ago•0 comments

Show HN: Reverse Engineering Tools MCP Server

https://github.com/daedalus/mcp_reverse_engineering
1•dclavijo•21m ago•0 comments

Software in the AI Era

https://www.philipithomas.com/software-in-the-ai-era
2•speckx•22m ago•0 comments

How we are looking for cofounders is stupid

1•shoman3003•22m ago•0 comments

Cambalache's First Major Milestone

https://blogs.gnome.org/gtk/2026/03/20/cambalaches-first-major-milestone/
1•samtheDamned•22m ago•0 comments

Using LLMs to Study Deregulation

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6440018
1•paulpauper•23m ago•0 comments

Startup Will Pay You $100 an Hour to 'Bully' AI

https://www.entrepreneur.com/business-news/memvid-is-paying-100-an-hour-to-bully-ai
1•paulpauper•24m ago•0 comments

Saaspocalypse: Real or Hype?

https://iamcharliegraham.substack.com/p/saaspocalypse-real-or-hype
4•grahac•25m ago•1 comments