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

Comments

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

Croatia declared free of landmines after 31 years

https://glashrvatske.hrt.hr/en/domestic/croatia-declared-free-of-landmines-after-31-years-12593533
1•toomuchtodo•48s ago•0 comments

I built the first multiplayer prompt-hacking game: Agent Has A Secret

https://agenthasasecret.com/
1•arm32•1m ago•1 comments

Coding Agents Wrote a Chess Engine in Pure TeX

https://blog.mathieuacher.com/TeXCCChessEngine/
1•azhenley•3m ago•0 comments

Building a Minimal Transformer for 10-digit Addition

https://alexlitzenberger.com/blog/post.html?post=/building_a_minimal_transformer_for_10_digit_add...
1•alexlitz•4m ago•0 comments

How Codex Is Built

https://newsletter.pragmaticengineer.com/p/how-codex-is-built
1•vinhnx•6m ago•0 comments

We don't have to have unsupervised killer robots

https://www.theverge.com/ai-artificial-intelligence/885963/anthropic-dod-pentagon-tech-workers-ai...
2•layer8•8m ago•0 comments

Nintendo adds spyware to re-release of Game Boy Advance ROM from 2004

https://xcancel.com/meatball_132/status/2027448890438439278
2•Lammy•11m ago•0 comments

Anthropic says it will challenge Pentagon supply chain risk designation in court

https://www.reuters.com/world/us/anthropic-says-it-will-challenge-pentagons-supply-chain-risk-des...
6•Jimmc414•12m ago•0 comments

The Mini PET 40/80 (2022)

http://blog.tynemouthsoftware.co.uk/2022/02/the-mini-pet-4080.html
2•erickhill•13m ago•0 comments

Sam Altman's 'Human Verification' Startup Leans on Consumer Brands

https://www.wsj.com/cmo-today/sam-altmans-human-verification-startup-leans-on-consumer-brands-787...
1•petethomas•18m ago•0 comments

Approximation Game

https://lcamtuf.substack.com/p/approximation-game
1•surprisetalk•19m ago•0 comments

Outbreak panic erupts as deadly eye-bleeding virus ground zero exposed on camera

https://www.dailymail.co.uk/sciencetech/article-15596769/marburg-virus-bats-uganda-cave.html
1•Bender•19m ago•0 comments

Open Rails

https://www.openrails.org/
1•xattt•20m ago•0 comments

Show HN: Testing SQL logic without a real database

1•chrisulson•25m ago•1 comments

DIY Ion-Exchange Membranes from Hardware Store Items [video]

https://www.youtube.com/watch?v=luulTI1RKHE
1•ycnews•33m ago•0 comments

Show HN: AxKeyStore – Zero-trust CLI secrets manager using your own GitHub repo

https://github.com/basilgregory/axkeystore
1•robin_a_p•42m ago•0 comments

Trapped in MS Office

https://ia.net/topics/trapped-in-ms-office
1•DASD•44m ago•1 comments

Show HN: Meet Alfonso: My OpenClaw Put on Public Discord

https://www.openclawdiscord.ai/
3•saroyas•45m ago•2 comments

Show HN: Adversarial AI agents that debate and verify travel itineraries

1•hellomarshmall•46m ago•0 comments

CISA replaces acting director after a bumbling year on the job

https://techcrunch.com/2026/02/27/cisa-replaces-acting-director-gottumukkala-after-a-bumbling-yea...
2•jnord•47m ago•0 comments

Show HN: Yoagent – Build a coding agent CLI in 260 lines of Rust

https://github.com/yologdev/yoagent
2•liyuanhao•51m ago•1 comments

How I Built a 'Journalist' AI Agent in VS Code to Replace Me

https://visualstudiomagazine.com/articles/2026/02/27/how-i-built-a-journalist-agent-in-vs-code-to...
1•daram•53m ago•1 comments

Ollama 0.17 ships native OpenClaw integration – security implications

https://clawmoat.com/blog/ollama-openclaw-security.html
1•ildar•55m ago•0 comments

The Air Force's new ICBM is nearly ready to fly, but there's nowhere to put it

https://arstechnica.com/space/2026/02/the-air-forces-new-icbm-is-nearly-ready-to-fly-but-theres-n...
3•duxup•57m ago•0 comments

Why Tehran's Two-Tiered Internet Is So Dangerous

https://www.schneier.com/blog/archives/2026/02/why-tehrans-two-tiered-internet-is-so-dangerous.html
1•pabs3•1h ago•0 comments

Show HN: DiskFree – Find what's blocking your macOS disk and eject it

https://getdiskfree.github.io/diskfree/
1•ofc-tahaabbasi•1h ago•1 comments

Skip drip emails when recipient has replied in Gmail

1•nishiohiroshi•1h ago•0 comments

California vet clinic warns of AI scam targeting lost dogs

https://ktla.com/news/california/lost-dog-ai-scam-fresno/
2•Bender•1h ago•0 comments

Externalizing Developers' Intuition as Code

https://github.com/elbanic/dev-sentinel
2•elbanic•1h ago•1 comments

Synchronized MIMD Computing [pdf]

https://people.csail.mit.edu/bradley/papers/Kuszmaul94.pdf
1•luu•1h ago•0 comments