Show HN: Cogency – Cognitive Architecture for AI Agents

19 pointsposted 7 months ago
by cogencyai

5 Comments

weego

7 months ago

It seems to me that every iteration of AI agent framework idea is taking us closer down the path to what is ultimately just an Actor framework where the mailbox is an AI agent instead of a code loop.

Someone should probably just cut out the middlemen and do exactly that. A mature Actor topology orchestrator with a set of node types varying from binary logic to full agentic loops would go a long way.

It might be more like Apache Storm than strictly an actor framework the more I think about it, but it's there somewhere.

cogencyai

7 months ago

Just shipped v0.4.1 — major simplification under the hood.

Swapped the custom planner architecture for a leaner ReAct loop (reason → act → observe). It’s not new, but it works. Cleaner logic, better streaming, easier to debug. Less magic, more stability.

The core idea remains: separate cognitive operations from tool orchestration. But now it’s battle-tested, pip-installable, and (more) production-ready.

EconomistFar

7 months ago

This is pretty cool, love seeing more opinionated starter kits that actually focus on developer experience and modern build performance. So many boilerplates get bloated fast.

What stands out is how Cogency tries to balance convention and flexibility, especially the way it handles routing and API hooks without locking you in too hard.

lordofgibbons

7 months ago

Got any benchmarks to go along with it?

Unfortunately, there are a million different cognitive architectures out there, and there's no trivial way to filter through them.

NoProfession

7 months ago

Skimmed through this, really like how clean the structure is. A lot of starter kits feel like they solve “hello world” but get messy fast when you scale.