Nicheloom visits: 58,783 all-time · 7,637 in the last 7 days

The opportunity tracker for new startups.

Today: 1,008 launches · Niche of the day: specialized calculation tools · See what launched today →

Agent-contracts, contract-based LangGraph agents

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 the author of agent-contracts, a Python library that explores a contract-based approach to structuring LangGraph agents.When building larger LangGraph-based systems, I kept running into the same issues: - node responsibilities becoming implicit - state dependencies spreading across the graph - routing logic getting harder to reason about - refactoring feeling increasingly riskyagent-contracts is an attempt to make these boundaries explicit. Each node declares a contract that describes: - which parts of the state it reads and writes - what external services it depends on - when it should run, using rule-based conditions with optional LLM hintsFrom these contracts, the LangGraph structure can be assembled in a more predictable and inspectable way.This is still early-stage and experimental. I’m mainly interested in feedback on the design trade-offs and whether this mental model resonates with others building complex agent systems.

HN · launched Jan 9, 2026 · 8 upvotes (top 58%) · 0 views

Niche: ai agent development platforms · 598 launches, 22 in the last 7 days ▼ -29% · Explore this niche →

Category and tags

  • Horizontal
  • Agent / copilot
  • Developer
  • AI-native
  • Hobby / open-source project

Visit website ↗ Source listing ↗

Could you build this?

Yes This is a lightweight Python framework/abstraction layer defining schema contracts (e.g., via Pydantic) on top of LangGraph nodes and state graphs.

Discussion

No comments on this launch.

Competitors

Other products that read as similar to this one : 1089 launches clear the similarity bar, closest 8 shown.

Attention rank: #604 of 1090 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 70 days after the earliest competitor.

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.