Cointime

Download App
iOS & Android

LangChain Adds Automatic Quality Inspector to Agents for Revisions

According to monitoring by Beating, LangChain has released a new component for Deep Agents called RubricMiddleware, which allows AI Agents to check and modify their outputs based on preset standards. Developers can clearly define the 'completion criteria' for tasks, such as code needing to pass tests, reports covering specified sections, and responses avoiding prohibited content. Each time an Agent is ready to deliver results, the system invokes a review model to check each item; if standards are not met, feedback is returned to the original Agent for further modifications until it passes the check or reaches the iteration limit. This mechanism addresses the common issue of Agents falling short on long tasks, where many Agents are not completely incapable but often overlook rigid requirements such as formatting, testing, citations, and sections. RubricMiddleware acts as an automatic quality inspector in the task workflow, helping Agents understand what constitutes true completion rather than just generating a seemingly adequate answer. LangChain's documentation also specifies that this approach is best suited for tasks with clear acceptance criteria, such as whether haiku syllables are correct, whether tests pass after code refactoring, and whether reports include all necessary parts. For ordinary users, its value lies not in making Agents better conversationalists, but in making them more like executors who can deliver work according to a checklist.

Comments

All Comments

Recommended for you

  • Sources: Residence of Iraqi Parliament Speaker Targeted by Drone Attack

    On June 21, local time on the 20th, sources from Iraqi security forces reported that the residence of Iraqi Parliament Speaker Mohammed al-Halbousi was targeted by an unidentified drone attack. (CCTV News)
  • Sources: Residence of Iraqi Parliament Speaker Targeted by Drone Attack

    On June 21, local time on the 20th, sources from Iraqi security forces reported that the residence of Iraqi Parliament Speaker Mohammed al-Halbousi was attacked by an unidentified drone. (CCTV News)
  • IRGC Warns Vessels to Stay Away from Strait of Hormuz

    On June 21, according to CNN, after Iran announced the closure of the Strait of Hormuz on Saturday, the naval division of the Islamic Revolutionary Guard Corps (IRGC) warned various vessels not to approach the waterway. A reporter from Iranian state television stated that the IRGC navy has issued warning messages via radio broadcasts and has directly contacted vessels in the region. The warning indicated that ships attempting to cross the strait could encounter mines or become targets for the Iranian naval forces. The reporter also noted that the traffic of vessels in the Persian Gulf has 'further decreased' compared to a few hours earlier.
  • IRGC Warns Vessels to Stay Away from Strait of Hormuz

    On June 21, according to CNN, following Iran's announcement on Saturday to close the Strait of Hormuz, the naval division of the Islamic Revolutionary Guard Corps (IRGC) warned various vessels to stay away from the waterway. A reporter from Iran's national broadcasting service stated that the IRGC Navy has issued warning messages via radio broadcasts and has directly contacted vessels in the area. The warning indicated that ships attempting to cross the strait could encounter mines or become targets for the Iranian naval forces. The reporter also noted that vessel traffic in the Persian Gulf has 'further decreased' compared to a few hours earlier.
  • IRGC Navy Issues Radio Broadcast Near Strait of Hormuz

    Market news: The Iranian Revolutionary Guard Corps (IRGC) Navy has issued a radio broadcast near the Strait of Hormuz, stating that due to Israel's actions in Lebanon and the United States' violation of relevant commitments, the Strait of Hormuz is now closed to navigation. All vessels have been ordered to stay away from the area to ensure their safety.
  • Binance Sees Inflow of 3,590 BTC in 24 Hours

    According to monitoring by AiCoin, there has been a significant flow of funds at Binance exchange. In the past 24 hours, the exchange's wallet has received an inflow of 3,590 BTC, valued at $359 million. Currently, its BTC wallet balance stands at 644,200 BTC.
  • Binance Sees Inflow of 3,590 BTC in 24 Hours

    According to monitoring by AiCoin, there has been a significant flow of funds at the Binance exchange. In the past 24 hours, the exchange's wallet has received an inflow of 3,590 BTC, valued at $359 million. Currently, its BTC wallet balance stands at 644,200 BTC.
  • BTC Falls Below $64,000

    Market data shows that BTC has fallen below $64,000, currently priced at $63,998, with a 24-hour increase of 1.06%. The market is experiencing significant volatility, so please ensure proper risk management.
  • BTC Falls Below $64,000

    Market data shows that BTC has fallen below $64,000, currently priced at $63,998, with a 24-hour increase of 1.06%. The market is experiencing significant volatility, so please ensure proper risk management.
  • Fed's Probability of 25 Basis Point Rate Hike in July at 38.5%

    As of June 20, according to CME FedWatch data, the probability of the Federal Reserve keeping interest rates unchanged in July is reported at 61.5%, while the probability of a 25 basis point rate hike stands at 38.5%.