PicoFlow
a tiny DSL-style Python library for LLM agent workflows
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
Hi HN, I’m experimenting with a small Python library called PicoFlow for building LLM agent workflows using a lightweight DSL.I’ve been using tools like LangChain and CrewAI, and wanted to explore a simpler, more function-oriented way to compose agent logic, closer to normal Python control flow and async functions.PicoFlow focuses on: - composing async functions with operators - minimal core and few concepts to learn - explicit data flow through a shared context - easy embedding into existing servicesA typical flow looks like: flow = plan >> retrieve >> answer await flow(ctx) Patterns like looping and fork/merge are also expressed as operators rather than separate graph or config layers.This is still early and very much a learning project. I’d really appreciate any feedback on the DSL design, missing primitives, or whether this style feels useful for real agent workloads.Repo: https://github.com/the-picoflow/picoflow
HN · launched Jan 21, 2026 · 11 upvotes (top 47%) · 0 views
Niche: ai workflow automation platforms · 220 launches, 17 in the last 7 days ▲ +31% · Explore this niche →
Category and tags
- Horizontal
- Workflow automation
- Developer
- AI-native
- Hobby / open-source project
More like this: all 220 launches in ai workflow automation platforms →
Could you build this?
Yes A lightweight Python DSL library for composing agent logic using native control flow and function decorators is a small software library that an AI coding assistant can easily generate and test.
Discussion
2 comments analyzed.
Competitors mentioned: smolagents
Competitors
Other products that read as similar to this one : 556 launches clear the similarity bar, closest 8 shown.
Attention rank: #283 of 557 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 82 days after the earliest competitor.
- SymDerive · hn · 2026-02-01 · 26 upvotes · similarity 0.47
- Agent-contracts, contract-based LangGraph agents · hn · 2026-01-09 · 8 upvotes · similarity 0.45
- Rilldex-RL-Studio · github · 2026-10-16 · 21 upvotes · similarity 0.45
- LLM agents that write Python to analyze execution traces at scale · hn · 2026-03-07 · 5 upvotes · similarity 0.44
- awesome-agent-loops · github · 2026-11-05 · 107 upvotes · similarity 0.43
- Pyra · hn · 2026-04-17 · 13 upvotes · similarity 0.43
- 20x · hn · 2026-02-26 · 6 upvotes · similarity 0.43
- borg · github · 2026-11-07 · 15 upvotes · similarity 0.42
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.