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

Comments

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

Demystifying DVDs

https://hiddenpalace.org/News/One_Bad_Ass_Hedgehog_-_Shadow_the_Hedgehog#Demystifying_DVDs
1•boltzmann-brain•6m ago•1 comments

What's Wrong with the West?

https://spectator.com/article/whats-wrong-with-the-west/
1•barry-cotter•8m ago•0 comments

Starlight Spotlight: A Hospital Wii in a New Light

https://dolphin-emu.org/blog/2025/11/14/starlight-spotlight/
1•bombcar•10m ago•0 comments

State Ofthe Art Novel InFlow 1Gearturbine/Reaction 2Imploturbocompressor/Impulse

1•monterrey•11m ago•0 comments

Xous: A pure Rust rethink of the embedded operating system (39c3) [video]

https://media.ccc.de/v/39c3-xous-a-pure-rust-rethink-of-the-embedded-operating-system
1•sxzygz•13m ago•0 comments

Silent Sirens, flashing for us all

https://importai.substack.com/p/import-ai-438-cyber-capability-overhang
1•Flux159•15m ago•1 comments

For Trump, everything's a "hoax." It's pure projection

https://www.salon.com/2025/12/28/for-trump-everythings-a-hoax-its-pure-projection/
3•hkhn•17m ago•0 comments

The (Street Fighter II) AI Engine (2017)

https://sf2platinum.wordpress.com/2017/01/20/the-ai-engine/
1•crispinh•20m ago•0 comments

Show HN: I built a tool to fix terrible resumes

https://mobilecv.ai/
1•ahmednefzaoui•21m ago•0 comments

CoreWeave Has Dramatically Further to Fall

https://seekingalpha.com/article/4856027-coreweave-has-dramatically-further-to-fall
2•zerosizedweasle•23m ago•1 comments

LineageOS for QEMU Virtual Machines

https://github.com/jqssun/android-lineage-qemu
2•boronine•29m ago•1 comments

Pope Leo's pick to lead New York Catholics signals shift away from Maga

https://www.ft.com/content/82fd1962-553f-4241-95e4-096a35c6293f
6•KnuthIsGod•33m ago•1 comments

I built a 200k-edge market knowledge graph to filter false dip-buy signals

3•gano•35m ago•0 comments

You can make up HTML tags

https://maurycyz.com/misc/make-up-tags/
29•todsacerdoti•44m ago•8 comments

AI and Beauty

https://salon.syshuman.com/
1•KadirErturk•47m ago•3 comments

Agent Deck

https://github.com/asheshgoplani/agent-deck
1•handfuloflight•50m ago•0 comments

Consider a Nix Flake for your windows-rs Project

https://lgug2z.com/articles/consider-a-nix-flake-for-your-windows-rs-project/
2•todsacerdoti•56m ago•0 comments

Pixel Art Tutorials

https://saint11.art/blog/pixel-art-tutorials/
1•sssilver•57m ago•0 comments

Discussing Waterworks, Stanley Greenberg's Photos of NY's Hidden Water System [video]

https://www.youtube.com/watch?v=HE_3l0ouiig
1•toomuchtodo•57m ago•1 comments

Vibe Coding for CTOs: The Real Cost of 100 Lines of Code

https://rocketedge.com/2025/12/29/vibe-coding-for-ctos-the-real-cost-of-100-lines-of-code-ai-agen...
2•jiripik•58m ago•0 comments

Instancio: A Java library for automating data setup in unit tests

https://www.instancio.org/
1•mrwolf•58m ago•0 comments

Shai Hulud strikes again – The golden path

https://www.aikido.dev/blog/shai-hulud-strikes-again---the-golden-path
3•gpi•1h ago•0 comments

New league aims to drag fencing into entertainment era

https://www.japantimes.co.jp/olympics/2025/12/03/world-fencing-league/
1•PaulHoule•1h ago•0 comments

Title: Show HN: Kling 2.6 Motion Control UI – Puppeteer static images with video

https://laike.ai/tools/kling-2-6-motion-control
1•jackson_mile•1h ago•1 comments

QuickCurrency – Free currency converter with no sign-up required

https://quickcurrency.net/
2•DDARJEAN•1h ago•0 comments

A Call for New Aesthetics

https://newaesthetics.art/
2•nreece•1h ago•1 comments

Thick Desires in a Thin World

https://domofutu.substack.com/p/thick-desires-in-a-thin-world
1•wjb3•1h ago•0 comments

Shipping at Inference-Speed

https://steipete.me/posts/2025/shipping-at-inference-speed
2•ianrahman•1h ago•0 comments

San Francisco identities from government meetings

https://walzr.com/sf-identities
1•bobbiechen•1h ago•0 comments

The Inverted Reactivity Model of React

https://chrlschn.dev/blog/2025/01/the-inverted-reactivity-model-of-react/
1•bwilliams•1h ago•0 comments