🐦 Twitter Post Details

Viewing enriched Twitter post

@omarsar0

The better the plan, the better your agents perform. Long-horizon agents break not because they can't plan. They break because they plan over entangled contexts. The default approach to LLM agent planning falls into two camps. Step-wise planning (like ReAct) interleaves reasoning and acting but makes short-sighted decisions. One-shot planning generates complete plans upfront but becomes brittle when execution errors occur. But both share the same flaw: a single, growing execution history that mixes information across multiple sub-tasks. This new research introduces Task-Decoupled Planning (TDP), a training-free framework that replaces entangled reasoning with explicit task decoupling. How does it work? A Supervisor decomposes tasks into a directed acyclic graph (DAG) of sub-goals. A Planner and Executor then operate with scoped contexts, reasoning only over the active sub-task. This reminds me of the new blog published by Cursor, which uses a similar tactic where planning is decoupled. When something goes wrong, replanning stays local. Independent decisions remain untouched. Isolating context, decisions, and error correction at the sub-task level prevents local failures from cascading across the entire workflow. On TravelPlanner, TDP achieves the highest hard-constraint micro pass rate (32.5%) under DeepSeek-V3.2. On HotpotQA, it reaches 85.88% delivery accuracy. On ScienceWorld, it matches or exceeds strong baselines across both GPT-4o and DeepSeek models. TDP reduces token consumption by up to 82% compared to Plan-and-Act while improving task outcomes. On HotpotQA, it uses just 1,747 output tokens versus 9,929 for the baseline. Fewer tokens, better results. Sub-task decoupling offers a unified mechanism that works across heterogeneous demands like multi-hop reasoning, interactive environments, and constraint-heavy tool planning. You get all of this without sacrificing performance or efficiency. Paper: https://t.co/0hOsV3wFsZ Learn to build effective AI agents in our academy: https://t.co/JBU5beIoD0

Media 1

📊 Media Metadata

{
  "media": [
    {
      "url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2012877899360297408/media_0.jpg?",
      "media_url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2012877899360297408/media_0.jpg?",
      "type": "photo",
      "filename": "media_0.jpg"
    }
  ],
  "processed_at": "2026-01-18T17:31:08.852508",
  "pipeline_version": "2.0"
}

🔧 Raw API Response

