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•12mo 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•12mo 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•12mo 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•12mo 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•12mo 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•12mo 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•12mo 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•12mo 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•12mo 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

You don't know HTML Lists

https://blog.frankmtaylor.com/2026/05/13/you-dont-know-html-lists/
1•speckx•16s ago•0 comments

Why Do Some Breads Dry Out Faster Than Others

https://kestrel.bearblog.dev/why-do-some-breads-dry-out-faster-than-others/
1•speckx•25s ago•0 comments

What If the Universe Had No Beginning? Part 1: A Wave Function for the Universe

https://www.universetoday.com/articles/what-if-the-universe-had-no-beginning-part-1-a-wave-functi...
1•rbanffy•46s ago•0 comments

Are humans still good enough for coding?

https://gyptazy.com/blog/coding-after-ai-are-humans-still-good-enough/
1•JohnDohnBohn•1m ago•0 comments

OpenAI's Founding Story Told Through Musk vs. Altman Trial Exhibits

https://www.plainsite.org/documents/collection.html?name=musk-v-altman-et-al&view=grid
1•thinkcomp•2m ago•0 comments

Molecules emerge as a new kind of building block for quantum computers

https://www.science.org/content/article/molecules-emerge-new-kind-building-block-quantum-computers
2•rolph•2m ago•0 comments

Can opportunities for tax evasion increase tax revenue?

https://academic.oup.com/ej/advance-article-abstract/doi/10.1093/ej/ueag054/8667139?login=false
2•paulpauper•2m ago•0 comments

Osiris – An open-source Palantir alternative for global intelligence

https://www.osirisai.live/
3•Shmrad•3m ago•0 comments

What an "agent-native cloud" needs to look like

https://twitter.com/QuinnyPig/status/2055497559813304735
3•tosh•3m ago•0 comments

Good taste isn't a Good Thing. It's just admirable

https://ramblingafter.substack.com/p/good-taste-isnt-a-good-thing-its
2•paulpauper•3m ago•0 comments

The Theory of Trade

https://nicholasdecker.substack.com/p/the-theory-of-trade
2•paulpauper•4m ago•0 comments

Ada-MK: Adaptive MegaKernel Optimization via DAG-Based Search for LLM Inference

https://arxiv.org/abs/2605.11581
1•matt_d•4m ago•0 comments

Fastconstmap: A faster map from strings to integers in Python

https://twitter.com/lemire/status/2055619273859694645
1•azhenley•4m ago•0 comments

Ask HN: Are all the YC founders lying offlate?

1•vishnukool•5m ago•0 comments

The hantavirus outbreak is reviving some of the worst Covid conspiracies

https://www.scientificamerican.com/article/hantavirus-can-persist-in-semen-for-years-but-that-doe...
1•rolph•9m ago•0 comments

Turn your Android phone into a ham radio transceiver

https://www.kv4p.com/
1•krupan•9m ago•0 comments

How Bill C-22 Went Off the Rails

https://www.michaelgeist.ca/2026/05/the-lawful-access-two-headed-surveillance-monster-how-bill-c-...
1•GavinAnderegg•9m ago•0 comments

Step.parts, 12,000 open source CAD parts

https://www.step.parts
2•softservo•14m ago•0 comments

Faker or Karina? Google Play's new video series serves gamers' ultimate fantasy

https://koreajoongangdaily.joins.com/news/2026-05-15/culture/gamesWebtoons/Faker-or-Karina-Google...
2•ksec•15m ago•0 comments

DIY Hardware for Electron Spin Resonance (2021)

https://physicsopenlab.org/2021/03/02/electron-spin-resonance-hw-part-2/
3•_Microft•16m ago•0 comments

I built Aulo to answer just one question: What should I learn next?

https://auloapp.com/
2•tidderjail2•19m ago•0 comments

Data-Centric AI Manifesto: How Data Quality Drives Modern AI

https://www.mdpi.com/2079-9292/15/9/1913
2•donato_malerba•20m ago•0 comments

Some tools I made for public_html

https://wonger.dev/posts/html-tools
2•wonger_•21m ago•0 comments

Toward individualistic reproduction: Solving the fertility crisis could require

https://www.scilit.com/publications/60117189b430a3a76783c5a605c1c7d8
2•throwaway2037•22m ago•1 comments

How a Pro Gambler&Secret Database Turned a 150-1 Long Shot into a Soccer Miracle

https://www.wsj.com/sports/soccer/heart-of-midlothian-tony-bloom-scotland-ac7aa933
3•bookofjoe•22m ago•1 comments

Voice parsing using AI for calender app

https://apps.apple.com/us/app/voxplan/id6761635850
2•suvirb•24m ago•1 comments

Unix keygen similar to 90s keygen

https://github.com/sbz/keygen
2•hggh•25m ago•0 comments

Lawful access bill could lead to exit from Canada, major VPN provider says

https://globalnews.ca/news/11851363/lawful-access-nordvpn-canada/
4•rolph•25m ago•0 comments

72934

2•Neoprimus•26m ago•0 comments

Built an OSINT tool for email and phone numbers – what should I improve next?

https://tracefind.info/
2•codinglive•27m ago•0 comments