ju-bezdek/langchain-decorators
syntactic sugar 🍭 for langchain
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.
Stars
234
Forks
12
Language
Python
License
MIT
Category
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.
Related tools
curiousily/Get-Things-Done-with-Prompt-Engineering-and-LangChain
LangChain & Prompt Engineering tutorials on Large Language Models (LLMs) such as ChatGPT with...
mzarnecki/course_llm_agent_apps_with_langchain_and_langgraph
AI apps development in LangChain & LangGraph - tutorial notebooks
JSONFIRST/jsonfirst-langchain
JSONFIRST integration package — jsonfirst.com
yyigitturan/LLM-QA-Generator
A full-stack RAG solution built with LangChain and Ollama/Llama3 for local processing. This tool...
aduermael/langdag
High-performance tool for managing LLM conversations and workflows as DAGs.