frontpage.
newsnewestaskshowjobs

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

Mark Zuckerberg Agrees to Stay in California Despite Billionaires' Tax Measure

https://www.wired.com/story/mark-zuckerberg-agrees-to-stay-in-california-despite-billionaires-tax...
1•mikelgan•16s ago•0 comments

US Denaturalizes 2 People Who Gained Citizenship Hiding Criminal Activity

https://www.justice.gov/opa/pr/trump-administration-denaturalizes-two-people-who-gained-us-citize...
1•gnabgib•3m ago•0 comments

Meta's new terms say if its AI makes a mistake, it will be the customer's fault

https://www.cio.com/article/4237395/metas-new-enterprise-contract-says-if-its-ai-makes-a-mistake-...
2•cdrnsf•3m ago•0 comments

Update your Xbox Series S|X WebUSB through WebUSB

https://dzervas.github.io/xpad-webusb-update/
1•ttouch•7m ago•0 comments

Morph 4K Firmware v4: Simulating the Physics of Retro Video

https://www.pixelfx.co/post/morph-4k-firmware-v4-simulating-the-physics-of-retro-video
1•bpierre•12m ago•0 comments

GameFrame: Agentic Framework for Reverse Engineering Games

https://tanepiper.github.io/game-frame/
3•tanepiper•13m ago•1 comments

Veggie Thursdays and vegan surprises How Ghent became a plant-based paradise

https://www.theguardian.com/food/2026/oct/21/veggie-thursdays-vegan-surprises-ghent-plant-based-p...
1•rdmuser•14m ago•0 comments

Completing a task does not remove the work of managing it

https://civicpivot.blogspot.com/2026/10/the-work-hidden-inside-just-ask.html
1•civicpivot•17m ago•0 comments

They Created a Cell That's Almost Alive. What to Do with It Now?

https://www.nytimes.com/2026/10/14/science/spudcell-adamala-biotic.html
3•CharlesW•18m ago•0 comments

Postgres Recovery_prefetch Considered Harmful and Causing Outages

https://ardentperf.com/2026/10/20/postgres-recovery_prefetch-considered-harmful-and-causing-outages/
1•plaur782•18m ago•0 comments

Qpack amplification attacks against HTTP/3 servers

https://foxio.io/blog/header-accordions-qpack-amplification-attacks-against-http-3-servers
5•kozika•19m ago•0 comments

Dense Sand – Sovereign BYOA AI SoC Platform for AWS

https://aws.amazon.com/marketplace/pp/prodview-iamlatxnobx7o
1•DenseSand•20m ago•0 comments

Make Your Startup More Powerful, Not Just More Profitable

https://www.paulgraham.com/powerful.html
3•mrkn1•22m ago•0 comments

SimulaVR Compute Pack Progress

https://simulavr.com/blog/compute-pack-progress/
1•ai_critic•22m ago•0 comments

A tale of two PHP remote vulnerabilities

https://calif.io/php2shell.x/
1•kozika•23m ago•0 comments

Fil-PHP

https://github.com/pizlonator/fil-c/pull/338
2•SSLy•24m ago•0 comments

Misaligned

https://thezvi.substack.com/p/misaligned
2•7777777phil•25m ago•0 comments

Adversarial interoperability is a team sport

https://pluralistic.net/2026/10/21/brittle-individualism/
1•hn_acker•25m ago•0 comments

EFF's State Legislative Agenda to End ALPR Mass Surveillance

https://www.eff.org/deeplinks/2026/10/effs-state-legislative-agenda-end-alpr-mass-surveillance
2•hn_acker•26m ago•0 comments

Airbnb's new "Reasonable house rules and requests" guidelines for hosts

https://www.airbnb.com/help/article/4168
2•embedding-shape•26m ago•0 comments

39-humanizer, for anyone under 40 who would rather not sound like a bot

https://github.com/OmShiv/39-humanizer
1•OmShankar3•28m ago•0 comments

Show HN: ReviewerAgent and StopContinue, for CC and Codex with Pi

https://github.com/rladr-org/reviewer-agent
1•raylad•28m ago•0 comments

Imaging Black Holes with Julia [video]

https://www.youtube.com/watch?v=eHTuWt3JnZc
1•adgjlsfhk1•29m ago•0 comments

What Lego Lost When It Grew Up

https://www.theatlantic.com/culture/2026/10/lego-adult-market/689051/
1•wltyn•31m ago•2 comments

Oracle Security Alert Advisory – CVE-2026-91403 (eMudhra cert revocation)

https://www.oracle.com/security-alerts/alert-cve-2026-91403.html
18•rayhaanj•34m ago•3 comments

Recompiling the Lion King (SNES, 1994) with an Agent

https://kinduff.com/2026/10/21/recompiling-the-lion-king-with-an-agent/
2•kinduff•34m ago•0 comments

Reactive Optimizers: rewrite the optimizer's source code during training

https://xingjianbai.com/reactive-optimizers/
2•matt_d•34m ago•0 comments

Malleable Systems Collective

https://malleable.systems/
2•so-cal-schemer•35m ago•1 comments

Firmenza – An AI assistant for SAM.gov registration and federal contracts

https://firmenza.com
1•ArjunSilwal•36m ago•1 comments

'Billions' Star Asia Kate Dillon Says Acting Jobs Have 'Diminished'

https://variety.com/2026/tv/news/billions-john-wick-3-asia-kate-dillon-jobs-diminished-customer-s...
3•gmays•39m ago•0 comments