{
  "type": "tweet",
  "id": "2012877899360297408",
  "url": "https://x.com/omarsar0/status/2012877899360297408",
  "twitterUrl": "https://twitter.com/omarsar0/status/2012877899360297408",
  "text": "The better the plan, the better your agents perform.\n\nLong-horizon agents break not because they can't plan. They break because they plan over entangled contexts.\n\nThe default approach to LLM agent planning falls into two camps.\n\nStep-wise planning (like ReAct) interleaves reasoning and acting but makes short-sighted decisions. One-shot planning generates complete plans upfront but becomes brittle when execution errors occur.\n\nBut both share the same flaw: a single, growing execution history that mixes information across multiple sub-tasks.\n\nThis new research introduces Task-Decoupled Planning (TDP), a training-free framework that replaces entangled reasoning with explicit task decoupling.\n\nHow does it work?\n\nA Supervisor decomposes tasks into a directed acyclic graph (DAG) of sub-goals. A Planner and Executor then operate with scoped contexts, reasoning only over the active sub-task.\n\nThis reminds me of the new blog published by Cursor, which uses a similar tactic where planning is decoupled.\n\nWhen something goes wrong, replanning stays local. Independent decisions remain untouched.\n\nIsolating context, decisions, and error correction at the sub-task level prevents local failures from cascading across the entire workflow.\n\nOn TravelPlanner, TDP achieves the highest hard-constraint micro pass rate (32.5%) under DeepSeek-V3.2. On HotpotQA, it reaches 85.88% delivery accuracy.\n\nOn ScienceWorld, it matches or exceeds strong baselines across both GPT-4o and DeepSeek models.\n\nTDP reduces token consumption by up to 82% compared to Plan-and-Act while improving task outcomes. On HotpotQA, it uses just 1,747 output tokens versus 9,929 for the baseline. Fewer tokens, better results.\n\nSub-task decoupling offers a unified mechanism that works across heterogeneous demands like multi-hop reasoning, interactive environments, and constraint-heavy tool planning. You get all of this without sacrificing performance or efficiency.\n\nPaper: https://t.co/0hOsV3wFsZ\n\nLearn to build effective AI agents in our academy: https://t.co/JBU5beIoD0",
  "source": "Twitter for iPhone",
  "retweetCount": 9,
  "replyCount": 13,
  "likeCount": 136,
  "quoteCount": 0,
  "viewCount": 17183,
  "createdAt": "Sun Jan 18 13:21:03 +0000 2026",
  "lang": "en",
  "bookmarkCount": 168,
  "isReply": false,
  "inReplyToId": null,
  "conversationId": "2012877899360297408",
  "displayTextRange": [
    0,
    298
  ],
  "inReplyToUserId": null,
  "inReplyToUsername": null,
  "author": {
    "type": "user",
    "userName": "omarsar0",
    "url": "https://x.com/omarsar0",
    "twitterUrl": "https://twitter.com/omarsar0",
    "id": "3448284313",
    "name": "elvis",
    "isVerified": false,
    "isBlueVerified": true,
    "verifiedType": null,
    "profilePicture": "https://pbs.twimg.com/profile_images/939313677647282181/vZjFWtAn_normal.jpg",
    "coverPicture": "https://pbs.twimg.com/profile_banners/3448284313/1565974901",
    "description": "",
    "location": "DAIR.AI Academy",
    "followers": 285337,
    "following": 758,
    "status": "",
    "canDm": true,
    "canMediaTag": true,
    "createdAt": "Fri Sep 04 12:59:26 +0000 2015",
    "entities": {
      "description": {
        "urls": []
      },
      "url": {}
    },
    "fastFollowersCount": 0,
    "favouritesCount": 34412,
    "hasCustomTimelines": true,
    "isTranslator": true,
    "mediaCount": 4448,
    "statusesCount": 17028,
    "withheldInCountries": [],
    "affiliatesHighlightedLabel": {},
    "possiblySensitive": false,
    "pinnedTweetIds": [
      "2012877899360297408"
    ],
    "profile_bio": {
      "description": "Building @dair_ai • Prev: Meta AI, Elastic, PhD • New cohort: https://t.co/AqEvlVuYdM",
      "entities": {
        "description": {
          "urls": [
            {
              "display_url": "dair-ai.thinkific.com/courses/claude…",
              "expanded_url": "https://dair-ai.thinkific.com/courses/claude-code-for-everyone-cohort-3",
              "indices": [
                62,
                85
              ],
              "url": "https://t.co/AqEvlVuYdM"
            }
          ],
          "user_mentions": [
            {
              "id_str": "0",
              "indices": [
                9,
                17
              ],
              "name": "",
              "screen_name": "dair_ai"
            }
          ]
        },
        "url": {
          "urls": [
            {
              "display_url": "dair.ai",
              "expanded_url": "https://www.dair.ai/",
              "indices": [
                0,
                23
              ],
              "url": "https://t.co/XQto5ypkSM"
            }
          ]
        }
      }
    },
    "isAutomated": false,
    "automatedBy": null
  },
  "extendedEntities": {
    "media": [
      {
        "display_url": "pic.twitter.com/fsze9jzpSg",
        "expanded_url": "https://twitter.com/omarsar0/status/2012877899360297408/photo/1",
        "ext_media_availability": {
          "status": "Available"
        },
        "features": {
          "large": {
            "faces": [
              {
                "h": 73,
                "w": 73,
                "x": 14,
                "y": 862
              }
            ]
          },
          "orig": {
            "faces": [
              {
                "h": 73,
                "w": 73,
                "x": 14,
                "y": 862
              }
            ]
          }
        },
        "id_str": "2012877895778361344",
        "indices": [
          299,
          322
        ],
        "media_key": "3_2012877895778361344",
        "media_results": {
          "id": "QXBpTWVkaWFSZXN1bHRzOgwAAQoAARvvLcgSGuAACgACG+8tyOea4cAAAA==",
          "result": {
            "__typename": "ApiMedia",
            "id": "QXBpTWVkaWE6DAABCgABG+8tyBIa4AAKAAIb7y3I55rhwAAA",
            "media_key": "3_2012877895778361344"
          }
        },
        "media_url_https": "https://pbs.twimg.com/media/G-8tyBIa4AANTdp.jpg",
        "original_info": {
          "focus_rects": [
            {
              "h": 771,
              "w": 1376,
              "x": 0,
              "y": 0
            },
            {
              "h": 1376,
              "w": 1376,
              "x": 0,
              "y": 0
            },
            {
              "h": 1569,
              "w": 1376,
              "x": 0,
              "y": 0
            },
            {
              "h": 1796,
              "w": 898,
              "x": 0,
              "y": 0
            },
            {
              "h": 1796,
              "w": 1376,
              "x": 0,
              "y": 0
            }
          ],
          "height": 1796,
          "width": 1376
        },
        "sizes": {
          "large": {
            "h": 1796,
            "w": 1376
          }
        },
        "type": "photo",
        "url": "https://t.co/fsze9jzpSg"
      }
    ]
  },
  "card": null,
  "place": {},
  "entities": {
    "urls": [
      {
        "display_url": "arxiv.org/abs/2601.07577",
        "expanded_url": "https://arxiv.org/abs/2601.07577",
        "indices": [
          1952,
          1975
        ],
        "url": "https://t.co/0hOsV3wFsZ"
      },
      {
        "display_url": "dair-ai.thinkific.com",
        "expanded_url": "https://dair-ai.thinkific.com/",
        "indices": [
          2028,
          2051
        ],
        "url": "https://t.co/JBU5beIoD0"
      }
    ]
  },
  "quoted_tweet": null,
  "retweeted_tweet": null,
  "isLimitedReply": false,
  "article": null
}