[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fWIsuhYnxwuJnRHAdmMOykwOcHhRcZHUQhyu1K4LTLMs":3},{"locale":4,"topic":5,"relatedTrends":52},"fr",{"topic":6,"slug":7,"canonicalSlug":7,"topicAliases":8,"nicheKey":10,"nicheName":11,"nicheNameEn":11,"nicheIcon":12,"country":13,"countries":14,"agentKey":15,"score":16,"type":17,"isFresh":18,"isPublic":18,"detectedAt":19,"sources":20,"evidence":48},"Perplexity Search as Code: AI agents write sandboxed Python pipelines","perplexity-search-as-code-ai-agents-write-sandboxed-python-pipelines",[9],"Perplexity's Search as Code: agent-written sandboxed Python pipelines","ai-engineering","AI Engineering & LLM Ops","⚙️","PL",[13],"ai-engineering-PL",100,"spiking",false,"2026-06-09T03:01:27.995Z",[21,27,33,38,43],{"title":22,"url":23,"domain":24,"snippet":25,"content":26},"Perplexity Search as Code: Agents Write Search — 85% Fewer Tokens","https:\u002F\u002Fwww.abhs.in\u002Fblog\u002Fperplexity-search-as-code-85-percent-tokens-agent-api-june-2026","abhs.in","Perplexity replaced fixed search API calls with sandboxed Python agent-written pipelines, reducing tokens from 288K to 43K on a CVE-hunt benchmark.","Abhishek Gautam](https:\u002F\u002Fwww.abhs.in\u002Fwho-is-abhishek-gautam)·June 8, 2026·11 min read\n\n!\n\nQuick summary\n\nPerplexity replaced fixed search API calls with sandboxed Python pipelines agents write themselves — 288K tokens down to 43K on a CVE hunt benchmark.\n\nRead next\n\n*   \n*   \n\n**Perplexity** launched **Search as Code (SaC)** in early **June 2026** — an architecture where **AI agents write Python search pipelines** in a **sandbox** instead of chaining **fixed API tool calls**. On a **200 high-severity CVE** case study, Perplexity reports **100% accuracy** at **42,900 tokens** vs **288,700 tokens** for its old pipeline — an **~85%** reducti\n\n[Content truncated...]",{"title":28,"url":29,"domain":30,"snippet":31,"content":32},"Perplexity's \"Search as Code\" lets AI models write their own search pipelines instead of calling fixed APIs","https:\u002F\u002Fthe-decoder.com\u002Fperplexitys-search-as-code-lets-ai-models-write-their-own-search-pipelines-instead-of-calling-fixed-apis\u002F","the-decoder.com","Perplexity's new \"Search as Code\" architecture dumps rigid search APIs and lets AI models write their own search routines in Python. By letting the agent...",null,{"title":34,"url":35,"domain":36,"snippet":37,"content":32},"Perplexity Lets AI Agents Write Their Own Search Code","https:\u002F\u002Fwinbuzzer.com\u002F2026\u002F06\u002F07\u002Fperplexity-lets-ai-agents-write-their-own-search-code-xcxwbn\u002F","winbuzzer.com","Perplexity's Search as Code lets AI agents generate Python search workflows, but claimed token savings and benchmark gains still need outside validation.",{"title":39,"url":40,"domain":41,"snippet":42,"content":32},"Perplexity Search as Code Lets AI Models Write Their Own Search Pipelines","https:\u002F\u002Fopentools.ai\u002Fnews\u002Fperplexity-search-as-code-ai-models-write-search-pipelines","opentools.ai","Perplexity Search as Code lets AI models write custom search pipelines in Python, cutting token usage by 85 percent and outperforming competitors on...",{"title":44,"url":45,"domain":46,"snippet":47,"content":32},"Perplexity release \"Search as Code\" architecture, lets AI models write their own search pipelines instead of calling fixed API","https:\u002F\u002Fvoice.lapaas.com\u002Fperplexity-release-search-as-code-architecture-lets-ai-models-write-their-own-search-pipelines-instead-of-calling-fixed-api\u002F","voice.lapaas.com","Perplexity has officially launched Search as Code (SaC), a paradigm shift in how artificial intelligence models interact with the web.",{"mentionsLast7Days":49,"mentionsLast30Days":49,"firstSeen":19,"lastSeen":50,"relatedEntities":51},2,"2026-06-09T12:22:44.755Z",[23,29,35,40,45],[53,56,59,62,65,69],{"topic":54,"slug":55,"score":16,"type":17,"country":13,"nicheIcon":12},"Building secure payment infrastructure for AI-driven payments at Stripe","building-secure-payment-infrastructure-for-ai-driven-payments-at-stripe",{"topic":57,"slug":58,"score":16,"type":17,"country":13,"nicheIcon":12},"Comparison of top AI coding agents and development platforms 2026","comparison-of-top-ai-coding-agents-and-development-platforms-2026",{"topic":60,"slug":61,"score":16,"type":17,"country":13,"nicheIcon":12},"Top AI engineering intelligence platforms to measure engineering outcomes","top-ai-engineering-intelligence-platforms-to-measure-engineering-outcomes",{"topic":63,"slug":64,"score":16,"type":17,"country":13,"nicheIcon":12},"Roadmap to becoming an LLM engineer in 2026","roadmap-to-becoming-an-llm-engineer-in-2026",{"topic":66,"slug":67,"score":68,"type":17,"country":13,"nicheIcon":12},"Comparative review of AI coding agents and developer platforms 2026","comparative-review-of-ai-coding-agents-and-developer-platforms-2026",99,{"topic":70,"slug":71,"score":72,"type":17,"country":13,"nicheIcon":12},"Six layers between LLM and production AI agents","six-layers-between-llm-and-production-ai-agents",96]