🐦 Twitter Post Details

Viewing enriched Twitter post

@omarsar0

// Is Grep All You Need? // Pay attention to this on, AI devs. (bookmark it) They find that grep-style text search, when wrapped in the right agent harness, matches or beats embedding-based retrieval on coding-agent tasks. Are vector databases even needed where this is all going? It might be that what coding agents needed was not better embeddings. It was better harness design around primitive tools. If you operate a coding-agent stack that depends on a vector DB, it might be time to re-evaluate. My personal experience on this has been that agentic search, if done right, is more than good enough for a lot of use cases. But you also have to understand how to properly index and structure information for the agents to take advantage. At scale, vector databases do shine so take that into account as well. In most cases, a hybrid approach often works best but that's something we haven't figured out really well as of yet. Paper: https://t.co/VjjXDoZ2yL Learn to build effective AI agents in our academy: https://t.co/1e8RZKs4uX

Media 1

📊 Media Metadata

{
  "media": [
    {
      "type": "photo",
      "url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2055317577031975269/media_0.png",
      "filename": "media_0.png"
    }
  ],
  "processed_at": "2026-05-15T16:03:35.160629",
  "pipeline_version": "2.0"
}

🔧 Raw API Response

{
  "type": "tweet",
  "id": "2055317577031975269",
  "url": "https://x.com/omarsar0/status/2055317577031975269",
  "twitterUrl": "https://twitter.com/omarsar0/status/2055317577031975269",
  "text": "// Is Grep All You Need? //\n\nPay attention to this on, AI devs.\n\n(bookmark it)\n\nThey find that grep-style text search, when wrapped in the right agent harness, matches or beats embedding-based retrieval on coding-agent tasks.\n\nAre vector databases even needed where this is all going?\n\nIt might be that what coding agents needed was not better embeddings. It was better harness design around primitive tools.\n\nIf you operate a coding-agent stack that depends on a vector DB, it might be time to re-evaluate.\n\nMy personal experience on this has been that agentic search, if done right, is more than good enough for a lot of use cases. But you also have to understand how to properly index and structure information for the agents to take advantage. At scale, vector databases do shine so take that into account as well. In most cases, a hybrid approach often works best but that's something we haven't figured out really well as of yet.\n\nPaper: https://t.co/VjjXDoZ2yL\n\nLearn to build effective AI agents in our academy: https://t.co/1e8RZKs4uX",
  "source": "Twitter for iPhone",
  "retweetCount": 2,
  "replyCount": 0,
  "likeCount": 5,
  "quoteCount": 1,
  "viewCount": 122,
  "createdAt": "Fri May 15 16:01:10 +0000 2026",
  "lang": "en",
  "bookmarkCount": 5,
  "isReply": false,
  "inReplyToId": null,
  "conversationId": "2055317577031975269",
  "displayTextRange": [
    0,
    277
  ],
  "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": 303837,
    "following": 838,
    "status": "",
    "canDm": true,
    "canMediaTag": true,
    "createdAt": "Fri Sep 04 12:59:26 +0000 2015",
    "entities": {
      "description": {
        "urls": []
      },
      "url": {}
    },
    "fastFollowersCount": 0,
    "favouritesCount": 35929,
    "hasCustomTimelines": true,
    "isTranslator": true,
    "mediaCount": 4650,
    "statusesCount": 17873,
    "withheldInCountries": [],
    "affiliatesHighlightedLabel": {},
    "possiblySensitive": false,
    "pinnedTweetIds": [
      "2055317577031975269"
    ],
    "profile_bio": {
      "description": "Building @dair_ai • Prev: Meta AI, Elastic, PhD • New AI learning portal: https://t.co/1e8RZKs4uX",
      "entities": {
        "description": {
          "urls": [
            {
              "display_url": "academy.dair.ai",
              "expanded_url": "https://academy.dair.ai/",
              "indices": [
                74,
                97
              ],
              "url": "https://t.co/1e8RZKs4uX"
            }
          ],
          "user_mentions": [
            {
              "id_str": "",
              "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/XQto5ypSIk"
            }
          ]
        }
      }
    },
    "isAutomated": false,
    "automatedBy": null
  },
  "extendedEntities": {
    "media": [
      {
        "display_url": "pic.twitter.com/CelJVL3Ejf",
        "expanded_url": "https://twitter.com/omarsar0/status/2055317577031975269/photo/1",
        "ext_media_availability": {
          "status": "Available"
        },
        "features": {
          "large": {
            "faces": []
          },
          "orig": {
            "faces": []
          }
        },
        "id_str": "2055317573428994049",
        "indices": [
          278,
          301
        ],
        "media_key": "3_2055317573428994049",
        "media_results": {
          "id": "QXBpTWVkaWFSZXN1bHRzOgwAAQoAARyF9HGI2mABCgACHIX0cl+bgWUAAA==",
          "result": {
            "__typename": "ApiMedia",
            "id": "QXBpTWVkaWE6DAABCgABHIX0cYjaYAEKAAIchfRyX5uBZQAA",
            "media_key": "3_2055317573428994049"
          }
        },
        "media_url_https": "https://pbs.twimg.com/media/HIX0cYjaYAE6hGQ.png",
        "original_info": {
          "focus_rects": [
            {
              "h": 871,
              "w": 1556,
              "x": 0,
              "y": 0
            },
            {
              "h": 1556,
              "w": 1556,
              "x": 0,
              "y": 0
            },
            {
              "h": 1774,
              "w": 1556,
              "x": 0,
              "y": 0
            },
            {
              "h": 1904,
              "w": 952,
              "x": 141,
              "y": 0
            },
            {
              "h": 1904,
              "w": 1556,
              "x": 0,
              "y": 0
            }
          ],
          "height": 1904,
          "width": 1556
        },
        "sizes": {
          "large": {
            "h": 1904,
            "w": 1556
          }
        },
        "type": "photo",
        "url": "https://t.co/CelJVL3Ejf"
      }
    ]
  },
  "card": null,
  "place": {},
  "entities": {
    "hashtags": [],
    "symbols": [],
    "urls": [
      {
        "display_url": "arxiv.org/abs/2605.15184",
        "expanded_url": "https://arxiv.org/abs/2605.15184",
        "indices": [
          944,
          967
        ],
        "url": "https://t.co/VjjXDoZ2yL"
      },
      {
        "display_url": "academy.dair.ai",
        "expanded_url": "https://academy.dair.ai/",
        "indices": [
          1020,
          1043
        ],
        "url": "https://t.co/1e8RZKs4uX"
      }
    ],
    "user_mentions": []
  },
  "quoted_tweet": null,
  "retweeted_tweet": null,
  "isLimitedReply": false,
  "communityInfo": null,
  "article": null
}