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

Comments

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

Microsoft hints at bit bunkers for war zones

https://www.theregister.com/2026/04/08/microsoft_armored_datacenters/
1•lschueller•4m ago•0 comments

Fitting Gemma 4 (~52 GB) into 12 GB

https://varjosoft.com/gemma4-compression.html
1•velmu•6m ago•0 comments

FBI and DOJ Announce Operation Masquerade

https://www.justice.gov/opa/pr/justice-department-conducts-court-authorized-disruption-dns-hijack...
1•FriedPickles•7m ago•0 comments

Why GitOps still matters in a world of AI agents (FluxCon) [video]

https://www.youtube.com/watch?v=efpqMLQJaW4
1•stealthybox•12m ago•1 comments

Sandboxing Claude Code

https://kaveh.page/blog/claude-code-sandbox
1•kwar13•16m ago•1 comments

GUI Wonderland #5 – Apollo Aegis – In a Beautifully Connected World

https://blisscast.wordpress.com/2024/11/12/apollo-aegis-gui-wonderland-5/
1•bilegeek•16m ago•0 comments

These Stunning Artworks Were Created in MS Paint by a 92 Yr Grandma from Spain

https://digitalsynopsis.com/design/grandma-creates-beautiful-artwork-in-ms-paint/
2•thunderbong•18m ago•0 comments

Spy Basket

https://en.wikipedia.org/wiki/Spy_basket
1•ZeljkoS•18m ago•0 comments

Yu – Sandboxes your Claude Code/Codex with zero credential exposure

https://blog.dreambubble.ai/en/posts/your-ai-coding-agent-is-running-naked-on-your-laptop
2•qingant•19m ago•1 comments

I built a literary magazine in a week with Claude Code

https://tumbleweedwords.com/
1•tumbleweedwords•19m ago•0 comments

Revolution

1•silexia•22m ago•0 comments

Satoshi Nakamoto Unmasking

https://www.theverge.com/business/908601/the-latest-satoshi-nakamoto-unmasking
2•october8140•23m ago•0 comments

Chris Lattner: Every Engineer Is a Manager Now [video]

https://www.youtube.com/watch?v=PLQs_hHTzSk
1•tosh•31m ago•0 comments

Am I German or Autistic?

https://german.millermanschool.com/
2•pypt•32m ago•1 comments

Benutzerdefinierte Attribute Und Berechnete Daten in Email-Signaturen

https://set-outlooksignatures.com/de/blog/2026/04/08/custom-attributes
1•explicitcons•35m ago•1 comments

The Cost of Customer Development Isn't What You Think

https://medium.com/@juuso.vermasheina/the-real-cost-of-customer-development-isnt-what-you-think-6...
1•jvermasheina•40m ago•0 comments

Improving Unity's Mono codegen, part 1

https://blog.s-schoener.com/2026-04-07-mono-codegen-1/
1•mariuz•40m ago•0 comments

GLM 5.1: Pelican Test

https://simonwillison.net/2026/Apr/7/glm-51/
3•sorenbs•40m ago•1 comments

Darwin: Diagnostic-Guided Evolutionary Model Merging

https://huggingface.co/blog/FINAL-Bench/darwin-v6
1•seawolf2357•42m ago•0 comments

Ask HN: When do integrations become painful?

1•OdinSpecc•42m ago•0 comments

Your parallel Agent limit

https://addyosmani.com/blog/cognitive-parallel-agents/
3•saikatsg•48m ago•0 comments

Javadocs.dev

https://github.com/jamesward/javadoccentral
1•saikatsg•49m ago•0 comments

Row over 'virtual gated community' AI surveillance plan in Toronto neighbourhood

https://www.theguardian.com/technology/2026/apr/07/toronto-rosedale-row-virtual-gated-community-a...
2•beardyw•51m ago•0 comments

Who Stole Your Eyes?

https://www.parascene.com/blog/who-stole-your-eyes
1•heddycrow•51m ago•0 comments

Africa's Human Capital – Bill Gates Letter to The Economist

https://economist.com/letters/2026/04/01/letters-to-the-editor
2•andsoitis•53m ago•0 comments

Veracrypt Project Update

https://sourceforge.net/p/veracrypt/discussion/general/thread/9620d7a4b3/
14•super256•55m ago•3 comments

Beyond the Chatbot: How Claude Code Turns Security into a One-Command Workflow

https://hackarandas.com/blog/2026/04/07/beyond-the-chatbot-how-claude-code-is-turning-security-au...
1•ch0ks•57m ago•0 comments

Collabora Office Technical Committee – first meeting

https://forum.collaboraonline.com/t/collabora-office-technical-committee-1st-meeting/4568
3•maxloh•57m ago•1 comments

SOTA Normalization Performance with Torch.compile

https://pytorch.org/blog/sota-normalization-performance-with-torch-compile/
1•salkahfi•57m ago•0 comments

Chrome: Vertical tabs and immersive reading mode

https://blog.google/products-and-platforms/products/chrome/new-chrome-productivity-features/
2•tosh•59m ago•0 comments