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

No Man Is an Island

https://borretti.me/article/no-man-is-an-island
1•zetalyrae•56s ago•0 comments

Me, but You, but Me

https://blog.anaisbetts.org/posts/me-but-you-but-me/
2•NaOH•5m ago•0 comments

The One Question I Can't Stand at Restaurants

https://www.theatlantic.com/culture/2026/10/restaurant-phone-number-question/688926/
2•samizdis•6m ago•0 comments

R&D doesn't pay pharma shareholders. What does?

https://www.baybridgebio.com/blog/pharma_returns
1•aaavl2821•6m ago•0 comments

ClickHouse outcompresses Parquet: Surprises from our migration

https://tomalard.github.io/posts/clickhouse-outcompresses-parquet-surprises-from-our-migration/
2•TomAlard•7m ago•0 comments

Netflix plans to cut 5% of its workforce

https://www.reuters.com/business/media-telecom/netflix-plans-cut-5-its-workforce-puck-news-report...
5•theanonymousone•8m ago•0 comments

Making a not-jailbreak in 3 weeks

https://www.hrtowii.dev/blog/making-a-not-jailbreak-in-3-weeks/
1•davikr•8m ago•0 comments

Ask HN: What is your favorite book of all time, and why?

2•chistev•10m ago•0 comments

Trump announces deal with Putin to release Russian diesel

https://www.bbc.com/news/articles/cm1dwgr666wno
5•defly•11m ago•0 comments

Software developers are not okay

https://www.baldurbjarnason.com/2026/05-software-developers-are-not-okay/
2•birdculture•12m ago•0 comments

tiny-audio, nanoGPT for speech-to-text

https://github.com/alexkroman/tiny-audio
2•mazesmazes•12m ago•0 comments

Did You Mean Deprecated?

https://www.olafalders.com/2026/10/09/did-you-mean-deprecated/
1•oalders•13m ago•0 comments

open-slopware – Alternatives to FOSS projects choosing to use LLMs/AI

https://codeberg.org/ethical-foss/open-slopware
3•smartmic•14m ago•0 comments

Batteries are now cheaper than natural gas turbines used at many data centers

https://techcrunch.com/2026/10/09/batteries-are-now-cheaper-than-natural-gas-turbines-used-at-man...
1•speckx•15m ago•0 comments

I Reverse Engineered a Popular iPad App with AI

https://computerchale.com/writing/i-reverse-engineered-a-popular-ipad-app-with-ai
1•melon_taeppe•19m ago•0 comments

An Anthropic AI model sent a false homicide tip to the police

https://techcrunch.com/2026/10/09/an-anthropic-ai-model-sent-a-false-homicide-tip-to-philadelphia...
2•mikelgan•19m ago•0 comments

Pay It Forward

https://en.wikipedia.org/wiki/Pay_it_forward
1•chistev•21m ago•0 comments

Turning educational content into interactive simulations

https://w0sks3xp1l.hdply.com
1•shallawma•22m ago•0 comments

Aaron Swartz's domain aaronsw.com has expired

3•karimelgazar•23m ago•1 comments

The Science of Creativity

https://lpsonline.sas.upenn.edu/features/science-creativity-how-train-your-brain-innovative-thinking
2•jruohonen•23m ago•1 comments

You will lose it in a meeting. The leadership is in the repair

https://unleashyouradhd.com/blog/the-repair/
2•ohjeez•25m ago•0 comments

Plane Crazy: Building a Plane in 30 Days [video]

https://www.youtube.com/watch?v=FSNzF-KSGiw
1•js2•25m ago•0 comments

Experimenting with HashCortX Lately

https://github.com/Hash-7777/HashCortX
1•New_Hash•26m ago•1 comments

Postgres sharding with Citus and StackGres – scaling coordinator nodes

https://stackgres.io/blog/scaling-citus-beyond-one-coordinator-announcing-query-routers-stackgres/
1•samokhvalov•27m ago•0 comments

Show HN: Talus, a small terrain diffusion model that runs in the browser

https://talus.tersa.tech/
1•osfv•28m ago•0 comments

The Contingency Plan I Almost Had to Use

https://www.garybell.co.uk/blog/the-contingency-plan-i-almost-had-to-use/
1•speckx•28m ago•0 comments

What do you do while waiting for a prompt response?

1•rfmoz•28m ago•1 comments

Agent swarms in business is AI larping

https://agentic-larp.ing/
1•saintvinasse•30m ago•0 comments

A Critical Look at Lean4

https://www.lesswrong.com/posts/zHhGa3iQBQcdSifFL/a-critical-look-at-lean4-1
3•mathgenius•30m ago•0 comments

Bitwarden: Published version update in app stores

https://community.bitwarden.com/t/published-version-update-in-app-stores/102750
5•bennett_dev•32m ago•0 comments