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

Comments

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

In 1987, a Student Set Out to Fix a Mac Problem. Ended Up Creating "Photoshop"

https://dailygalaxy.com/2026/04/knoll-brothers-photoshop-creation-story/
1•rmason•1m ago•0 comments

Creative Ideas Emerge to Make Data Centers Beautiful Amid NIMBY Backlash

https://x.com/i/trending/2049962384308289888
1•rmason•5m ago•0 comments

Australia wants to be first nation in the world to eliminate a cancer

https://www.bbc.com/news/articles/cd6w15vgp7lo
1•dabinat•5m ago•0 comments

Senate Panel Backs Guard Act, AI Age Verification Bill

https://reclaimthenet.org/senate-panel-backs-guard-act-ai-age-verification-bill
1•anonymousiam•6m ago•0 comments

FireImg Is Live

https://www.fireimg.com/demo/
1•mjnestor•11m ago•0 comments

Making Money (Or Not) Writing

https://countercraft.substack.com/p/on-making-money-or-not-writing
1•crescit_eundo•12m ago•0 comments

When a Species' Survival Hinges on Every Single Embryo

https://nautil.us/when-a-species-survival-hinges-on-every-single-embryo-1280373
2•Brajeshwar•12m ago•0 comments

Turning chess into a roguelike via design first principles

https://elbowgreasegames.substack.com/p/below-the-crown-launches-10
1•spacemarine1•16m ago•0 comments

I Built an L1 Blockchain Alone in Indonesia

https://paragraph.com/@satyakwikp@gmail.com/i-built-an-l1-blockchain-alone-heres-whats-actually-r...
1•sentrixchain•19m ago•0 comments

Linux averaging ~350 CVEs per day

https://crib.social/notice/B5rY6M7oM93li4Takq
1•gslepak•19m ago•0 comments

PDF Editify

https://pdfeditify.com/
1•Benish_Zulfiqar•20m ago•0 comments

True Frontier labs in India: What do we need to make it happen?

https://twitter.com/ponnappa/status/2050261742174028026
1•ridiculous_leke•22m ago•0 comments

Whimsical Animations Course Open House

https://courses.joshwcomeau.com/wham/open-house/00-introduction
9•SpyCoder77•22m ago•1 comments

Token spend breaks budgets – what next?

https://newsletter.pragmaticengineer.com/p/the-pulse-token-spend-breaks-budgets
1•keeda•25m ago•0 comments

Why Half Your Skills Expire Every Few Years

https://arpitbhayani.me/blogs/half-life/
1•jojobhai•25m ago•0 comments

I Have Lived in Your Camp

https://green.spacedino.net/i-have-lived-in-your-camp/
1•exceptione•27m ago•0 comments

AI is starting to beat doctors at making correct diagnoses

https://www.science.org/content/article/ai-starting-beat-doctors-making-correct-diagnoses
2•bglazer•27m ago•0 comments

The AI scaffolding layer is collapsing. LlamaIndex's CEO explains what survives

https://venturebeat.com/infrastructure/the-ai-scaffolding-layer-is-collapsing-llamaindexs-ceo-exp...
1•momentmaker•29m ago•0 comments

Running Doom on a Travel Router with Touch Screen

https://hackaday.com/2026/05/01/running-doom-on-a-travel-router-with-touch-screen/
1•momentmaker•30m ago•0 comments

The Case for Euthanizing Everyone at Age 65

https://marshallbrain.com/youve-had-your-turn-the-case-for-euthanizing-everyone-at-age-65
1•p2detar•32m ago•1 comments

Elegy for the Hereditary Peers

https://engelsbergideas.com/essays/elegy-for-the-hereditary-peers/
1•bookofjoe•32m ago•0 comments

GIMP 3.4 Will probably draw circles

https://fosstodon.org/@CmykStudent/116455148076446506
3•marcodiego•33m ago•0 comments

Claude Code completes the first level of several ARC AGI 3 games

https://arc-agi-runs.web.app/ls20-47471d22-3e73-4d9b-8ff7-972ef3ea5195/
1•dextersjab•34m ago•1 comments

Upcoming Blender Development Fund and AI Policies

https://www.blender.org/news/upcoming-blender-development-fund-and-ai-policies/
1•dagmx•35m ago•0 comments

Pentagon inks deals with AI giants, but not Anthropic

https://www.dw.com/en/pentagon-inks-deals-with-ai-giants-but-not-anthropic/a-77012715
3•herodoturtle•37m ago•0 comments

The anatomy of message execution after an API returns 200 OK

https://blog.bridgexapi.io/the-anatomy-of-message-execution-what-happens-after-your-api-returns-2...
1•Bridgexapi•37m ago•0 comments

Our poor sleeping habits are filling our brains with neurotoxins (2015)

https://qz.com/424120/our-poor-sleeping-habits-could-be-filling-our-brains-with-neurotoxins
1•downbad_•37m ago•1 comments

Show HN: Pixel-Perfect MaterialX in Blender and Three.js

https://ben3d.ca/blog/pixel-perfect-materialx-in-blender-and-threejs
1•bhouston•38m ago•0 comments

5x speedup of sqlglot (pure Python SQL parser) with mypyc

https://www.fivetran.com/blog/how-we-accelerated-transpilation-by-compiling-sqlglot-with-mypyc
1•captaintobs•41m ago•0 comments

Show HN: Arc Browser + Agents IDE

https://github.com/armantsaturian/ArcNext
1•ArmanTsaturian•42m ago•0 comments