ju-bezdek/langchain-decorators

syntactic sugar 🍭 for langchain

62
/ 100
Established

Provides Python decorators (@llm_prompt, @llm_function) for writing LangChain prompts as idiomatic function docstrings with multi-message support, optional sections, and type-based output parsing. Enables defining chat workflows, tool calling, and structured outputs while preserving IDE autocompletion and maintaining full access to the LangChain ecosystem. Supports session-based conversation threading with automatic message history management across agent-style interactions.

234 stars and 42,360 monthly downloads. Available on PyPI.

Maintenance 6 / 25
Adoption 20 / 25
Maturity 25 / 25
Community 11 / 25

How are scores calculated?

Stars

234

Forks

12

Language

Python

License

MIT

Last pushed

Nov 27, 2025

Monthly downloads

42,360

Commits (30d)

0

Dependencies

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/ju-bezdek/langchain-decorators"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.