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

Alex Bores' AI Policy Framework for Congress [pdf]

https://www.alexbores.nyc/files/Bores_AI_Framework.pdf
1•mooreds•3m ago•0 comments

Andrej Karpathy's microgpt as a Triptych

https://karpathy.art/
1•stared•8m ago•0 comments

Chinese National Arrested for Illegally Photographing Military Aircraft at AFB

https://www.justice.gov/opa/pr/chinese-national-arrested-jfk-international-airport-federal-charge...
1•737min•10m ago•1 comments

Exodus, from former Mass Effect devs, couldn't look more like Mass Effect

https://www.pcgamer.com/games/rpg/exodus-the-sci-fi-rpg-from-former-mass-effect-devs-couldnt-look...
1•evo_9•13m ago•0 comments

Ancient amber reveals a true bug equipped with claws, a highly unusual feature

https://phys.org/news/2026-04-ancient-amber-reveals-true-bug.html
1•bookofjoe•13m ago•0 comments

The bull case for graph DBs in law

https://alanyahya.com/writing/bull-case-graph-dbs-law
1•alansaber•14m ago•0 comments

Microsoft offers voluntary employee buyout/retirement for 7% of U.S. workforce

https://www.cnbc.com/2026/04/23/microsoft-plans-first-voluntary-retirement-program-for-us-employe...
2•mgh2•15m ago•0 comments

Show HN: RoboAPI – A unified REST API for robots, like Stripe but for hardware

https://github.com/amitb-quantum/roboapi
1•xmas123•22m ago•0 comments

Lumitime Automata – The Most Amazing Digital Clock Is a Machine [video]

https://www.youtube.com/shorts/LTInOMdjs5o
1•thunderbong•24m ago•0 comments

David Choi's Mars FX Collapse Sparks Global Hunt for Almost $600M

https://www.bloomberg.com/news/articles/2026-04-24/hedge-fund-collapse-sparks-global-hunt-for-alm...
1•simonpure•25m ago•1 comments

Is your meditation posture making things worse?

https://mvmnt.substack.com/p/is-your-meditation-posture-making
1•awakenmyrub•27m ago•0 comments

Performance of the Wren Programming Language

https://wren.io/performance.html
2•birdculture•28m ago•0 comments

Giving AI Agents Database Access Is Way Harder Than It Looks

https://querybear.com/blog/architecture-of-querybear
2•dispencer•33m ago•0 comments

The xAI exodus: Meet the people who have left Musk's AI company

https://www.fastcompany.com/91531084/inside-the-xai-exodus
4•littlexsparkee•46m ago•0 comments

Ask HN: Any recommendataions for exporting data from Amazon?

2•coreyp_1•46m ago•1 comments

2FA: A dedicated two-factor authenticato to securely manage one-time passwords

https://codeberg.org/979/2fa
2•thunderbong•48m ago•0 comments

How to Export Your ChatGPT Conversation History (and Use It)

https://chromewebstore.google.com/detail/lisa-core-ai-memory-libra/dmgnookddagimdcggdlbjmaobmoofhbj
2•AmarDahmani•49m ago•0 comments

Great moments in American advertising history

https://www.wsj.com/business/us-advertising-history-great-moments-418a8284
2•hhs•49m ago•0 comments

H.R.8470 – Surveillance Accountability Act

https://www.congress.gov/bill/119th-congress/house-bill/8470/text
3•gigel82•51m ago•1 comments

Block-f prevent accidental edits

https://github.com/skorotkiewicz/block-f
2•modinfo•53m ago•0 comments

Study: Does the brain work like an LLM in predicting words?

https://www.nyu.edu/about/news-publications/news/2026/april/does-the-brain-work-like-an-llm-in-pr...
2•hhs•55m ago•0 comments

GPT 5.5 sets new record in proofreading benchmark

https://revise.io/errata-bench
2•artursapek•57m ago•1 comments

How professional wrestling prepared Linda McMahon

https://www.newyorker.com/magazine/2026/04/27/linda-mcmahon-profile
2•hhs•59m ago•0 comments

After call from Beijing, China's auto industry races to embed AI in everything

https://www.reuters.com/world/asia-pacific/chinas-auto-industry-races-embed-ai-line-with-beijing-...
1•akyuu•59m ago•0 comments

Tell HN: The problem with Opus .7 /thinking is not token consumption. It's speed

2•ericol•1h ago•0 comments

FusionCore: ROS 2 sensor fusion (IMU and GPS and encoders)

https://github.com/manankharwar/fusioncore
6•kharwarm•1h ago•0 comments

$8800 house design helps prevent fatal diseases in African children

https://www.science.org/content/article/simple-house-may-help-prevent-multiple-fatal-diseases-afr...
3•gmays•1h ago•0 comments

The software supply-chain doom spiral

https://tylercipriani.com/blog/2026/04/24/on-the-software-supply-chain-doom-spiral/
2•thcipriani•1h ago•0 comments

FCC's Foreign-Made Router Ban Expands to Portable Wi-Fi Hotspot Devices

https://www.pcmag.com/news/fccs-foreign-made-router-ban-expands-to-portable-wi-fi-hotspot-devices
4•naves•1h ago•0 comments

Replacing probabilistic AI with deterministic math and Dafny formal verification

https://gist.github.com/Solymus-foundation/5be1dbb91b29d7a8d40760dbc77c8ceb
2•kevinkibeom•1h ago•1 comments