Show HN: Cogency – Cognitive Architecture for AI Agents https://ift.tt/Q6OVjMG

Show HN: Cogency – Cognitive Architecture for AI Agents Yesterday I built something that probably shouldn’t exist yet. In 9 hours, I created a cognitive architecture demonstrating emergent reasoning. It follows a 5-step loop: Plan → Reason → Act → Reflect → Respond. Adding a WebSearchTool to test extensibility, the agent initially failed its first search, reflected on poor results, adapted its query, and then succeeded. This behavior wasn’t programmed; it emerged naturally from the architecture. Five hours later, I integrated a FileManagerTool — it worked on the first try. Like code compiling first time, except this was intelligence composing zero-config. Key insight: separating cognitive operations from tool orchestration enables true composability. Most frameworks conflate these, resulting in brittle, unpredictable agents. Commit timeline: https://ift.tt/FTbvZoU It’s pip-installable (pip install cogency) with production-ready components. Currently dogfooding across projects. Seeking feedback from the community on the approach and implementation. https://ift.tt/FTbvZoU July 12, 2025 at 04:06AM

No comments:

Show HN: Mira – Open-source and self-hosted AI code reviewer https://ift.tt/BxGQSE5

Show HN: Mira – Open-source and self-hosted AI code reviewer Hey HN, I'm Jay, co-creator of Mira. An open-source, self-hosted AI code re...