惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
人人都是产品经理
人人都是产品经理
小众软件
小众软件
博客园 - Franky
WordPress大学
WordPress大学
Jina AI
Jina AI
Google DeepMind News
Google DeepMind News
I
InfoQ
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
F
Fortinet All Blogs
博客园 - 【当耐特】
IT之家
IT之家
G
Google Developers Blog
J
Java Code Geeks
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
云风的 BLOG
云风的 BLOG
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
V
Visual Studio Blog
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
月光博客
月光博客
GbyAI
GbyAI
雷峰网
雷峰网

LangChain Forum - Latest posts

Prompt_cache_retention: '24h' supported in langchain agents and where to provide it, inside invoke or while creating client? Could RAG pipelines realistically cause deployment timeouts, is Render suitable for first-time RAG deployments? How do I use langchain_postgres' init_vectorstore_table correctly? Proposal: Graph-wide default error handler for StateGraph (fallback for nodes without error_handler) Support timedelta for CachePolicy.ttl, consistent with TimeoutPolicy Question about LangSmith Trace Search via API How to cancel a run correct !! Anyone confirms this issue that deepagent ui streaming is disturb by update in deepagent or bug issue Would pre-inference routing help long-context agent workflows? Best Stack for Building AI Applications Question about LangSmith Trace Search Seeking help regarding the connection between Websocket and tool calls Tool invocation error with empty error message when using `InjectedState` + `Command` return in async tool How to use @langchain/react FileSystem middleware Using ChatSnowflake with agents Built llmsessioncontract on AgentMiddleware: runtime enforcement of tool-call protocols — feedback wanted DeltaChannelHistory not found in langgraph-api:3.12 Improving citation accuracy and reducing hallucinations in custom Parent-Child RAG pipeline (Gemma3:4B + FAISS+BM25 + Cross-encoder reranker) Metadata filter not filtering for alerts Connecting the Slack integration fails with invalid_team_for_non_distributed_app Trouble understanding and editing experiment summary evaluators feedbacks SSL certificate error from httpx with LangGraph server WikipediaLoader endup in JSONDecodeError Human-in-the-loop approval dashboard for LangGraph agents — open source, free to deploy Should interrupt() be split into two primitives — one for human input, one for s2s data fetching? How are people handling data governance across agent handoffs in production? Feature Request: @task metadata Research: Friction Points in Agentic Commerce Transactions How should I provide an agent to a LangGraph server?
LOGIC.md — declarative reasoning contracts that compile t...
SingleSource · 2026-04-20 · via LangChain Forum - Latest posts
Been building a declarative spec format for multi-agent reasoning, and the LangGraph adapter is the most developed integration. Posting here for feedback from people running StateGraph systems in production. What LOGIC.md is A YAML file that declares step DAGs, output contracts, quality gates, tool permissions, and fallback chains. Framework-agnostic, compiles to LangGraph today (CrewAI and AutoGen planned). Why this might matter for LangGraph users Right now, if you want StateGraph to enforce output contracts, quality gates, or tool permissions, you write it imperatively — validation logic in each node function, retry logic scattered across the graph. With LOGIC.md you declare it once: yaml contracts: outputs: sources: { type: array, items: { type: object } } quality_gates: post_output: - check: "outputs.sources.length > 0" action: retry max_retries: 3 The adapter compiles this to StateGraph node definitions with: Type-validated state schemas Pre/post node hooks for contract enforcement Automatic retry logic for failed quality gates Per-node tool permission checks Fallback edge routing typescript import { compile_to_langgraph } from "@logic-md/adapters/langgraph"; const spec = parse(markdownContent); const graph_builder = compile_to_langgraph(spec); const graph = graph_builder.compile(); // graph is a LangGraph StateGraph with LOGIC.md contracts baked in Adapter state (honest) Proof of concept. Core node compilation works. Quality gates and tool permissions are stubbed. Needs real workflows to validate the API — I built it in isolation so there are almost certainly design issues a production LangGraph user would catch immediately. What I’m looking for feedback on Does the LOGIC.md data model fit how you actually build LangGraph workflows, or are there primitives missing? For those running LangGraph at scale — what do you currently do for output contracts and quality gates? Imperative code, or something else? Streaming: how should declarative contracts behave when reasoning happens incrementally? Open design question. Are there LangGraph patterns you’d want the adapter tested against? Links Repo: https://github.com/SingularityAI-Dev/logic-md LangGraph adapter: https://github.com/SingularityAI-Dev/logic-md/tree/main/adapters/langgraph Spec: https://github.com/SingularityAI-Dev/logic-md/blob/main/docs/SPEC.md Happy to pair with anyone who wants to push the adapter forward, or take feedback issues on the repo. 1 post - 1 participant Read full topic