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•1y ago

Comments

jweisspxl•1y ago
Pixelagent: Agent Engineering Blueprint https://www.youtube.com/watch?v=BS6PRsnxkBA
SafeDusk•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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

Peer to Peer Messaging App

https://www.mindtheclub.com
1•GradleSurvivor•56s ago•1 comments

Automatia Update: Pulling the (API) Strings

https://libriscv.no/blog/pulling-the-strings/
1•fwsgonzo•1m ago•0 comments

Pope Leo, Anthropic co-founder call for church-tech ethics partnership

https://www.ncronline.org/vatican/vatican-news/pope-leo-anthropic-co-founder-call-church-tech-eth...
1•tow21•2m ago•0 comments

Slop is code you can't work with

https://dwyer.co.za/static/slop-is-code-you-cant-work-with.html
1•sixhobbits•4m ago•0 comments

Did the Linux memory management maintainer "just quit"?

2•hliyan•5m ago•0 comments

New Wix Headless Skills Released

https://www.wix-headless.dev/
1•yoavcwix•6m ago•1 comments

Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin

https://tanin.nanakorn.com/ruby-java-typescrip-claude-docx-plugin/
1•theanonymousone•7m ago•0 comments

Advancing mathematics research with AI-driven formal proof search

https://arxiv.org/abs/2605.22763
2•azhenley•11m ago•0 comments

Google warns lawful-access bill could create major cybersecurity risks

https://www.theglobeandmail.com/politics/article-google-lawful-access-bill-c-22-cybersecurity-risks/
3•ethanplant•12m ago•1 comments

Open-Weight Models Don't Need to Win

https://twitter.com/googrish/status/2058981136370651610
4•kumama•16m ago•2 comments

Show HN: CloudPostOffice – Send messages between apps and agents in 4 lines

https://cloudpostoffice.com/
2•tealpod•18m ago•1 comments

China battery stores electricity and hydrogen

https://www.autonocion.com/us/china-stores-electricity-hydrogen/
3•stevenalowe•18m ago•1 comments

The bootstrapper's EU stack for under €10 per month

https://eualternative.eu/guides/bootstrapper-free-tier-eu-stack/
4•sparkling•19m ago•0 comments

One of the first games made in the Build Engine is about to be delisted

https://www.pcgamer.com/games/fps/one-of-the-first-games-made-in-the-build-engine-is-about-to-be-...
2•Brajeshwar•19m ago•0 comments

What is pending for SpaceX Starship to be a Moonship for NASA astronauts?

https://jatan.space/moon-monday-issue-276/
2•JPLeRouzic•20m ago•0 comments

Exposing fake Canadians pushing to join the US [video]

https://www.youtube.com/watch?v=NXafC7tlqt0
2•cloche•22m ago•0 comments

EU plans to fine Google high triple-digit million euro sum, Handelsblatt reports

https://www.reuters.com/world/europe/eu-plans-fine-google-high-triple-digit-million-euro-sum-hand...
1•thm•25m ago•0 comments

Alaska's oil revival sparks a new energy rush Into the Arctic

https://fortune.com/2026/05/24/alaska-oil-revival-energy-investment-arctic-drilling-national-petr...
9•Brajeshwar•35m ago•7 comments

California moves to exempt Linux from its age-verification law after backlash

https://www.tomshardware.com/software/linux/california-moves-to-exempt-linux-from-its-upcoming-ag...
67•rbanffy•36m ago•26 comments

The effect of sleep on blood biomarkers

https://www.empirical.health/blog/effect-of-sleep-on-blood-biomarkers/
3•brandonb•37m ago•0 comments

Inverted Bacteria That Might Kill Everyone

https://benthams.substack.com/p/the-inverted-bacteria-that-experts
3•oj2828•37m ago•0 comments

Show HN: UUTA – A Quiet Practice Journal for iPhone and iPad

https://uuta.app/
1•sravanipuuta•38m ago•0 comments

Show HN: API cost calculator – compare 28 models across 7 providers, no signup

https://quickfix.tools/ai-pricing-calculator/
1•mlongo•38m ago•0 comments

Life is not a Simulation but a Thought Experiment

https://chfritz.github.io/writing/life-is-a-thought-experiment/
3•chfritz•40m ago•0 comments

1986: Email – The Perfect Tech for the Jet Set? – BBC Archive [video]

https://www.youtube.com/watch?v=JqJ159pngY8
1•MasterYoda•40m ago•0 comments

Geo Carncross: How to program computers (2014) [video]

https://www.youtube.com/watch?v=kTrOg19gzP4
1•tosh•41m ago•0 comments

Color palette gives away AI slop

2•endangeredhuman•41m ago•2 comments

ns scale ultra-low-latency fabric over shm and MMAP for IPC

https://crates.io/crates/disruptor-mp
1•venkat_2811•42m ago•0 comments

Trump admin policy shutting US disease researchers of WHO virus response talks

https://www.cnn.com/2026/05/25/politics/global-virus-response-trump-administration
6•vinnyglennon•44m ago•0 comments

Iran President orders restoration of internet access after 87-day blackout

https://www.indiatoday.in/world/story/irans-president-orders-restoration-of-international-interne...
4•guerby•44m ago•0 comments