frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

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

Dangerously-skip-permissions is the only safe mode

https://www.granola.ai/blog/dangerously-skip-permissions-is-the-only-safe-mode
1•jamesfisher•29s ago•0 comments

Syscall: Ring ZERO assembly puzzle game for those who are tired of agentic AI

https://store.steampowered.com/app/4849330/SYSCALL_RING_ZERO/
1•thisisneat•1m ago•0 comments

Show HN: AssistantAI – Real-Time Conversation Hints and Screenshot Analysis

https://github.com/Aleksandern/assistant-ai
1•aleksandern08•2m ago•0 comments

In 1850, Ignaz Semmelweis saved lives with three words: wash your hands (2015)

https://www.pbs.org/newshour/health/ignaz-semmelweis-doctor-prescribed-hand-washing
2•downbad_•6m ago•0 comments

Show HN: Qpilot – AI agent runs plain-text manual test cases in a real browser

https://github.com/broxhq/qpilot
2•Muhammad-21•7m ago•0 comments

The Declaration of Independence

https://acoup.blog/2026/07/04/collections-on-the-declaration-of-independence/
1•cesidio•8m ago•0 comments

Show HN: An MCP server that gives your AI assistant write access to /etc./hosts

https://www.lockinmcp.com
1•Kiog-Aser•13m ago•0 comments

Show HN: ASMLings – Rustlings-style exercises for Intel 8086 assembly

https://github.com/giacomo-folli/asmlings
2•stopwatch4619•14m ago•0 comments

I stopped automating Reddit marketing and went back to manual

https://replytone.com
2•alwayswntent•15m ago•0 comments

Async: What Is Blocking? (2022)

https://ryhl.io/blog/async-what-is-blocking/
1•vinhnx•15m ago•0 comments

A field guide to Fable: finding your unknowns

https://twitter.com/trq212/status/2073100352921215386
1•mustaphah•17m ago•1 comments

Escape the Moon

https://escapethemoon.vercel.app/
1•rmoff•20m ago•0 comments

Show HN: Majority.wtf · guess yesterday's most common answer to a question

https://majority.wtf/
1•leumon•21m ago•0 comments

Show HN: Psycurate – Curated place for privacy-first, free psychological tools

https://psycurate.com
1•mursu•21m ago•0 comments

Show HN: Quizzyly – A Chrome Extension to Get Quiz from Current Webpage

https://chromewebstore.google.com/detail/quizzyly/agfdemmfpenkbccjnpjliaenpeihefae
1•satyajitdas•22m ago•0 comments

Show HN: Self hosted excalidraw workspace with storage

https://github.com/PriyavKaneria/excalidraw-workspace
1•diginova•28m ago•0 comments

Help, my dentist started coding – or: a little history of low code solutions

https://thomas-witt.com/blog/help-my-dentist-started-coding/
1•thomas_witt•29m ago•0 comments

The Seinfeld Chronicles

https://seinfeld.visualisingdata.com
1•akashwadhwani35•29m ago•0 comments

A return to two-pizza culture

https://www.allthingsdistributed.com/2026/06/return-to-two-pizza-culture.html
2•theanonymousone•30m ago•0 comments

Study: Universities must rethink how they prepare students for an AI world

https://www.manchester.ac.uk/about/news/universities-must-rethink-how-they-prepare-students/
1•giuliomagnifico•31m ago•0 comments

Reliable OST to PST Conversion

https://blog.perfectdatasolutions.com/ost-to-pst-converter-software-2/
1•tieanderson•34m ago•0 comments

Boston Is Drinking Like It's 1776. The Founding Fathers Would Be Proud

https://www.nytimes.com/2026/07/02/us/brooke-barbier-revolutionary-era-drinks.html
1•koolba•34m ago•0 comments

DOGE self-deletes on July 4th. The grand experiment fell apart long before that

https://www.eenews.net/articles/doge-self-deletes-on-july-4th-the-grand-experiment-fell-apart-lon...
3•Anon84•35m ago•0 comments

The Founder Who Got Fired for Ignoring His Own Return-to-Office Rules

https://www.wsj.com/business/the-founder-who-got-fired-for-ignoring-his-own-return-to-office-rule...
2•bushwart•36m ago•0 comments

JavaScript still can't ship a full-stack module

https://wasp.sh/blog/2026/06/22/javascript-still-cant-ship-a-full-stack-module
1•infomiho•38m ago•0 comments

ClickHouse is winning the Observability Wars

https://matduggan.com/clickhouse-is-winning-the-observability-wars/
3•birdculture•39m ago•0 comments

In-browser programmable robot simulator

https://bittlex-sim.petoi.com/
2•lijay•41m ago•0 comments

Nocode: Way to write secure and reliable applications

https://github.com/kelseyhightower/nocode
1•yladiz•44m ago•0 comments

Carbon Engine – open-source tech powering EVE Online

https://github.com/orgs/carbonengine/repositories
1•regnerba•44m ago•0 comments

Show HN: A Simple Containerized Browser

https://spunto.net/blog/browser-remote
1•codehammer•47m ago•0 comments