<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dzeaulfath on Medium]]></title>
        <description><![CDATA[Stories by Dzeaulfath on Medium]]></description>
        <link>https://medium.com/@dzeaulfath?source=rss-2e24326f83d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*--yq4-yRQ3-_N4SsiVGA0A.png</url>
            <title>Stories by Dzeaulfath on Medium</title>
            <link>https://medium.com/@dzeaulfath?source=rss-2e24326f83d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 16:50:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dzeaulfath/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Indonesia’s MSCI Crisis]]></title>
            <link>https://dzeaulfath.medium.com/indonesias-msci-crisis-db52b26c5547?source=rss-2e24326f83d------2</link>
            <guid isPermaLink="false">https://medium.com/p/db52b26c5547</guid>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[indonesia-stock-exchange]]></category>
            <category><![CDATA[stock-market]]></category>
            <dc:creator><![CDATA[Dzeaulfath]]></dc:creator>
            <pubDate>Sun, 08 Nov 2026 03:41:32 GMT</pubDate>
            <atom:updated>2026-11-08T03:41:32.920Z</atom:updated>
            <content:encoded><![CDATA[<p>Jakarta’s stock market has lost 39% this year because global investors can’t trust its ownership data. That makes it a fair test of what AI really adds for banks and investors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*--t3fnIYyQbNSpUe" /><figcaption>Photo by <a href="https://unsplash.com/@rubensukatendel?utm_source=medium&amp;utm_medium=referral">Ruben Sukatendel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote><em>MSCI is consulting on removing Indonesia from its emerging market indexes, mainly because it doubts the country’s ownership and trading data. AI tools are good at reading and cross-checking large volumes of financial data, so they can help institutions track money flows and map who owns what. Their limit is the input. Any AI analysis of Indonesia is only as reliable as the country’s disclosure, and that disclosure is exactly what MSCI questions. Graph analysis, which maps owners and trading accounts as a connected network, could resolve much of the transparency problem if Indonesia’s regulators run it on the records only they hold. The clearest insight comes from tools that show their sources and name the evidence that would change their view.</em></blockquote><h3>What MSCI did to Indonesia this year</h3><p>On January 28, 2026, MSCI warned that it could move Indonesia from emerging market to frontier market status. The Jakarta Composite Index fell as much as 16.7% over the next two days, and more than $80 billion in market value disappeared within days.</p><p>Regulators moved fast. They promised to double the minimum free float for listed companies to 15%. Mahendra Siregar, who chaired OJK, the financial regulator, at the time, said corporate investors would be excluded from free float calculations, and that shareholdings above and below 5% would be published for each ownership category. Later, senior officials at the stock exchange and at OJK resigned on the same afternoon.</p><p>Other institutions followed MSCI’s lead. FTSE Russell, MSCI’s main rival, postponed its own March review of Indonesia, citing uncertainty over how to measure free float accurately. Moody’s cut its outlook on Indonesia’s credit rating in early February. Goldman Sachs downgraded Indonesian equities to underweight. By mid-February, about $120 billion had been wiped off the benchmark index.</p><p>MSCI kept up the pressure through the spring. In May it removed several companies from its indexes, most of them tied to tycoons. In June it extended its review to November and called Jakarta’s reforms a step in the right direction. In the same month it downgraded its assessment of Indonesia’s information flow, one of the criteria it uses to judge whether a market is accessible to foreign investors. By then the market had shrunk to about $601 billion, down from more than $900 billion in January.</p><p>There was some relief over the summer. FTSE Russell later decided to keep Indonesia in its secondary emerging market group and off its watchlist. OJK’s capital market chief, Hasan Fawzi, said the decision showed the reforms were heading in the right direction.</p><p>On October 15, MSCI opened a formal consultation on reclassifying Indonesia as a Standalone Market, skipping the Frontier tier entirely. MSCI said market participants felt a Frontier label would understate how deep the problems run.</p><p>On October 16, the Jakarta Composite fell 10.6% to 5,240, taking its loss for the year to 39%. Foreign investors sold a net Rp3.35 trillion of Indonesian stocks that day. The Indonesia Stock Exchange said it would ask MSCI for a formal explanation of its reasoning.</p><p>MSCI has said it expects to go ahead with the reclassification unless the consultation turns up clear evidence of better market governance. The consultation runs until April 2027, and a final decision is due by the end of June 2027. Meanwhile, MSCI’s freeze on index changes for Indonesian stocks stays in place.</p><h3>What Standalone status means for investors</h3><p>Index providers like MSCI sort the world’s stock markets into tiers. Developed markets sit at the top. Emerging markets come next, a group that includes China, India, South Korea and Malaysia. Frontier markets are smaller and harder to trade, and in Asia that group includes Bangladesh, Pakistan, Sri Lanka and Vietnam.</p><p>Standalone status sits outside all of these. MSCI uses it for markets that have suffered a serious decline in accessibility, size or liquidity. Argentina is the most recent example, and the group also includes Bulgaria, Nigeria and Russia. A Standalone market still has its own MSCI index, but its stocks drop out of the broad regional and global benchmarks.</p><p>This matters because of passive investing. Trillions of dollars sit in funds that copy MSCI indexes or measure themselves against them. When a country leaves the emerging market index, those funds have to sell. Many active managers sell too, because holding stocks outside their benchmark can break their investment mandates.</p><p>Estimates of the damage vary. Goldman Sachs put forced outflows from a Frontier downgrade at $7.8 billion, rising above $13 billion if FTSE Russell followed with its own reassessment. Some analysts floated far larger figures for a worst case. I could not find a published estimate for a direct move to Standalone, so any number you see for that scenario deserves a careful look at how it was built.</p><p>Investors also tend to sell early. Fund managers would rather exit gradually than be forced to sell into a thin market on the day a reclassification takes effect. That helps explain why Indonesian shares have fallen so far before any final decision exists.</p><h3>Why MSCI’s complaint is about data</h3><p>MSCI’s case rests on doubts about data: who really owns listed companies, how many shares actually trade, and whether trading activity is genuine. Each doubt concerns the reliability of Indonesia’s market information, separate from how well its companies perform.</p><p>Free float is the share of a company’s stock that is really available for public trading. Index providers use it to decide how much weight a stock gets. If a founding family owns 80% of a company directly, the free float is about 20%. Measuring free float gets harder when control runs through holding companies and affiliated investors. On paper those shares count as public. In practice, a small group may control them. Analysts call this shadow control, and it is common across Asian markets where family conglomerates dominate.</p><p>MSCI’s complaints are about this gap. It called the shareholder classification data from KSEI, Indonesia’s central securities depository, “not yet sufficiently reliable.” It flagged suspected coordinated trading, which means groups of accounts buying and selling together in ways that can move prices. In October it added a sharper charge: there was little evidence of meaningful enforcement. Earlier in the year, MSCI also cited thin English-language disclosure, which makes it harder for foreign investors to do their own checks.</p><p>Indonesia has responded on several fronts. OJK says it held 16 structured sessions with MSCI between February and October. The exchange doubled its free float rule and widened the disclosure thresholds for shareholders. OJK committed to publishing free float data every month. MSCI wants proof that these rules work across the whole market and keep working over time.</p><p>Reading thousands of ownership filings and matching names across holding structures is slow, repetitive work. AI tools handle that kind of work well. Human analysts and AI tools share one weakness, though. If they start from the data MSCI distrusts, their results carry the same flaw.</p><h3>How the crisis hits the rupiah and interest rates</h3><p>Indonesia’s equity crisis arrived on top of a difficult year for the wider economy. Oil prices stayed high, and Bank Indonesia cited the war in the Middle East as a drag on global conditions. Annual inflation jumped to 4.76% in February, its highest level since March 2023, before easing later in the year.</p><p>Bank Indonesia started 2026 with its benchmark rate at 4.75%, the lowest level since 2022. It held there through April. In May it began raising rates to defend the rupiah, and by June the rate had reached 5.75%. BI has held at that level for four straight meetings, July through October.</p><p>October was a small surprise. Most economists in one survey expected a hike to 6.00%. BI held the rate instead and boosted incentives for foreign investors to hedge currency risk onshore, using a tool called the domestic non-deliverable forward. The central bank says those incentives have drawn $9.9 billion in foreign inflows between June and October 20. Inflation was 3.28% in September, inside BI’s target range of 2.5% plus or minus 1%. On November 4 the rupiah traded around 18,130 per dollar. A year earlier it was around 16,700.</p><p>These numbers connect directly to the stock market. When foreign funds sell Indonesian shares, they convert rupiah into dollars and take the money home. That puts pressure on the currency. A weaker rupiah raises the cost of imports and dollar debt, which pushes BI to keep rates high. Higher rates then raise funding costs for banks and the businesses that borrow from them. MSCI’s decision affects each step.</p><p>A macro analyst at a bank tracks all of this: central bank statements, bond auctions, foreign flows, U.S. Federal Reserve commentary and commodity prices. Much of the source material is in Bahasa Indonesia, often in long PDF files. AI tools can read every BI statement from this year and flag where the wording shifted. They can pull daily foreign flow data into one table. They can also put scenarios next to each other. Suppose MSCI goes ahead: passive money leaves, the rupiah comes under pressure and BI may need to respond. Each step can be written out with its assumptions visible, so a human can argue with them.</p><p>The value here is speed and coverage. A scenario is only as good as its assumptions, and no model knows what MSCI will announce in June 2027. An AI tool that sounds confident about the outcome is guessing.</p><h3>Small-business lending is getting healthier</h3><p>BRI, Bank Rakyat Indonesia, is the country’s largest lender to small and micro businesses. Those borrowers account for about three quarters of its loans. BRI’s results for the first half of 2026 show credit quality improving. Its non-performing loan ratio fell to 2.9%, from 3.07% in 2025. Loan at risk, a broader stress measure, dropped to 9.1% from 9.6% in December. Cost of credit fell to 3.1% from 3.4% a year earlier. Total loans grew 16.2% from a year earlier to Rp1,646 trillion, and net profit rose 17.5% to Rp31.2 trillion.</p><p>One analyst report estimates that new bad micro loans fell from a peak of about Rp3.5 trillion a month in early 2025 to about Rp1.7 trillion a month in the second quarter of 2026. That figure comes from one firm, so it needs confirming before anyone relies on it.</p><p>Credit is growing elsewhere too. OJK set a target of 12% credit growth for 2026, with small businesses as a priority. Outstanding loans from peer-to-peer fintech lenders reached Rp105.14 trillion in June 2026, up 25.88% from a year earlier.</p><p>Regulators want AI to help small businesses borrow. OJK allows lenders to use what it calls Innovative Credit Scoring when they assess small and micro businesses. Juda Agung, a deputy governor at Bank Indonesia, has said AI can turn transaction records from QRIS, the national QR payment system, into alternative credit scores. This would help business owners with no formal credit history, who often can’t get bank loans.</p><p>Amartha, a peer-to-peer lender, shows where that approach runs short. Many of its borrowers are women running small businesses in rural villages, and many of them don’t use QRIS yet. Amartha built its AI scoring on more than 15 years of field data from over 50,000 villages. Borrowers who make few digital payments give a scoring model little to work with, and they are often the people who most need credit.</p><p>Oradian, a banking software company, says most AI pilots at Indonesian digital banks start with credit scoring, and that this is the hardest place to start. A credit model needs clean, labelled loan history covering at least two or three loan cycles. Many lenders don’t have that history yet.</p><p>Oradian also observes that many Indonesian digital banks are spending 2026 planning AI projects, with fewer of them running live pilots. For banks still at the planning stage, the first project choice matters. A pilot built on data the bank already trusts is easier to check and easier to defend to OJK.</p><p>The stock market is down 39% this year. Over the same period, BRI has reported better loan quality. Share prices have fallen on governance risk and the threat of index exclusion. BRI’s loan figures measure whether borrowers repay. An AI tool that keeps these two datasets separate can show which one is moving share prices. A single blended “sentiment score” would mix them together and lose that information.</p><h3>How Indonesian banks use AI today</h3><p>Banks in Indonesia have moved quickly. A study by PERBANAS, the Indonesian banks’ association, and IBM found AI adoption in Indonesian banking reached 57.9% in the first quarter of 2026. The figure was about 30% in 2024 and 42% in 2025.</p><p>Most of that use is internal or customer-facing. Banks use generative AI to search their own policies, product manuals and regulations from one place. Chatbots answer questions about balances, complaints and products. According to OJK’s Dian Ediana Rae, these handle about 35% to 40% of service interactions in some banks. Staff who use AI assistants have reportedly cut service time by more than 60%. Marketing teams use transaction behavior to personalize offers. Credit analysis appears further down the list.</p><p>OJK has set limits. It says AI should support a bank’s processes, and that final decisions such as credit approval need human verification. For fintech lenders, OJK has said AI use must be transparent and accountable. Dian has also pointed to the next shift: agentic AI, which can act on its own with less human input. Tools like that need closer human oversight.</p><p>Market research firms expect spending to keep rising. One forecast puts Indonesia’s AI-in-finance market at $2.5 billion in 2026, growing to $4.9 billion by 2031. Forecasts like this come from firms selling research, so treat the exact figure loosely. The direction matches what banks report.</p><p>Few banks describe using AI for market analysis, such as tracking ownership and capital flows together. The MSCI case is a good place to start, because the whole problem is about data.</p><h3>Four tests a bank or fund can run</h3><p>This section describes a method. Any team with public data and an AI assistant can run it.</p><ol><li><strong>Map the owners.</strong> Indonesia’s regulators committed to publishing shareholdings above and below 5% for each ownership category. Give those disclosures for a group of large stocks to an AI tool and ask it to group holders that look related, such as companies that share directors or a parent firm. Then ask it to estimate a “true” free float for each stock and compare that with the official figure. A good tool shows every match it made and marks the ones it isn’t sure about. If the tool returns a table without showing its matches, treat the result as unchecked.</li><li><strong>Track the language.</strong> Give the tool every MSCI, OJK and Bank Indonesia statement since January. Ask what changed in the wording, and when. For example, MSCI moved from calling reforms a step in the right direction in June to calling Indonesia’s emerging market status no longer appropriate in October. Check every answer against the actual dates. This is quick to verify, and it shows how carefully the tool reads.</li><li><strong>Write a two-lens memo.</strong> Give the tool the macro data and the bank results in this article, and ask for one page that separates what the data shows from what the tool infers. Trace every number back to its source. If even one figure can’t be traced, the memo fails.</li><li><strong>Ask it to argue the other side.</strong> Once the memo is done, ask the tool for the strongest case against its own conclusion. If it can only produce a weak counterargument, its first answer probably leaned on tone more than evidence.</li></ol><p>Run the same exercises twice, a week apart, with the same inputs. If the answers change in substance, the tool’s analysis is unstable, and that is worth knowing before anyone relies on it.</p><p>Keep a short record of each test. Write down the files you gave the tool, the exact prompt, the answer and which parts held up when you checked them. After a few rounds, the record shows where a tool is reliable on Indonesian market data and where your team still needs to do the work by hand. It also gives risk and compliance teams something concrete to review.</p><h3>The limits of AI on this problem</h3><p>The first limit is hidden ownership. When shares are held through nominee accounts or offshore companies, no public filing names the real owner. An AI tool will match the names it can see and miss the ones it can’t. Worse, it may report a clean result, because the hidden link never appears in its data.</p><p>The second limit is access. Detecting coordinated trading properly needs account-level records showing who traded with whom, and when. Exchanges and regulators hold that data, and it stays with them. Public users and chatbots work without it. An AI tool reading public price and volume data can spot unusual moves. Linking those moves to a group of accounts requires data it will never see.</p><p>The third limit is tone. Language models write fluent, confident prose whether the inputs are good or bad. A smooth paragraph about Indonesian free float can rest on numbers nobody checked. Each number still needs checking against its source.</p><p>The fourth limit is language and timing. Many primary sources on this story are in Bahasa Indonesia, and some secondary sites publish automated translations. A small translation error in a regulator’s statement can change its meaning. AI tools also have training cutoffs. A model that hasn’t been given October’s announcement may still describe the risk as a Frontier downgrade.</p><p>Indonesia’s regulator has drawn a line here too. Aprilia Ratna Palupi of OJK has said a bank cannot let AI decide whether a customer qualifies for credit without further review. Final decisions need human verification and professional oversight.</p><p>MSCI is asking for evidence of enforcement, such as cases investigated and penalties applied. AI tools can flag patterns worth investigating. Acting on them takes an institution with legal power.</p><h3>How graph AI could fix much of the transparency problem</h3><p>The limits above apply to anyone working from public data. The people who hold the full records are in a different position. OJK, the Indonesia Stock Exchange and KSEI can see account-level trades and shareholder registers. If they joined those records together and analyzed them as a graph, they could answer most of MSCI’s questions with evidence.</p><h3>What a graph is</h3><p>A graph is a way of storing data as dots and lines. Each dot, called a node, is a person, a company or a trading account. Each line, called an edge, is a relationship: owns 60% of, shares a director with, traded with on March 3. A graph stores the connections between records directly, so a question like “who ultimately controls this stake?” becomes a matter of following lines from one dot to the next.</p><p>That matters for free float, because hidden control is a chain problem. A single filing shows one link. Control usually runs through several.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P2isHqd6kHkL9-JM0a_ZwQ.png" /><figcaption><em>Figure 1. An illustrative example with made-up companies. Three investors each hold less than 5%, so the official count treats their shares as public. Joining director lists, company addresses and beneficial ownership records links all three to the controlling family, and the free float drops from 40% to 27%.</em></figcaption></figure><p>The figure shows the mechanism. Each small stake looks independent in the shareholder register. The graph adds links from other records, and the pattern becomes visible. An AI model running over a graph can do this across every listed company at once, and it can flag the cases that need a human investigator.</p><h3>Graphs have already exposed hidden ownership</h3><p>The best-known example is the Panama Papers. The International Consortium of Investigative Journalists worked through 2.9 terabytes of data in 11.9 million records. It loaded the people, companies and addresses into Neo4j, a graph database, and used a visual tool called Linkurious to explore them. The ICIJ said the graph helped its reporters find connections between activities and entities that they would otherwise have missed. The investigation won a Pulitzer Prize.</p><p>Open Ownership, a nonprofit that works with governments on ownership registers, built the Beneficial Ownership Data Standard so that registers from different countries can be joined. Its graph tool can follow ownership chains across borders. Open Ownership is also clear about the condition: the data has to be published in a standard, machine-readable format for the approach to work.</p><p>Researchers have applied the same idea to trading. A 2011 study built trading networks from the full transaction records of more than 100 stocks over a year. It found that manipulated stocks had denser networks, with each account trading with more counterparties on average. In December 2025, researchers at the University of Oxford published a method that links company insiders whose trades are unusually well-timed with each other. It flags pairs and clusters of insiders for review, and it works without needing past examples of proven cases to learn from.</p><h3>Indonesia already has many of the pieces</h3><p>Indonesia has run a beneficial ownership regime since 2018. Presidential Regulation 13/2018 requires companies to name the individuals who ultimately own or control them, and to report changes through the Ministry of Law’s AHU Online system. Coverage is incomplete. A Ministry of Law presentation reported that about 1.13 million companies, around 40% of the total, had submitted beneficial ownership data by May 2024. Legal researchers have also found companies naming another company as their beneficial owner, which the rules do not allow.</p><p>OJK already uses machine learning on trades. Its market surveillance has run in real time since 2015. With more than 2.3 million trades a day, OJK says manual monitoring is no longer adequate. It now uses big data analytics with machine learning to spot suspicious patterns. It has also started using generative AI to review annual reports. In February 2026, Luhut Binsar Pandjaitan, who chairs the National Economic Council, urged OJK and the exchange to adopt AI in market surveillance. The exchange is preparing a new trading and surveillance system based on Nasdaq technology, with launch targeted for December 2026.</p><h3>Three graphs worth building</h3><p>The first is an ownership graph. It would join KSEI’s shareholder records, the AHU beneficial ownership register, company filings and director lists. For every listed stock, it would trace each holding back to a natural person and recalculate free float on that basis. The result is the number MSCI keeps asking for.</p><p>The second is a trading graph. Every account becomes a node, and every trade between two accounts becomes an edge, stamped with time and size. Clusters of accounts that mostly trade with each other, or that buy and sell in tight sync, stand out. Those are the patterns MSCI describes as suspected coordinated trading.</p><p>The third step joins the two. If a cluster of accounts in the trading graph leads back to one family group in the ownership graph, a regulator has a specific lead with names and dates attached.</p><h3>What it would take</h3><p>A project like this depends on decisions people have to make. KSEI, the exchange, OJK and the Ministry of Law would need to share data under clear legal rules. Personal data protection applies, because beneficial owners are individuals. Indonesian names add a technical problem too: many people use one name, spellings vary, and a matching model will make mistakes. Every link the graph suggests needs a confidence score and a human review before it becomes evidence.</p><p>Enforcement still has to follow. OJK reported fines of Rp85.04 billion against 97 parties by May 2026. A graph can make cases faster to build and easier to prove. The penalties remain OJK’s job.</p><p>Indonesia could also publish part of the output. Free float figures recalculated from the ownership graph, released for every stock each month, would give MSCI and foreign investors something concrete to test. Building all this would take time and legal work. Once it runs, Indonesia could answer the transparency question with data of its own before the consultation closes in April 2027.</p><h3>Four checks for any AI market insight</h3><p>The first check is the source. Ask which filings, data series or statements the AI read. If it can’t say, the insight has no foundation.</p><p>The second is whether the source is part of the problem. In Indonesia, ownership data is the exact thing under dispute. An analysis built on that data needs to say so in plain words, near the top.</p><p>The third is traceability. Every figure should lead back to a document you can open. One untraceable number is reason enough to distrust the rest.</p><p>The fourth is what would change the view. A clear perspective names the evidence that would prove it wrong, such as new enforcement cases or better KSEI data. If an insight names no such evidence, it can’t be tested.</p><p>These checks work for human research too. A broker note that fails them deserves the same doubt as a chatbot answer. AI makes the checks more urgent because it produces analysis faster and in larger volumes than any team can read.</p><p>MSCI publishes its index review on November 11. The freeze on Indonesian index changes stays in place whatever that review says, and the decision on Standalone status is still months away. On that day the question to ask an AI tool is narrow: what has changed in the data since October 15, and where can you show me?</p><h3>Sources</h3><ul><li><a href="https://www.msci.com/downloads/documents/press-releases/media-room/Indonesia_PR_Oct_26.pdf">MSCI: Consultation on reclassifying Indonesia to Standalone Market (Oct 2026)</a></li><li><a href="https://www.nst.com.my/amp/business/corporate/2026/10/1556569/msci-set-remove-indonesia-global-indices">Reuters via NST: MSCI set to remove Indonesia from global indices</a></li><li><a href="https://www.nst.com.my/amp/business/corporate/2026/06/1471218/msci-extends-indonesia-review-november-flags-downgrade-risk">Reuters via NST: MSCI extends Indonesia review to November</a></li><li><a href="https://investortrust.id/market/119472/msci-threatens-rare-standalone-demotion-as-idx-governance-woes-deepen">Investortrust: MSCI threatens rare Standalone demotion</a></li><li><a href="https://www.ocbc.id/en/article/2026/10/16/msci-usulkan-indonesia-turun-ke-standalone-market">OCBC: MSCI Usulkan Indonesia Turun ke Standalone Market</a></li><li><a href="https://www.thejakartapost.com/business/2026/01/30/what-is-msci-and-what-has-it-done-to-indonesias-stock-market">The Jakarta Post: What is MSCI and what has it done to Indonesia’s stock market</a></li><li><a href="https://www.thejakartapost.com/business/2026/02/10/ftse-russell-postpones-indonesia-index-review">The Jakarta Post: FTSE Russell postpones Indonesia index review</a></li><li><a href="https://jakartaglobe.id/business/indonesia-braces-for-msci-review-in-november">Jakarta Globe: Indonesia braces for MSCI review in November</a></li><li><a href="https://cryptobriefing.com/indonesia-emerging-market-status-msci-downgrade/">Crypto Briefing: Indonesia risks losing emerging market status</a></li><li><a href="https://pro.thestreet.com/market-commentary/indonesia-stocks-tank-as-frontier-market-threat-looms">TheStreet Pro: Indonesia stocks tank as frontier market threat looms</a></li><li><a href="https://fintool.com/news/indonesia-msci-market-crisis">Fintool: Indonesia MSCI market crisis</a></li><li><a href="https://finimize.com/content/msci-put-indonesias-market-status-decision-off-until-november">Finimize: MSCI put Indonesia’s market status decision off until November</a></li><li><a href="https://www.devdiscourse.com/article/business/3937171-msci-downgrades-indonesias-information-flow-criterion-on-transparency-concerns">Devdiscourse: MSCI downgrades Indonesia’s information flow criterion</a></li><li><a href="https://business-indonesia.org/news/msci-extends-indonesia-review-to-november-keeps-emerging-market-status-for-now">Business Indonesia: MSCI extends review, keeps EM status for now</a></li><li><a href="https://www.businesstoday.in/markets/stocks/story/indonesia-stocks-jakarta-composite-plunges-10-as-msci-reviews-emerging-market-status-561947-2026-10-16">Business Today: Jakarta Composite plunges 11%</a></li><li><a href="https://www.kotakneo.com/news/global-markets/indonesia-stock-market-plunge-and-msci-review/">Kotak Neo: Jakarta Composite down 39% in 2026</a></li><li><a href="https://bernama.com/tv/news.php?id=2624128">Bernama: OJK on its sessions with MSCI</a></li><li><a href="https://www.gulfbase.com/news/indonesian-authorities-attempt-to-soothe-worries-after-80-billion-market-rout/215123">Gulfbase/Reuters: Indonesian authorities respond to the January rout</a></li><li><a href="https://pusatdata.kontan.co.id/infografik/284/BI-Rate-Oktober-2026-Tetap-di-Angka-575">Kontan: BI Rate October 2026 held at 5.75%</a></li><li><a href="https://finansial.bisnis.com/read/20261021/11/2014506/bi-rate-ditahan-575-pada-oktober-intip-historis-lengkapnya-sepanjang-2026">Bisnis.com: BI Rate history through 2026</a></li><li><a href="https://finansial.bisnis.com/read/20261021/11/2014413/breaking-bank-indonesia-tahan-bi-rate-575-pada-rdg-oktober-2026">Bisnis.com: BI holds rate, economists expected a hike</a></li><li><a href="https://www.kenanga.com.my/wp-content/uploads/2026/06/EV_ID_Bank-Indonesia_BOG7_260619-Kenanga.pdf">Kenanga: Bank Indonesia rate decision, June 2026</a></li><li><a href="https://tradingeconomics.com/indonesia/interest-rate/news/503214">Trading Economics: Indonesia interest rate news</a></li><li><a href="https://tradingeconomics.com/indonesia/currency/news/597937">Trading Economics: Rupiah near IDR 18,130</a></li><li><a href="https://pasardana.id/news/2026/3/17/ada-perang-dan-rupiah-melemah-bi-rate-tetap-4-75-persen">Pasardana: BI holds rate amid Middle East conflict</a></li><li><a href="https://infobanknews.com/bri-cetak-laba-bersih-rp312-triliun-di-semester-i-2026-tumbuh-175-persen">Infobank: BRI first-half 2026 results</a></li><li><a href="https://katadata.co.id/amp/finansial/keuangan/6a9a2797c5fa2/kredit-tumbuh-di-atas-industri-bri-tetap-pegang-prinsip-kehati-hatian">Katadata: BRI credit quality in Q2 2026</a></li><li><a href="https://www.receh.in/2026/09/prospek-saham-bbri-2027-kredit-mikro.html">Receh.in: Analyst view on BRI micro asset quality</a></li><li><a href="https://www.kabarbursa.com/makro/jurus-ojk-capai-target-pertumbuhan-kredit-12-persen-pada-2026">KabarBursa: OJK targets 12% credit growth in 2026</a></li><li><a href="https://keuangan.kontan.co.id/news/ojk-nilai-implementasi-ai-dapat-berdampak-positif-bagi-industri-fintech-lending">Kontan: OJK on AI in fintech lending</a></li><li><a href="https://www.idxchannel.com/banking/permudah-akses-pembiayaan-ojk-bakal-rilis-sistem-skor-kredit-untuk-umkm/all">IDX Channel: OJK’s Innovative Credit Scoring for UMKM</a></li><li><a href="https://finansial.bisnis.com/read/20251101/90/1925252/bi-ungkap-jejak-digital-qris-bisa-jadi-dasar-penilaian-kelayakan-kredit/1">Bisnis.com: BI on QRIS data for credit scoring</a></li><li><a href="https://keuangan.kontan.co.id/news/sesuaikan-karakteristik-borrower-amartha-terapkan-sistem-credit-scoring-berbasis-ai">Kontan: Amartha’s AI credit scoring</a></li><li><a href="https://oradian.com/insights/public/digital-banking-technology-indonesia-platform">Oradian: From AI idea to live pilot in 90 days</a></li><li><a href="https://katadata.co.id/finansial/keuangan/6a42802233c09/adopsi-ai-di-perbankan-tembus-57-dipakai-untuk-layanan-hingga-analisis-kredit">Katadata: AI adoption in Indonesian banking reaches 57%</a></li><li><a href="https://www.researchandmarkets.com/reports/6232650/indonesia-ai-in-finance-market-strategic">Research and Markets: Indonesia AI in finance market forecast</a></li><li><a href="https://neo4j.com/?p=348190">Neo4j: ICIJ and the Panama Papers</a></li><li><a href="https://neo4j.com/?p=72283">Neo4j: ICIJ uses graph platform for the Paradise Papers</a></li><li><a href="https://www.openownership.org/news/graph-visualisation-is-providing-insights-for-policy-makers-and-implementers/">Open Ownership: Graph visualisation for policy-makers</a></li><li><a href="https://standard.openownership.org/en/0.2.0/about">Open Ownership: Beneficial Ownership Data Standard</a></li><li><a href="https://www.emergentmind.com/papers/1110.2260">Distinguishing manipulated stocks via trading network analysis (2011)</a></li><li><a href="https://arxiv.org/abs/2512.18918">Jaeger, Yeung and Lambiotte: Using forensic network science to uncover insider trading (2025)</a></li><li><a href="https://bplawyers.co.id/?p=10511">Bplawyers: Beneficial owner reporting duties in Indonesia</a></li><li><a href="https://docs.google.com/presentation/d/1z2ahxscF3CWSk7vZxTWD0C7orierLPx5/htmlpresent">Ministry of Law presentation: Beneficial ownership database progress</a></li><li><a href="https://ejournal.undip.ac.id/index.php/notarius/article/view/37779/0">Universitas Diponegoro: Study on beneficial owner designation</a></li><li><a href="https://www.hukumonline.com/berita/a/aturan-i-beneficial-ownership-i-bersinggungan-dengan-data-pribadi-lt5c9c23619aa0b/">Hukumonline: Beneficial ownership rules and personal data</a></li><li><a href="https://investortrust.id/market/87583/ojk-gunakan-big-data-analitik-untuk-perkuat-pengawasan-transaksi-di-pasar-modal">Investortrust: OJK uses big data analytics for market surveillance</a></li><li><a href="https://investortrust.id/market/87687/menuju-ekosistem-pasar-modal-yang-stabil-ojk-mantapkan-suptech-dan-standar-keberlanjutan">Investortrust: OJK strengthens SupTech</a></li><li><a href="https://ekonomi.bisnis.com/read/20260202/9/1949143/luhut-sarankan-ojk-bei-pakai-ai-untuk-endus-saham-gorengan">Bisnis.com: Luhut urges OJK and IDX to use AI</a></li><li><a href="https://wartaekonomi.co.id/read595343/bei-siapkan-sistem-perdagangan-baru-ala-nasdaq-target-meluncur-desember-2026">Warta Ekonomi: IDX prepares Nasdaq-based trading system</a></li><li><a href="https://infobanknews.com/ojk-sebut-pasar-modal-tetap-tahan-banting-meski-ihsg-turun-2914-persen?page=2">Infobank: OJK sanctions through May 2026</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db52b26c5547" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ethics of Reverse Engineering When AI Can Clone Any App]]></title>
            <link>https://dzeaulfath.medium.com/the-ethics-of-reverse-engineering-when-ai-can-clone-any-app-0ba59639da43?source=rss-2e24326f83d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ba59639da43</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Dzeaulfath]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 02:56:26 GMT</pubDate>
            <atom:updated>2026-10-25T02:56:26.799Z</atom:updated>
            <content:encoded><![CDATA[<p><em>AI has turned taking software apart into a weekend hobby. The ethics have not caught up, especially around who gets paid and who gets the credit.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wOQzLPiUcFkg68X9" /><figcaption>Photo by <a href="https://unsplash.com/@dsxst?utm_source=medium&amp;utm_medium=referral">DSXST</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Reverse engineering means studying finished software to learn how it works. Courts in the US and EU protect parts of it, mainly for compatibility and security research. The ethical problems start when someone cracks a paid product, gives it away and claims the work as their own. AI tools that went viral in October 2026 made copying fast and cheap, so a software idea now gets a much shorter head start than before. Whether a project is fair usually comes down to whose money it takes and whose name goes on it.</p><ul><li>In October 2026, an open-source tool called REA went viral by letting AI agents study apps without their source code and rebuild their features. Free AI-built alternatives to Adobe’s apps appeared the same month.</li><li>Reverse engineering is often legal. US and EU law protect it when the goal is compatibility or good-faith security research.</li><li>It crosses the line when someone removes a paid product’s payment check and gives the original away. A crack in a game’s first week can cut its total revenue by about 20 percent.</li><li>False credit is a separate harm. It hides the original creators, and in 2026 it often hides the AI that did most of the work.</li><li>Copyright never protected software ideas. The cost of building a copy did, and AI has cut that cost sharply.</li><li>The other side has fair points about bad service and the right to repair devices people own. Evidence on how much piracy hurts sales is also mixed.</li><li>Small developers and open-source maintainers carry most of the harm, while large companies have lawyers and loyal customers to fall back on.</li><li>Creators now do best by keeping their main value off the user’s device and by paying people who find flaws.</li></ul><h3>What is happening with reverse engineering right now?</h3><p>Reverse engineering used to be slow work for specialists. You had to read assembly code and understand compilers. Figuring out a single feature could take weeks. In October 2026, most of that barrier fell away.</p><p>The clearest sign is REA. The repository was created in April 2026 and got little attention until early October. It then held the top spot on GitHub Trending for five of the seven days between October 6 and 12. By October 20, it had more than 342,000 stars. You connect it to an AI coding agent and point the agent at an app. The agent inspects the program without its source code, explains how a feature works and builds its own version for your project. Perplexity added it to its Computer agent as a /reverse-engineer command.</p><p>AI-built clones arrived at the same time. Brandon Thomas, a software engineer with 15 years in the industry, released ArtCraft. It is a set of seven free, open-source apps modeled on Adobe products such as Photoshop and Premiere. Thomas said he used Anthropic’s Claude Opus 5.5 to help write them in Rust. He named Adobe’s cancellation fees as his main reason. Office software got similar treatment. Gaël Duval, who created Mandrake Linux, launched ElixirOffice, a Microsoft Office look-alike written by AI agents.</p><p>People also turned these tools on hardware they owned. Smart TV owners used AI agents to remove ads and preinstalled apps. One user on X said he gave Claude Code the model number of his parents’ TV. The agent found the set on the home network, removed 25 manufacturer packages and wrote a new home screen. 404 Media reported that the post was viewed more than 6 million times. Others revived smart mirrors after their maker stopped supporting them.</p><p>Some uses were less friendly. A guitar pedal maker claimed on Hacker News that he had “ONE-SHOT decompiled 3 of my main competitors products” in 72 hours. He added that he could in theory package and resell them.</p><p>One community decided to stop. On October 15, decomp.dev announced it was shutting down. The site served people who rebuild the source code of video games by hand. Its pseudonymous admin, Encounter, said this work once took years for a mid-sized game with many contributors. AI now does much of it, and the site could no longer tell which projects were led by humans. The admin wrote that “the community aspect of decompilation has been broken.”</p><p>The TV owner and the pedal maker used almost the same method. One removed ads from a set his family paid for. The other talked about reselling a rival’s product. Most of this article is about the gap between those two cases.</p><h3>Is reverse engineering legal and ethical in the first place?</h3><p>Treating all reverse engineering as theft would get most of this field wrong. The practice has a long legal record.</p><p>The key US case is <em>Sega v. Accolade</em>. In the early 1990s, Accolade wanted to sell games for the Sega Genesis without buying Sega’s license. It bought a console and three game cartridges. Its engineers took the code apart to learn how games talked to the hardware, then wrote their own games. Sega sued. In October 1992, the Ninth Circuit ruled for Accolade. Taking the code apart was fair use because it was the only way to reach the program’s functional parts, which copyright does not protect. The court also said Accolade had become a legitimate competitor in compatible games. Copyright does not shield a company from that kind of competition.</p><p>European law says something similar. Under the EU Software Directive (2009/24/EC), anyone with a right to use a program may study and test how it runs to learn the ideas behind it. Article 6 allows decompilation without permission, with strict limits. It must be necessary to make an independently created program work with other programs. It must cover only the parts needed. The information cannot be used for other purposes or passed on without need. It also cannot be used to build a program substantially similar in expression. Contract terms that try to remove these rights are void.</p><p>Security researchers have their own exception. Every three years, the US Copyright Office reviews exemptions to the DMCA’s ban on breaking digital locks. In 2015 it allowed security research on certain devices. Later reviews widened this to good-faith security research in general, and the Justice Department’s computer crime section wrote in support.</p><p>Industry also developed a method called clean-room design. One team studies a product and writes a description of its behavior. A second team, which has never seen the original code, builds a new product from that description. In the 1980s, this approach let Compaq and other PC makers rebuild the IBM PC’s BIOS without copying it.</p><p>A 2021 story shows reverse engineering at its best. A player called t0st was tired of waiting six minutes for GTA Online to load. He traced the delay to the game reading a 10 MB data file in a slow, wasteful way. His published fix cut load times by up to 70 percent. Rockstar confirmed the problem and shipped an official patch. It thanked him by name in the patch notes and paid him $10,000 through its bug bounty program, as an exception to its usual rules. He worked in the open and reported to the owner. He also got the credit.</p><h3>Where reverse engineering crosses the line</h3><p>Each protection in the last section assumes something new comes out of the work. Accolade wrote its own games. The EU directive protects an <em>independently created</em> program. The DMCA exemption covers <em>good-faith</em> research. Clean-room design produces fresh code.</p><p>A crack produces the original product with the payment step removed. The cracker may have real skill. But the file being shared is someone else’s finished work, and the user gains nothing beyond the missing price.</p><p>The cost to developers can be measured, and it falls hardest in the weeks after launch. William Volckmann II, an economist at the University of North Carolina, studied 86 Steam games protected by the Denuvo anti-tamper system. They were released between September 2014 and the end of 2022. Games cracked in their first week earned about 20 percent less total revenue than they would have with protection intact. A crack in week six cost about 5 percent. After 12 weeks the loss was close to zero, because most sales had already happened. Cracking groups compete to break new releases first. That race lands on the period when a game earns most of its money.</p><p>Cracking a copy for yourself is different from cracking it for others. Suppose you remove a launcher check from a game you bought so it runs on an offline laptop. Nobody loses a sale. Uploading a cracked build with your handle on the splash screen is another matter. You are distributing someone else’s product for free. Many countries’ laws treat both acts as breaking a digital lock. Ethically, they are far apart.</p><p>AI clones sit in a newer gray area. ArtCraft does not hand out Adobe’s code. It calls its apps clean-room reimplementations and uses no Adobe trademarks. That places it closer to Accolade than to a cracking group. Clean-room design, though, relied on keeping two teams apart. When one AI agent reads the original program and then writes the replacement, nobody is kept apart. Lawyers have only started arguing about whether that still counts as a clean room.</p><h3>Why does claiming credit make it worse?</h3><p>Software careers run on credit. Job offers and funding often follow from who people believe built something. Unearned credit rewrites that record, and the damage can outlast any lost sale.</p><p>The problem predates AI. In 2014, Asher Vollmer and Greg Wohlwend released Threes, a sliding number puzzle they had worked on for about 14 months. A clone called 1024 appeared roughly 21 days later. Then came 2048, a free web game based on that clone, which became a global hit. Lost sales hurt. What stung more was people calling Threes the copy of 2048. Vollmer wrote that small games like theirs risk being “lost in the underbrush of copycats.”</p><p>The developer of the web version of 2048 later named Threes as the inspiration. A mobile publisher selling its own 2048 did not, and Wohlwend called that unethical. Both games used the same mechanic. The two makers handled credit in opposite ways, and people remember them differently because of it.</p><p>AI adds more people to the credit chain. Behind an AI-built clone are the original company’s designers, who decided what the product should do. The people who built the AI model and its tooling did part of the work too. The person typing the prompt is the last link. Viral posts usually mention only that person.</p><p>Credit is getting confused between tools as well. A tech podcast reviewing the REA hype found that several widely shared demos credited to REA had not used it. The ArtCraft clones were among them. 404 Media warned that open-source and reverse-engineering communities would fill up with people bringing AI-generated projects and presenting them as their own. Many of those people may not understand the code they submit.</p><p>Some projects handle credit well. ArtCraft openly says it used Claude and describes its apps as alternatives to Adobe’s. You can dislike the project and still see that its disclosure is honest. A cracker who signs a release is at least claiming work they did. Someone who says they built a Photoshop rival in a weekend, without mentioning the AI or Adobe’s decades of design, claims far more than they did. That second kind of post misleads the most.</p><h3>Why are ideas more fragile in the AI era?</h3><p>US copyright law does not protect ideas or methods of operation. It protects specific expression, such as the actual code. Patents can protect inventions, but they are slow and expensive to get, and most small developers never file one. In practice, the main barrier to copying a software idea was effort. A copycat had to hire people and spend months building.</p><p>That barrier has been shrinking for years. This year it dropped sharply. In 2014, Threes had about three weeks before its first clone appeared. In October 2026, the guitar pedal maker described copying three competitors’ products in three days. A finance enthusiast said he built a Bloomberg Terminal look-alike in one afternoon. One of Perplexity’s REA demos cloned LibreOffice Calc. LibreOffice is already open source, so readers had a good laugh at that one.</p><p>The ideas most at risk have changed too. A clever menu design used to be hard to copy, and so did a carefully tuned effect inside a guitar pedal. Both were buried in compiled code that took expertise to read. An AI agent can now read anything that ships to a user’s device.</p><p>Mike Nolan studies the politics of open-source software. He told 404 Media that software engineers keep telling him subscription software is dying as a business, because rebuilding its features has become easy. He also noted that maintaining software takes a large amount of ongoing work. He doubted many companies would adopt these clones. Early quality supports his doubt. ArtCraft’s own roadmap rated its video editor at about 50 to 60 percent ready for professional use. 404 Media also found that many AI decompilations do not match the original code and contain bugs their makers cannot explain.</p><p>Copying the first version of a product is now cheap. Copying years of maintenance and customer trust is still slow, because that part of the value never ships in a download.</p><h3>The strongest case for the other side</h3><p>A balanced view has to take these arguments seriously. Several are strong.</p><p><strong>Piracy often follows bad service.</strong> In 2011, Valve co-founder Gabe Newell said, “Piracy is not a pricing issue. It’s a service issue.” His example was Russia, a market many publishers had written off because of piracy. Newell said that once Valve released games on time with proper Russian translations, Russia became Steam’s largest market in continental Europe after Germany. When a pirate offers a game right away in your language, and the official seller offers it months late or never, the pirate offers the better service.</p><p><strong>The evidence on harm is mixed.</strong> The European Commission hired the research firm Ecorys to survey about 30,000 internet users in six EU countries, using 2014 data. The study found no robust statistical evidence that piracy displaced sales of music, books or games. For games, it found a slightly positive effect. The Commission did not publish the study until 2017, after then-MEP Julia Reda filed a freedom of information request. The Denuvo study points the other way, with its 20 percent loss for games cracked at launch. Both findings can hold at once. Piracy at launch hurts. Averaged across all games and years, the effect looks much smaller.</p><p><strong>Owners want control of what they bought.</strong> Some TVs force a sponsored ad on screen before you can reach Netflix. Some companies shut down gadgets when they lose interest in them. Using AI to remove those ads or revive a dead device looks more like repair than piracy. Adobe’s subscriptions attract similar sympathy. ArtCraft launched shortly after Adobe settled a $150 million federal lawsuit that accused it of trapping customers in subscriptions that were hard to cancel.</p><p><strong>Preservation has value.</strong> Fans spent years turning Super Mario 64 back into readable C code. In 2020, that work produced a PC version with 4K and widescreen support. Nintendo sent copyright takedowns, partly because the port included the game’s original code and assets. Observers also noted that Nintendo had its own re-release planned. The project had real cultural value. It also handed out files that belonged to Nintendo.</p><p><strong>Taking software apart is how many engineers learn.</strong> Security researchers and game modders often learned their craft by studying programs they did not write.</p><p>These arguments work best when they stay specific. Poor service explains why people pirate. It gives nobody the right to share a product or claim it. Unfair regional prices support a call for regional pricing. They offer weak support for a public crack with the cracker’s name on it. And a small average effect across the whole market tells you little about a two-person studio that depends on one game.</p><h3>Who gets hurt?</h3><p>In 2013, brothers Patrick and Daniel Klug of Greenheart Games released Game Dev Tycoon, a $7.99 game about running a game studio. On launch day, they uploaded their own cracked version to torrent sites. It played normally for a few hours. Then the player’s virtual studio began losing money to piracy of its own games, until it went bankrupt. Real pirates posted on forums complaining that piracy was ruining their in-game company.</p><p>The numbers were less funny. On the first day, the studio counted 3,104 pirated copies and 214 paid ones. About 93.6 percent of active copies turned out to be pirated, and Patrick Klug said he had not yet drawn a salary from the game. Critics pointed out that the game was hard to buy legally at launch, which likely pushed the pirated share up. With that caveat in mind, the people paying the price were still two brothers.</p><p>The companies at the center of the 2026 clone wave are in a different position. Adobe holds thousands of patents. Its business customers depend on precise color handling and plugin support that early clones cannot yet match. Microsoft has similar advantages. Both will feel pressure, and both can defend themselves.</p><p>Smaller companies have less room. 404 Media predicted that some small software and hardware firms would be killed by rivals who used AI to copy their products and sell them for less. The guitar pedal story fits that pattern. The market is small and only a few companies compete in it. Each one’s signature sound used to be safe inside its firmware.</p><p>Communities lose something as well. decomp.dev was built on years of patient teamwork among volunteers, and AI made that teamwork unnecessary. Open-source maintainers now have to review a growing stream of AI-written contributions, usually unpaid.</p><p>Users carry risk too. Within days of REA going viral, fake copies of the repository appeared that delivered malware. Guides began warning people to install it only from the official source. Cracked software has always carried this risk. A crack or a vibe-coded clone from an unknown uploader runs with your permissions on your computer, and you usually cannot check what it does.</p><h3>So is everything fair game now? Banking apps, Bloomberg and the Pentagon</h3><p>The crazy idea goes like this. AI can reverse engineer any app, so surely the big targets are next. Let’s check three of them.</p><p><strong>Your banking app.</strong> Say you get an AI agent to pull your bank’s app apart completely. Congratulations. You now know where every button is. The app on your phone only sends requests. The money sits on the bank’s servers, which check who you are every time. Taking apart the app to get rich is like unscrewing an ATM’s keypad and expecting cash to come with it. Accessing those servers without permission is also a crime in most countries. In the US, the Supreme Court’s 2021 decision in <em>Van Buren v. United States</em> confirmed that the Computer Fraud and Abuse Act covers entering parts of a computer system that are off limits to you. A bank’s vault, digital or not, is about as off limits as it gets.</p><p><strong>The Bloomberg Terminal.</strong> Someone has already tried this one. This year, a finance enthusiast claimed he built a clone of the roughly $30,000-a-year Terminal in one afternoon with Perplexity’s Computer agent. The demo video looked convincing. Then commenters noticed the data came from Perplexity Finance. Bloomberg customers pay for real-time data from thousands of financial sources. Open-source projects such as OpenBB and Fincept Terminal also offer Bloomberg-style tools for free, and none of them come with Bloomberg’s data. A weekend clone gets you the famous amber-on-black screens. Think of it as a Halloween costume of a Bloomberg Terminal. The data stays with Bloomberg.</p><p><strong>The Pentagon.</strong> The Pentagon beat everyone to it. In 2016, the US Department of Defense ran Hack the Pentagon with the platform HackerOne. It was the first bug bounty program in the history of the federal government. More than 1,400 hackers registered, and over 250 submitted reports. The department confirmed 138 legitimate, unique vulnerabilities. The first report came in 13 minutes after launch. One participant was an 18-year-old finishing high school. The pilot cost $150,000, and about half went to the hackers. By 2018, the wider program had fixed more than 3,000 vulnerabilities.</p><p>There was one catch. The pilot covered only public websites, and mission-critical systems were kept out. So the only legal way to hack the Pentagon is to fill in a registration form. Then you get the public website.</p><p>The joke points to something real. The most valuable systems keep their value away from anything you can download. Banks hold money on their servers, and Bloomberg keeps its data on its own network. AI has made the downloadable parts easy to copy. Small creators often keep their whole business in exactly those parts.</p><h3>A practical ethics test before you share a crack or a clone</h3><p>Laws differ by country and change slowly. A personal test is easier to apply anywhere.</p><ol><li><strong>Check your right to use the copy.</strong> Studying software you bought or licensed is on solid ground in most places. Starting from a leaked or pirated copy puts you in the wrong from the first step.</li><li><strong>Name your real purpose.</strong> Compatibility work and security research have legal protection in many countries. Handing people the original so they never pay has none.</li><li><strong>Count who loses money.</strong> A company that no longer sells a product loses little. A small developer in the first weeks after launch can lose a fifth of their revenue.</li><li><strong>Decide whether you are sharing the original or something new.</strong> Writing your own code that works with someone’s system is a different act from sharing their files with the lock removed.</li><li><strong>Write an honest credit line.</strong> Name the original creators and the tools you used, including AI. If accurate credit makes your post less impressive, post the accurate version.</li><li><strong>Imagine the creator reading your post.</strong> If you would send it to the person who made the original, you are probably fine. If you would hide it from them, take that as a warning.</li></ol><p>Apply the test to this month’s cases. The man who cleaned up his parents’ TV passes nearly every check. The Super Mario 64 project passes on purpose and credit, then fails once it hands out Nintendo’s files. ArtCraft passes on credit and writes new code, while the question of how closely a clone may imitate the original remains open. The pedal maker who talked about reselling rivals’ algorithms fails most of the checks.</p><h3>What creators can do when ideas are this easy to copy</h3><p>If an AI agent can read anything you ship, plan around that.</p><p><strong>Keep your main value off the user’s device.</strong> Bloomberg’s advantage is its data. A smaller product might rely on a live service or a community that a clone cannot rebuild on day one.</p><p><strong>Compete on service.</strong> Newell’s 2011 argument still holds. Launch in as many regions as you can at once, with prices that fit local incomes. Each obstacle a paying customer hits helps the pirate.</p><p><strong>Protect the launch, then ease off.</strong> The Denuvo research suggests most cracking losses happen in the first 12 weeks. Volckmann suggested publishers could drop unpopular protection after about three months with little revenue loss. Some gamers avoid DRM-heavy games, so removing it may win back some buyers.</p><p><strong>Reward the people who take your software apart.</strong> Rockstar paid t0st $10,000 and got a faster game. The Pentagon paid roughly $75,000 in bounties and had 138 vulnerabilities fixed. A clear bug bounty or disclosure policy gives skilled people a legal place to aim their curiosity.</p><p><strong>Keep a public record of how you made it.</strong> When clones buried Threes, its creators published more than 500 emails from 14 months of design work. 2048 kept spreading anyway. Still, anyone who reads those emails can see who did the design. When a copy of your feature can appear by dinner, a dated record of your design work is the strongest proof of authorship you have.</p><h3>Sources</h3><ul><li>404 Media: <a href="https://www.404media.co/reverse-engineer-anything-is-the-new-wild-west-of-ai/">‘Reverse-Engineer Anything’ Is the New Wild West of AI</a> (October 20, 2026)</li><li>404 Media: <a href="https://www.404media.co/video-game-reverse-engineering-community-shuts-down-because-ai-has-made-it-too-easy/">Video Game Reverse Engineering Community Shuts Down Because AI Has Made It Too Easy</a> (October 15, 2026)</li><li>It’s FOSS: <a href="https://itsfoss.com/newsletter/local-ai-weekly-6/">Local AI Weekly #6: If You Can Reverse Engineer It, It’s Open Source!</a> (October 21, 2026)</li><li>DEV Community: <a href="https://dev.to/hassann/what-is-rea-reverse-engineer-anything-the-mcp-server-that-hit-115k-github-stars-in-a-week-1coc">What Is REA (Reverse Engineer Anything)?</a></li><li>Geek News Central: <a href="https://geeknewscentral.com/2026/10/14/reverse-engineer-anything-1880/">Reverse Engineer Anything #1880</a></li><li>systemdesign.academy: <a href="https://www.systemdesign.academy/explained/rea-reverse-engineer-anything">REA explained: what the viral GitHub repo does</a></li><li>TweakTown: <a href="https://www.tweaktown.com/news/113989/developer-says-software-is-over-after-using-ai-to-recreate-adobes-entire-creative-cloud-suite-for-free/index.html">Developer says ‘software is over’ after using AI to recreate Adobe’s Creative Cloud suite</a></li><li>HotHardware: <a href="https://hothardware.com/news/dev-uses-ai-to-build-clones-of-photoshop-and-entire-adobe-suite-for-free">Dev Uses AI To Build Clones Of Photoshop And Entire Adobe Suite For Free</a></li><li>Pasquale Pillitteri: <a href="https://pasqualepillitteri.it/en/news/21619/free-adobe-clones-artcraft-claude-opus-5-5">Developer Releases Seven Free Adobe Clones Built With Claude Opus 5.5</a></li><li>3DTested: <a href="https://www.3dtested.com/tech-industry/artificial-intelligence/finance-techie-says-they-cloned-bloombergs-usd30k-a-year-terminal-with-perplexitys-computer-project-draws-both-praise-and-sizable-skepticism">Finance techie says they cloned Bloomberg’s $30k-a-year Terminal with Perplexity’s Computer</a></li><li>US Copyright Office: <a href="https://www.copyright.gov/fair-use/summaries/segaenters-accolade-9thcir1992.pdf">Sega Enterprises Ltd. v. Accolade, Inc. fair use summary</a></li><li>EU Software Directive 2009/24/EC: <a href="https://www.legislation.gov.uk/eudr/2009/24/article/6">Article 6, Decompilation</a> and <a href="https://www.legislation.gov.uk/eudr/2009/24/body/adopted?view=plain">full text</a></li><li>Center for Democracy &amp; Technology: <a href="https://cdt.org/?p=13384">DMCA 1201 security research exemption</a> and <a href="https://cdt.org/?p=13314">DOJ letter supporting the exemption</a></li><li>PC Gamer: <a href="https://www.pcgamer.com/uk/gta-online-load-time-fix-released-shaves-off-actual-minutes-of-waiting-for-some/">GTA Online load time fix released</a></li><li>HotHardware: <a href="https://www.hothardware.com/news/gta-online-ridiculous-load-times-fixed-update">Rockstar confirms GTA Online player’s load fix</a></li><li>Heise: <a href="https://heise.de/-9977335">Copy protection for games does not have to last long</a> (Volckmann Denuvo study)</li><li>Notebookcheck: <a href="https://www.notebookcheck.net/Decoding-Denuvo-s-impact-How-DRM-shields-early-game-revenue-by-up-to-20-percent.901313.0.html">Decoding Denuvo’s impact</a></li><li>European Commission: <a href="https://ec.europa.eu/newsroom/growth/items/604502">Study on estimating displacement rates of copyrighted content in the EU</a></li><li>Engadget: <a href="https://www.engadget.com/2017/09/22/eu-suppressed-study-piracy-no-sales-impact/">EU withheld a study that shows piracy doesn’t hurt sales</a></li><li>Game Developer: <a href="https://gamedeveloper.com/business/valve-piracy-is-more-about-convenience-than-price">Valve: Piracy is more about convenience than price</a></li><li>Engadget: <a href="https://www.engadget.com/2013/04/29/game-dev-tycoon-creator-punishes-pirates-with-in-game-bankruptcy/">Game Dev Tycoon creator punishes pirates with in-game bankruptcy</a></li><li>TechRadar: <a href="https://www.techradar.com/news/gaming/game-devs-teaching-pirates-a-lesson-through-illegal-downloads-1147886">Game devs teaching pirates a lesson</a></li><li>Harvard Copyfight: <a href="https://tagteam.harvard.edu/hub_feeds/1920/feed_items/175920/about">Video game development game ironic piracy</a></li><li>Pocket Gamer: <a href="https://www.pocketgamer.com/articles/058583/r/">Threes risks being lost in the underbrush of copycats</a></li><li>Giant Bomb: <a href="https://www.giantbomb.com/articles/meet-the-clones/1100-4891/">Meet the Clones</a></li><li>Game Informer: <a href="https://gameinformer.com/b/news/archive/2014/03/28/threes-developer-speaks-out-against-flood-of-clones">Threes developer speaks out against flood of clones</a></li><li>KitGuru: <a href="https://www.kitguru.net/?p=466148">Nintendo begins filing copyright complaints against fan-made Super Mario 64 PC port</a></li><li>Foley &amp; Lardner: <a href="https://www.foley.com/insights/publications/2021/06/supreme-court-scope-computer-fraud-abuse-act/">Supreme Court narrows the scope of the CFAA in Van Buren</a></li><li>GlobalSecurity.org: <a href="https://www.globalsecurity.org/security/library/news/2016/06/sec-160617-dod02.htm">Defense Secretary Ash Carter releases Hack the Pentagon results</a></li><li>Sophos Naked Security: <a href="https://news.sophos.com/?p=326829">138 security flaws uncovered in Hack the Pentagon</a></li><li>C4ISRNET: <a href="https://www.c4isrnet.com/dod/2018/05/30/heres-the-results-of-the-latest-hack-the-pentagon">Results of the latest Hack the Pentagon</a></li><li>Tosea: <a href="https://tosea.ai/blog/fincept-terminal-free-bloomberg-alternative-2026">FinceptTerminal, the open-source Bloomberg alternative</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ba59639da43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Prompt Properly]]></title>
            <link>https://dzeaulfath.medium.com/how-to-prompt-properly-58cd6e3e87a5?source=rss-2e24326f83d------2</link>
            <guid isPermaLink="false">https://medium.com/p/58cd6e3e87a5</guid>
            <category><![CDATA[writing-prompts]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Dzeaulfath]]></dc:creator>
            <pubDate>Sun, 04 Oct 2026 04:01:01 GMT</pubDate>
            <atom:updated>2026-10-04T04:01:01.552Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Some popular prompting tricks work. Some don’t. Here’s what the research says</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SQmhQeWyzHKtyt3R" /><figcaption>Photo by <a href="https://unsplash.com/@berctk?utm_source=medium&amp;utm_medium=referral">Berke Citak</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In my last article, I wrote about the signs of AI-generated text the stock vocabulary, the lists of three, the conclusions that repeat the introduction. The natural next question is how to stop getting that kind of writing in the first place.</p><p>Here’s a prompt most people have typed some version of:</p><blockquote><em>Write a blog post about remote work.</em></blockquote><p>And here’s the kind of opening it tends to produce:</p><blockquote><em>In today’s rapidly evolving workplace, remote work has become more than just a trend. It represents a fundamental shift in how we think about productivity, collaboration, and work-life balance.</em></blockquote><p>The model didn’t fail. It did exactly what it was asked, with nothing else to go on. Six words of instruction left hundreds of decisions open, and the model made each one the safest way it could.</p><p>Most prompting advice online promises a magic phrase. Tell the AI it’s a world-class copywriter. Tell it to think step by step. Paste in some examples. Some of these habits help a lot, some help only in narrow cases, and one of the most popular does less than people think. This article goes through what researchers have actually found, then rebuilds that remote-work prompt using the techniques that hold up.</p><h3>Why vague prompts get average writing</h3><p>A language model predicts likely text. When your prompt leaves a gap, the model fills it with the most typical choice. Nobody told it who the reader is, so it writes for everyone. Nobody set a length, so it picks a common one. Nobody said what the post should achieve, so it covers the topic broadly and lands on a balanced conclusion.</p><p>Each of those defaults is reasonable. Together they produce the flat, familiar writing from the first example. The problem sits in the prompt, not the model.</p><p>Anthropic, the company that makes Claude, frames this well in its prompting guide. It suggests treating the model like a brilliant new employee who has no context on your norms, style, or goals. The guide also offers a simple test: show your prompt to a colleague who knows little about the task. If they would be confused, the model will be too.</p><p>That test is worth running on your own prompts. Picture handing “write a blog post about remote work” to a smart freelancer you just hired. Their first questions would be obvious. Who is it for? How long? What should readers think or do after reading it?</p><p>So before any draft, answer four things in the prompt itself:</p><ul><li><strong>Audience.</strong> Who is reading, and what do they already know?</li><li><strong>Tone.</strong> How should it sound? Name it concretely.</li><li><strong>Length.</strong> A word count or reading time.</li><li><strong>The one goal.</strong> The single thing the piece must accomplish.</li></ul><p>Be explicit about each. “Make it accessible” is an implied constraint that the model will interpret in the most average way. “Write for small business owners with no technical background” is a real instruction. The first leaves the model guessing. The second tells it exactly who is on the other end.</p><p>Here’s how much the audience line alone changes things. A post on remote work for startup founders would talk about hiring from anywhere and keeping a small team connected. The same topic for hospital administrators would deal with which roles can’t be remote at all, and with patient data rules. For parents returning to work, it might be about childcare and negotiating a schedule. Same topic, three completely different posts. Leave out the audience and you get a fourth post that tries to serve all of them and helps none.</p><p>Tone works the same way. “Professional” and “friendly” are so broad that nearly any draft satisfies them. “Plain and direct, short sentences, no buzzwords” gives the model something it can actually follow, and gives you something you can check the draft against.</p><p>This step alone does more than any of the tricks below. It’s also the one people skip most, because it feels too simple to matter.</p><h3>The persona myth</h3><p>“Act as an expert copywriter.” “You are a senior marketing strategist with 20 years of experience.” Persona prompts are probably the most shared prompting tip on the internet. The idea is that telling the model it’s an expert makes it perform like one.</p><p>Researchers have tested this directly. A team from the University of Michigan and collaborators ran 162 different roles across four families of language models on 2,410 factual questions. Adding a persona to the system prompt did not improve performance compared with using no persona at all. The paper’s history is telling too. An earlier version, circulated under a different title, reported that some roles helped. The final, larger study did not hold that up.</p><p>A 2026 preprint looked at the question from a different angle. Instead of right-or-wrong answers, it tested 1,140 open-ended questions across 38 expert roles and scored each answer on several qualities separately. Expert personas made answers sound deeper and more expert. They also made answers less clear and noticeably longer, with more caveats and more jargon. Personas did best on advice-style questions in areas like medicine and psychology. For plain explanations of how something works, the prompt with no persona did better. Two caveats apply: this is a preprint, and the answers were scored by another AI model rather than by people. But the pattern fits the earlier research. The authors concluded that personas mostly change how a response sounds, not how capable the model is.</p><p>For writing, that’s a useful finding once you read it correctly. A persona is a style dial, not a knowledge upgrade.</p><p>That suggests two rules.</p><ul><li><strong>Use personas for voice.</strong> If your brand needs to sound blunt, “write in the voice of a no-nonsense operations lead” is a legitimate instruction. Give it one clear stylistic reason, and the model has something concrete to aim at.</li><li><strong>Don’t use personas for accuracy.</strong> Calling the model a financial expert won’t make its numbers more reliable. Verify facts, statistics, and dates on your own, whatever persona is active. And if clarity is what you want most, be careful with expert personas. The 2026 study suggests they can push the model toward exactly the padded, hedge-heavy writing you’re trying to avoid.</li></ul><h3>When “think step by step” helps</h3><p>The second famous trick is asking the model to reason before it answers. You’ll see it written as “think step by step” or “explain your reasoning first.” Researchers call it chain-of-thought prompting.</p><p>The best evidence on when it helps comes from a 2024 study led by researchers at the University of Texas at Austin. They analyzed results from more than 100 papers that used the technique, then ran their own tests on 20 datasets with 14 models. The large gains showed up mainly on math and logic problems. Other kinds of tasks improved much less. On one broad general-knowledge test, reasoning first produced almost the same accuracy as answering directly, except on questions that involved math.</p><p>That research measured accuracy on reasoning tests, not the quality of blog posts. So applying it to writing is my inference, not their finding. But the logic carries over. Step-by-step thinking helps when a task has real structure that can go wrong in the middle.</p><p>Writing has tasks like that. Building an argument where each section depends on the one before it is a structural problem. So is ordering a long piece, or comparing several options on the same criteria. For these, ask the model to work out the structure first, as a short outline, before writing any prose. A bad section order is much easier to fix in a ten-line outline than in 2,000 words of draft.</p><p>For straightforward tasks, skip it. A caption, a single paragraph, or a quick rewrite doesn’t need a reasoning scaffold. You’ll just get a longer response with the same result at the end.</p><p>One more thing to watch when reasoning is visible. The substance of each step matters more than how neat the steps look. A wrong fact in step two ruins everything after it, even when every step is numbered and labeled.</p><h3>Repeating the prompt</h3><p>One of the stranger prompting findings of the past year comes from Google Research. In a December 2025 paper, three researchers tested what happens when you paste the exact same prompt twice in a single message. They ran it on seven models from Google, OpenAI, Anthropic, and DeepSeek, with the models told to answer directly, without reasoning first.</p><p>The repeated prompt helped. Across 70 comparisons of models and tests, repetition won 47, lost none, and tied the rest. It also didn’t make answers longer or slower, because the model reads more text without writing any more.</p><p>The explanation has to do with how these models read. Most process text strictly left to right, so the words at the start of your prompt are handled before the model has seen what comes later. When the prompt appears twice, the second copy can be read with the whole request already in view. It works a bit like reading a question once for the gist and again for the details.</p><p>There are limits worth knowing. The benefit mostly disappears when the model reasons before answering. With reasoning turned on, the researchers found repetition was neutral to slightly positive. So if your AI tool has a thinking or reasoning mode switched on, expect little change. The study also measured accuracy on question-answering tests, not the quality of written drafts, and it’s a preprint.</p><p>For writers, the most likely use is in tasks where accuracy matters. That includes pulling facts from a long document you’ve pasted in, or following a strict list of rules. That application is my inference, not something the paper tested. A lighter version of the same idea is to restate your key constraints at the end of a long prompt, after any pasted material, so the model reads them last.</p><p>Don’t expect repetition to rescue a vague brief. Repeating “write a blog post about remote work” just gives the model the same missing information twice.</p><h3>The power of one good example</h3><p>If personas are overrated, examples are underrated. Showing the model what you want is one of the most reliable ways to control structure and tone.</p><p>This is well documented, going back to the 2020 paper that introduced GPT-3, which showed that large models can pick up a task from a few examples in the prompt. Later research found the effect is sensitive to which examples you pick. A 2021 study from UC Berkeley and UC Irvine found that the prompt’s format, the choice of examples, and even the order of those examples could swing accuracy from near chance to near the best results available at the time. Another study from Duke and Microsoft found that GPT-3’s results depended heavily on the examples chosen. Picking examples similar to the actual task consistently beat picking them at random.</p><p>Both studies tested classification and question-answering tasks, not long-form writing. But the practical lesson is the same. An example is a strong signal, and a poorly matched one sends the model in the wrong direction.</p><p>So the rule is simple. <strong>One close example beats three loose ones.</strong> If you want a LinkedIn post in your voice, paste in a LinkedIn post you wrote that performed well. A blog post you like won’t do the job, and neither will a famous essay. Match the format and length as closely as you can.</p><p>Then tell the model what to take from it. This step is the one people forget. Without it, the model may copy the wrong thing, like the topic, a specific phrase, or an opening joke. Spell it out:</p><blockquote><em>Here is a post I wrote last month. Match its tone, sentence length, and structure: a short hook, one story, one takeaway. Do not reuse its topic, examples, or phrasing.</em></blockquote><p>That one sentence of instruction turns a vague influence into a precise one. It also stops the model from producing a near copy of your old post with the nouns swapped.</p><p>The best source of examples is your own past work. Keep a small file of pieces that did well, sorted by format: a strong email, a newsletter intro readers replied to, a post that got shared. When you need a new one, you can grab the closest match in seconds. If you’re writing for a client or employer, ask for one or two pieces they consider on-brand. Those tell you more about the voice they want than any style guide will.</p><p>If you have nothing close, write a short sample yourself, even a single paragraph. A rough paragraph in the right voice is a better guide than a polished piece in the wrong one.</p><h3>Break big pieces into steps</h3><p>The longer the piece, the more a single prompt can go wrong. A 2,000-word brief packed into one message gives the model many chances to misread something early. Then everything built on that early misreading inherits the error.</p><p>This section is based on practice rather than a specific study. I’ve found that splitting long work into stages avoids most of these problems:</p><ol><li><strong>Outline first.</strong> Ask for section headings with a one-line summary of each. Check it against your one goal before going further.</li><li><strong>Draft section by section.</strong> Approve the outline, then ask for one or two sections at a time. You can fix a weak section before the next one builds on it.</li><li><strong>Do a voice pass at the end.</strong> Once the content is right, ask for a pass focused only on tone and rhythm. Give it the specific problems from your own editing checklist.</li></ol><p>Each stage has a smaller, clearer job than the one giant prompt did. And you get to correct course at each checkpoint instead of discovering a problem at word 1,800.</p><p>A rough threshold helps here. For anything over about 800 words, outline first. For shorter pieces, one clear brief is usually enough. Don’t over-engineer a caption.</p><h3>The rebuild: before and after</h3><p>Here’s the original prompt again:</p><blockquote><strong>Write a blog post about remote work.</strong></blockquote><p>And here’s the same request rebuilt with everything above:</p><blockquote><strong>I’m writing a 1,200-word blog post for owners of small accounting firms with 5 to 20 staff. They’re deciding whether to let employees work from home two days a week. Readers are practical and skeptical of trend pieces. They want costs and risks, not inspiration.</strong></blockquote><blockquote><strong>Tone: plain and direct, like advice from someone who has run a small firm. Short sentences. No buzzwords.</strong></blockquote><blockquote><strong>The one goal: help a firm owner make this decision by laying out the real costs, the real risks, and what a sensible trial would look like.</strong></blockquote><blockquote><strong>Before drafting, give me an outline: section headings, each with a one-line summary. Don’t write the post yet.</strong></blockquote><blockquote><strong>Here’s a paragraph from a post our readers responded well to. Match its tone and sentence length. Don’t reuse its topic or phrasing:</strong></blockquote><blockquote><strong>We switched practice management software last spring. The vendor said it would take four weeks. It took eleven. Two of our staff spent most of March fixing client records by hand, and we fell behind on work that should have been routine. It was still the right decision, but only because we planned for the slowdown. We moved non-urgent work to May and told clients why before they had to ask. If you’re thinking about switching, take the timeline the sales rep gives you and double it. Then add a week.</strong></blockquote><p>Look at what each part does. The first paragraph handles audience, and it goes further than naming a job title. It says what readers want and what they’re tired of. The tone line is concrete enough to check a draft against. The goal gives the model a test for every section: does this help the owner decide? The outline request applies the step-by-step idea where it helps, on structure. The example sets the voice, with instructions on what to copy and what to leave alone.</p><p>There’s no persona. The prompt doesn’t need one, because the tone line already does that job more precisely.</p><p>This version takes about two minutes longer to write than the six-word one. The output won’t be perfect, and you’ll still need to edit it. But you’ll be editing a draft aimed at a real reader instead of scrubbing “rapidly evolving workplace” out of every paragraph.</p><p>The habit to build is small. When a draft comes back generic, don’t hit regenerate. Check which of the four brief items you left out, whether that’s audience, tone, length, or the one goal, and add it. Generic output nearly always traces back to a gap in the prompt, and one missing line is usually the fix.</p><h3>Sources</h3><ul><li>Anthropic. <a href="https://docs.anthropic.com/en/docs/be-clear-direct">Prompt engineering: Be clear, direct, and detailed</a>. Claude documentation.</li><li>Zheng, M., Pei, J., Logeswaran, L., Lee, M., &amp; Jurgens, D. (2024). <a href="https://aclanthology.org/2024.findings-emnlp.888/">When “A Helpful Assistant” Is Not Really Helpful: Personas in System Prompts Do Not Improve Performances of Large Language Models</a>. <em>Findings of EMNLP 2024.</em></li><li>Xiao, S., et al. (2026). <a href="https://arxiv.org/abs/2605.29420">When Does Persona Prompting Actually Help? A Retrieval and Metric Analysis of Expert Role Injection in LLMs</a>. arXiv preprint.</li><li>Sprague, Z., et al. (2024). <a href="https://arxiv.org/abs/2409.12183">To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoning</a>. arXiv.</li><li>Leviathan, Y., Kalman, M., &amp; Matias, Y. (2025). <a href="https://arxiv.org/abs/2512.14982">Prompt Repetition Improves Non-Reasoning LLMs</a>. Google Research, arXiv preprint.</li><li>Brown, T., et al. (2020). <a href="https://proceedings.neurips.cc/paper_files/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf">Language Models are Few-Shot Learners</a>. <em>NeurIPS 2020.</em></li><li>Zhao, Z., Wallace, E., Feng, S., Klein, D., &amp; Singh, S. (2021). <a href="https://proceedings.mlr.press/v139/zhao21c.html">Calibrate Before Use: Improving Few-shot Performance of Language Models</a>. <em>ICML 2021.</em></li><li>Liu, J., et al. (2022). <a href="https://aclanthology.org/2022.deelio-1.10/">What Makes Good In-Context Examples for GPT-3?</a> <em>DeeLIO 2022.</em></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58cd6e3e87a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Spot AI-Written Text (and Stop Writing Like It Yourself)]]></title>
            <link>https://dzeaulfath.medium.com/how-to-spot-ai-written-text-and-stop-writing-like-it-yourself-6b38561bc01a?source=rss-2e24326f83d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b38561bc01a</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[writing-tips]]></category>
            <dc:creator><![CDATA[Dzeaulfath]]></dc:creator>
            <pubDate>Sat, 03 Oct 2026 04:01:01 GMT</pubDate>
            <atom:updated>2026-10-03T04:01:01.900Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t4jwb37Lgb6jiV8n" /><figcaption>Photo by <a href="https://unsplash.com/@nahrizuladib?utm_source=medium&amp;utm_medium=referral">Nahrizul Kadri</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Read this paragraph:</p><p><em>In today’s fast-paced digital landscape, effective communication is more crucial than ever. Whether you’re crafting an email or delivering a presentation, clarity matters. It’s not just about what you say, it’s about how you say it. By embracing clear, concise, and compelling language, you can unlock new opportunities and foster meaningful connections.</em></p><p>The grammar is fine. The sentences flow. It also says nothing, and if you’ve spent any time with ChatGPT, you probably guessed a machine wrote it before you reached the end.</p><p>Researchers have measured it, in a 2025 study from the University of Maryland, annotators read 300 non-fiction English articles, labeled each one as human-written or AI-generated, and explained their decisions in writing. People who rarely or never used AI tools were poor at the task. A small group of five annotators who used AI often for writing work did far better. When those five voted together, they beat every automated detector the researchers tested, even on AI text that had been paraphrased or run through “humanizer” tools. They had no special training. They had exposure.</p><p>It covers the signs that show up most often at the sentence level and in the overall structure. It also covers why detection software is less reliable than people assume, and how to remove these habits from your own writing. That last part matters most. Readers don’t need proof that something was machine-written. Once they suspect it, they stop trusting you.</p><h3>Why AI text sounds the way it does</h3><p>A language model writes by predicting the next word, again and again, based on patterns learned from enormous amounts of text. At each step it leans toward likely choices. The result is writing that drifts toward the average of everything it has read.</p><p>That’s a simplification, but it explains the flavor. When you ask a model about communication, it reaches for the phrases that most often appear near that topic: “fast-paced,” “landscape,” “crucial.” Each word is a reasonable choice. Stack enough reasonable choices together and you get a paragraph that could have come from anywhere.</p><p>Chat assistants are also trained to be helpful and polite. That adds more layers extra caveats, tidy structure, balanced views, and a friendly summary at the end. None of this is wrong in small doses. The problem is that the model applies all of it to everything, every time.</p><p>So the issue with AI writing is rarely grammar. It’s that each sentence is the most expected version of itself. Human writing has friction. People pick odd words, go on tangents, cut a point short, and include details only they would know. Those rough edges are what the signs below are measuring, whether you notice it or not.</p><h3>Sentence-level signs</h3><p><strong>The vocabulary.</strong> Some words have become famous as AI markers, and there’s data behind the reputation. Researchers tracked word frequencies across more than 15 million biomedical abstracts published between 2010 and 2024 and found a sudden jump in certain style words after chatbots arrived. Among the less common words, “delves” appeared 28 times more often than expected, with “underscores” and “showcasing” also far above their normal rates. Based on these patterns, the team estimated that at least 13.5% of 2024 abstracts went through an AI model.</p><p>Beyond that study, a few words and phrases come up constantly in AI output: “tapestry,” “landscape,” “navigate the complexities,” “a testament to,” “in today’s world,” “foster,” and “leverage.” That list comes from observation, not a formal count. Treat it as a starting point.</p><p>One warning before you start hunting for “delve.” A single word proves very little. In the Maryland study, 31% of the experts’ explanations for wrongly flagging human writing mentioned vocabulary, usually because the human author had used words like “delve” or “crucial.” People used these words long before chatbots did. Look for clusters, not single hits.</p><p><strong>The contrast frame.</strong> “It’s not just a tool, it’s a mindset.” “This isn’t about productivity. It’s about freedom.” The model sets up a claim nobody made so it can correct it. Once you notice this pattern you’ll see it in almost every AI-written LinkedIn post. It creates a sense of insight without adding any.</p><p><strong>Groups of three.</strong> “Clear, concise, and compelling.” “Faster, smarter, and more efficient.” Lists of three sound finished, which is why speechwriters use them. AI uses them constantly, often with three words that mean nearly the same thing. When a list of three adjectives could lose any one of them without changing the meaning, that’s a signal.</p><p><strong>Throat-clearing openers.</strong> “It’s important to note that.” “When it comes to.” “In an era where.” These phrases delay the actual point. Humans use them too, especially in formal writing, but AI drafts are full of them.</p><p><strong>Stacked hedges.</strong> “This can potentially help improve outcomes in some cases.” Each qualifier is defensible. Four in one sentence means the writer is avoiding a claim. Models hedge because they are trained to avoid being wrong, and the safest sentence commits to nothing.</p><p><strong>Dashes everywhere.</strong> The em dash became an internet joke as an AI tell, and AI output does use it heavily. But plenty of professional writers use dashes, and they did long before 2022. This one is observation, not research. On its own it tells you almost nothing. In a paragraph that also has the contrast frame and a list of three, it adds to the picture.</p><p><strong>Even rhythm.</strong> Read AI text aloud and you’ll notice that most sentences are roughly the same length and shape. Subject, verb, a clause or two, period. Human writing is lumpier. A long sentence that winds through an idea. Then a short one. The absence of that variation is hard to point to, but readers feel it.</p><h3>Structure-level signs</h3><p>Word choice is the easiest thing to spot, and the easiest to fake. Structure is harder to hide.</p><p><strong>The recap ending.</strong> “In conclusion, clear communication is essential for success in any field.” The last paragraph repeats the first, with “ultimately” or “in summary” attached. Human writers do this in school essays because they were taught to. AI does it everywhere.</p><p><strong>The rhetorical question hook.</strong> “Have you ever wondered why some emails get replies and others don’t?” One question can work. AI openings lean on them heavily, and the question is usually one nobody was asking.</p><p><strong>Formatting as a substitute for thinking.</strong> Bold headers, bullet points, and numbered lists where a paragraph would do. A simple question gets an answer that looks like a slide deck. The formatting makes the text look organized even when the ideas aren’t connected.</p><p><strong>Perfect balance.</strong> Every point gets equal space. Every paragraph is about the same length. Every argument gets a counterargument, and the conclusion lands on “it depends on your needs.” Real writers care more about some points than others, and it shows. They spend three paragraphs on the thing that matters and one sentence on the thing that doesn’t.</p><p><strong>Confidence without specifics.</strong> This is the strongest structural sign. AI text makes claims like “studies show” and “experts agree” with no study and no expert named. It describes “many businesses” but never a business. It gives advice that is true in general and useless in particular. When you finish a piece and can’t recall a single name, number, or concrete example, be suspicious.</p><p>The Maryland experts noticed this too. Their explanations relied a lot on vocabulary clues, but also picked up on harder qualities such as formality, originality, and clarity, which automated detectors struggle to measure. That’s the real skill. Word lists get you started. Noticing that a piece has no point of view is what makes you good at this.</p><h3>What AI detectors can and can’t tell you</h3><p>If humans need practice to spot AI text, detection software seems like the obvious fix. The record so far is not encouraging.</p><p>OpenAI, the company behind ChatGPT, released its own AI text classifier in January 2023. By its own testing, the tool correctly flagged only 26% of AI-written text, and it labeled human writing as AI-generated 9% of the time. OpenAI took it down on July 20, 2023, citing its low accuracy. If the company that built the most widely used model couldn’t reliably detect its output, that tells you something about the problem.</p><p>Other tools claim much higher accuracy. The more worrying issue is who they get wrong. A Stanford team tested seven widely used detectors on essays from two groups. More than half of the TOEFL essays, written by non-native English speakers, were wrongly classified as AI-generated. The same detectors were nearly perfect on essays by US eighth graders.</p><p>The reason goes back to predictability. Many detectors measure how surprising a text’s word choices are. Writers working in a second language often use simpler, more common words, which makes their writing look predictable. The researchers suggested the bias comes from this lower variety in word choice rather than anything to do with AI. They also showed how fragile the scores are. Asking a model to improve the word choices in the non-native essays reduced false flags, while simplifying the word choices in native speakers’ essays increased them.</p><p>That result points two ways. Careful, plain human writing can get flagged. And AI text can pass with minor rewording. The paper reported that a simple prompt was enough to get past current detectors.</p><p>So treat a detector score as weak evidence at best. Never accuse a student, freelancer, or colleague based on a percentage. If something reads like AI, use that as a reason to look closer: ask about the sources, check whether the specifics hold up, or talk to the person. The signs in this article are prompts for judgment, not a verdict.</p><h3>How to fix your own drafts</h3><p>Most people reading this aren’t trying to catch anyone. They use AI for drafts, or they’ve just absorbed its habits from reading so much of it, and they want their writing to sound like them. Here is what works.</p><p><strong>Read it out loud.</strong> This is the fastest check there is. Every phrase you would never say to a colleague over coffee is a candidate for cutting. You’ll also hear the even rhythm immediately, which is almost impossible to see on the page.</p><p><strong>Search for the stock phrases.</strong> Use find-and-replace on your own draft. Look for “crucial,” “landscape,” “navigate,” “it’s important to note,” “not just,” and “in today’s.” You don’t have to delete every hit. Just make sure each one is a word you chose, not one that showed up by default.</p><p><strong>Replace general claims with specific ones.</strong> This does more than any other fix. “Many small businesses struggle with email” becomes “A bakery owner I worked with last year had 4,000 unread emails.” Specifics are the one thing a model can’t produce truthfully on your behalf, because it doesn’t know what happened to you. Your examples, numbers, and mistakes are what make a piece yours.</p><p><strong>Break the rhythm on purpose.</strong> After two long sentences, write a short one. Let a paragraph be one line if the point is strong enough. Merge two short sentences if they belong together. You’re aiming for variation that follows the meaning.</p><p><strong>Cut your first and last paragraphs, then see if you miss them.</strong> Openers often warm up to the point, and endings often repeat it. Many drafts improve when they start at paragraph two and end one paragraph earlier.</p><p><strong>Decide what you think.</strong> AI hedges because it has no stake in the answer. You do. If you believe one option is better, say so and explain why. A clear position, even one some readers disagree with, reads as human in a way no amount of word-swapping can match.</p><p><strong>Don’t mistake scrubbing for fixing.</strong> You can remove every dash, every “delve,” and every list of three and still have a draft with nothing in it. The Stanford detector study showed that surface edits fool software easily. Readers are harder to fool, because what they respond to is substance. If your draft is vague, removing the signs just makes it vague in a less obvious way.</p><p>The Maryland study suggests one more habit, and it’s the one that lasts. The best detectors in that research were people who used AI for writing all the time. They had read so much machine text that its patterns stood out without effort. You can build the same ear on purpose. Generate a few drafts on topics you know well and read them closely, marking every phrase you’d never say. After a few weeks you’ll start noticing those phrases everywhere, including in your own first drafts, which is where catching them does the most good.</p><h3>Sources</h3><ul><li>Russell, J., Karpinska, M., &amp; Iyyer, M. (2025). <a href="https://arxiv.org/abs/2501.15654">People who frequently use ChatGPT for writing tasks are accurate and robust detectors of AI-generated text</a>. <em>ACL 2025.</em></li><li>Kobak, D., et al. (2025). <a href="https://www.science.org/doi/10.1126/sciadv.adt3813">Delving into LLM-assisted writing in biomedical publications through excess vocabulary</a>. <em>Science Advances.</em></li><li>Liang, W., et al. (2023). <a href="https://arxiv.org/abs/2304.02819">GPT detectors are biased against non-native English writers</a>. <em>Patterns.</em></li><li>OpenAI (2023). <a href="https://openai.com/index/new-ai-classifier-for-indicating-ai-written-text/">New AI classifier for indicating AI-written text</a>, with July 2023 withdrawal note.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b38561bc01a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Guide to the Claude Console for Agents and Claude Code]]></title>
            <link>https://dzeaulfath.medium.com/guide-to-the-claude-console-for-agents-and-claude-code-4ed54208b246?source=rss-2e24326f83d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ed54208b246</guid>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Dzeaulfath]]></dc:creator>
            <pubDate>Sat, 26 Sep 2026 09:15:03 GMT</pubDate>
            <atom:updated>2026-09-26T09:15:03.310Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>How to set up the Claude Platform, route models, use the new advisor tool, and keep an agent bill from running away from you.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uHzpnOOyhs8VuG9J" /><figcaption>Photo by <a href="https://unsplash.com/@hdbernd?utm_source=medium&amp;utm_medium=referral">Bernd 📷 Dittrich</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The biggest savings on the Claude API come from two habits: run most of the work on a cheaper model, and bring in a stronger one only at the moments that decide the outcome. The advisor tool builds that second habit into the API itself.</p><p>The advisor tool lets a cheaper “executor” model (Haiku 4.5, Sonnet 5, Opus) call a stronger “advisor” model partway through a task. Anthropic’s own tests show it cuts costs when you pair a mid-tier executor with a frontier advisor and the executor actually uses it. It costs more when the executor is already close to the advisor’s level, or runs at such low effort that it never asks.</p><p>Current list prices per million tokens (input/output): Fable 5.1 $10/$50, Opus 5.5 $4/$20, Sonnet 5 $2/$10, Haiku 4.5 $1/$5. Mythos 5.1 is $10/$50 and limited to vetted organizations. Prompt caching (reads cost 2.5% to 10% of the input price) and the 50% Batch discount are the largest multipliers you control.</p><p>For Claude Code, the API buys you metered, uncapped usage with workspace spend limits, per-user analytics, and admin APIs. A subscription buys predictable monthly cost. Choose the API if you need governance, automation, or bursty heavy use. Before you start, set a workspace spend limit and unset stray ANTHROPIC_API_KEY variables.</p><h3>1. Why this matters now</h3><p>Agents are expensive in a way that chat never was. A chat reply is one request. An agent run can be dozens of requests, and every one of them resends the growing conversation, tool results included. Claude Code works the same way. Each turn carries file contents, tool calls, and reasoning.</p><p>Anthropic publishes its own benchmark for this on the “Manage costs effectively” page of the Claude Code docs. Across enterprise deployments, Claude Code averages around $13 per developer per active day and $150 to $250 per developer per month, and 90% of users stay under $30 per active day. Those are averages. Your numbers depend on the model you default to, the size of your codebase, and how many sessions you run in parallel.</p><p>The good news is that most of the waste comes from a handful of settings. You can fix them in an afternoon.</p><h3>2. Setting up the Console the right way</h3><p>The Claude Console lives at platform.claude.com. It is separate from the claude.ai chat app, and your Pro or Max subscription does not include API credit. Think of the Console as the control room for everything billed per token.</p><h3>Account and organization</h3><p>Sign up at platform.claude.com. Every Console account belongs to an <strong>organization</strong>, the top-level container for members, billing, and workspaces. From Settings &gt; Organization, the owner invites members and assigns roles. Add a payment method or buy credits under Settings &gt; Billing.</p><p>API billing works on a prepaid deposit model. You buy credits and usage draws them down. New accounts get a small amount of free credit for testing.</p><h3>Roles</h3><p>Organization-level roles decide who can do what:</p><ul><li><strong>Admin:</strong> full control, including creating workspaces and Admin API keys.</li><li><strong>Billing:</strong> sees cost, usage, and limits across all workspaces.</li><li><strong>Developer:</strong> can work with API keys in workspaces they are added to.</li><li><strong>User:</strong> Console and playground access without API keys.</li><li><strong>Claude Code user:</strong> a role meant for people who only need Claude Code.</li></ul><p>Anthropic’s Admin API cookbook suggests a sensible default: start new members as <strong>user</strong> and promote them when they need more. Admins and billing members automatically get access to every workspace and cannot be removed from one while they hold those roles.</p><h3>Workspaces</h3><p>Workspaces split one organization into separate projects, environments, or teams, while billing stays central. Every organization has a Default Workspace that cannot be renamed or deleted. You can create up to 100 workspaces by default.</p><p>Inside a workspace, roles get finer:</p><p>Workspace role What it allows Workspace User Playground only Workspace Limited Developer API keys and API use, no session tracing or file downloads Workspace Developer Create and manage API keys, use the API Workspace Admin Full control of workspace settings and members Workspace Billing View billing (inherited from the org billing role)</p><p>A practical layout for an agent team: one workspace each for production agents, staging, and experiments, plus the Claude Code workspace described below. Each workspace gets its own spend and rate limits, so an experiment cannot drain production’s budget.</p><p>One detail matters for cost tracking. Prompt caches are isolated per workspace on the Claude API. Two apps that share a large system prompt only get cache hits from each other if they run in the same workspace.</p><h3>API keys</h3><p>Create keys under Settings &gt; API keys. When you create a key you choose its <strong>type</strong> and its <strong>expiration</strong>.</p><ul><li>A <strong>personal key</strong> acts as you and stops working if you leave the organization.</li><li>A <strong>service account key</strong> belongs to a service account, which suits CI pipelines, production services, and agents.</li></ul><p>Anthropic’s guidance is simple: personal keys for your own development, service account keys for anything shared. Both beat the older ownerless workspace keys, because they die automatically when the person or service is removed.</p><h3>Billing, spend caps, and your own limits</h3><p>There are two kinds of limits, and people mix them up.</p><p><strong>Tier spend caps</strong> are set by Anthropic. Each usage tier has a monthly maximum:</p><p>Usage tier Monthly spend cap Start $500 Build $1,000 Scale $200,000 Custom Arranged with your account team</p><p>New organizations may begin in an <strong>Evaluation</strong> tier with lower limits while they build a usage history. Tiers rise automatically over time. If you hit the tier cap, API usage pauses until 00:00 UTC on the first of the next month, unless you request a higher limit. The error has a telltale code, enforced_spend_limit_reached, and no retry-after header, so automatic retries will keep failing.</p><p><strong>Your own spend limit</strong> sits below the tier cap. Set it under Settings &gt; Billing &gt; Spend limits. When you reach it, requests return an HTTP 400 that says you have reached your specified limit. You can also set <strong>workspace</strong> spend limits and configure alerts at spending thresholds on each workspace’s Spend limits tab.</p><p>Set both on day one. An agent stuck in a loop at 3 a.m. will not stop because the budget ran out in your head.</p><h3>Rate limit tiers</h3><p>Rate limits are measured in requests per minute (RPM), input tokens per minute (ITPM), and output tokens per minute (OTPM), separately for each model. At the Start tier, Sonnet 5, Opus 5.5, and Haiku 4.5 each allow 1,000 RPM, 2,000,000 ITPM, and 400,000 OTPM. Fable 5.x is tighter at 500,000 ITPM and 100,000 OTPM. The Scale tier raises Sonnet 5 to 10,000 RPM and 10,000,000 ITPM.</p><p>The most useful detail on the rate limits page gets little attention: <strong>cached input tokens do not count toward ITPM on most models.</strong> Anthropic’s example is a 2,000,000 ITPM limit with an 80% cache hit rate, which lets you process 10,000,000 total input tokens per minute. Caching lowers your bill and raises your throughput at the same time.</p><h3>3. Models and prices on one page</h3><p>Here are the current list prices from Anthropic’s pricing documentation, in US dollars per million tokens (MTok):</p><p>Model Input Output Cache read Batch input/output Claude Fable 5.1 $10 $50 $0.25 $5 / $25 Claude Opus 5.5 $4 $20 $0.20 $2 / $10 Claude Sonnet 5 $2 $10 $0.20 $1 / $5 Claude Haiku 4.5 $1 $5 $0.10 $0.50 / $2.50 Claude Mythos 5.1 $10 $50 $0.25 $5 / $25</p><p>A few things in this table are easy to miss.</p><p><strong>Opus 5.5 is cheaper than Opus 5.</strong> Opus 5 and Opus 4.8 are still listed at $5/$25. Opus 5.5 is $4/$20, only twice Sonnet 5’s price, and its cache reads cost the same $0.20 as Sonnet 5’s. If you pinned an older Opus months ago, you may be paying more for less.</p><p><strong>Mythos is not a normal option.</strong> Anthropic describes Claude Mythos 5.1 as its most capable model for cybersecurity and biology research, available to vetted organizations through trusted access programs. Fable 5.1 is the same underlying model with safeguards that block or limit performance in risky areas. For nearly every agent or coding team, Fable 5.1 is the top tier you can actually buy.</p><p><strong>The tokenizer changed.</strong> Claude 4.7 and later models use a newer tokenizer. Anthropic’s pricing page says it produces about 30% more tokens for the same text, and Anthropic’s Opus 4.7 release notes put the range at roughly 1x to 1.35x, depending on content. A lower per-token price can still mean a higher bill. Measure with the free token counting endpoint before you migrate.</p><p><strong>Long context has no surcharge.</strong> Claude 4.6 and later models bill the full 1M-token context window at standard rates. A 900k-token request costs the same per token as a 9k-token one. That is convenient, but a huge context resent on every agent turn is still a huge bill.</p><p><strong>Premiums exist.</strong> Fast mode on Opus 5.5 costs $8/$40, double the standard rate. US-only inference (inference_geo: &quot;us&quot;) adds a 1.1x multiplier on everything.</p><h3>A routing rule of thumb</h3><ul><li><strong>Haiku 4.5:</strong> classification, routing, extraction, formatting, and simple subagents.</li><li><strong>Sonnet 5:</strong> the default for most coding and agent work.</li><li><strong>Opus 5.5:</strong> long-running agentic coding and knowledge work where Sonnet stalls.</li><li><strong>Fable 5.1:</strong> the hardest reasoning and long-horizon tasks, used sparingly or as an advisor.</li></ul><p>Anthropic’s pricing docs say much the same: Haiku for simple tasks, Sonnet for most production workloads, Opus for the most complex reasoning.</p><h3>4. The advisor tool, explained properly</h3><p>This is the feature most people get wrong, so it gets the longest section.</p><h3>What it is</h3><p>The advisor tool pairs a faster, cheaper <strong>executor</strong> model with a smarter <strong>advisor</strong> model. The executor runs the whole task: it calls tools, reads results, and writes the output. When it reaches a hard decision, it calls the advisor. The advisor reads the full conversation, returns a plan or a correction, and the executor carries on.</p><p>Anthropic launched it on April 9, 2026. The launch post calls the pattern “the advisor strategy” and frames it as an inversion of the usual setup. In most multi-agent systems, a big orchestrator model delegates to small workers. Here a small model drives and escalates upward only when it needs to.</p><p>Three details matter:</p><ol><li><strong>The executor decides when to call.</strong> It treats the advisor like any other tool.</li><li><strong>The advisor never acts.</strong> It runs without tools and never produces user-facing output. It only gives advice.</li><li><strong>It all happens in one API request.</strong> Anthropic runs the advisor’s inference on its servers. You make no extra round trips.</li></ol><h3>How to turn it on in the API</h3><p>It is in beta. You add a beta header, advisor-tool-2026-03-01, and put one entry in your tools list with type advisor_20260301, the name advisor, and the advisor model you want. The executor is simply the model you call. That is the whole integration.</p><p>Optional parameters give you control:</p><ul><li>max_uses caps advisor calls <strong>per request</strong>. There is no built-in cap per conversation, so if you want one, count calls in your own code and remove the tool once you hit your ceiling.</li><li>max_tokens on the tool caps the advisor&#39;s output per call (minimum 1,024).</li><li>caching turns on prompt caching for the advisor&#39;s own reading of the transcript.</li></ul><h3>How to turn it on in Claude Code</h3><p>Claude Code has built-in support. You can:</p><ul><li>Run /advisor opus (or /advisor alone for a picker) in a session.</li><li>Set &quot;advisorModel&quot;: &quot;opus&quot; in your settings file as a default.</li><li>Turn it off with /advisor off, or disable it entirely with the environment variable CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1.</li></ul><p>The advisor has to be at least as capable as your main model. A Sonnet 5 session accepts Fable, Opus 4.7 or later, or Sonnet 5 as advisor. An Opus 5.5 session accepts Fable or Opus 5 and later. Haiku can call an advisor but cannot be one. Subagents inherit the configured advisor.</p><p>Two gotchas. The advisor only works on the Anthropic API, not on Amazon Bedrock, Google Cloud, Microsoft Foundry, or Claude Platform on AWS. And Claude Code enables it through a feature flag fetched from Anthropic, so setting DISABLE_TELEMETRY keeps it off.</p><h3>How it is billed</h3><p>The advisor’s tokens are billed at the <strong>advisor model’s</strong> rates. The executor’s tokens are billed at the <strong>executor’s</strong> rates. The response reports them separately in a usage.iterations array. The top-level usage totals show executor tokens only, so any cost dashboard you build needs to read the iterations.</p><p>The savings come from how short the advice is. The docs put a typical advisor reply at 400 to 700 text tokens, or 1,400 to 1,800 including its thinking. The executor writes the long final output at its cheaper rate.</p><p>The advisor still reads the <strong>entire transcript</strong> on every call, and those input tokens are billed at the advisor’s price. On a long agent run with a big context, that input cost adds up. Advisor-side caching helps, but the docs say it only breaks even at around three advisor calls per conversation. Turn it on for long loops. Leave it off for short tasks.</p><p>In Claude Code, the advisor’s reading of the conversation is not cached, so each call processes the full transcript fresh. Switching the advisor on or off mid-session does not break your main model’s prompt cache, though.</p><p>On subscription plans, advisor usage counts toward your plan’s limits. On API billing, you pay the advisor model’s rates.</p><h3>When it saves money</h3><p>Anthropic has published two sets of numbers.</p><p><strong>Launch results (April 2026, older models):</strong></p><ul><li>Sonnet 4.6 with an Opus 4.6 advisor scored 2.7 percentage points higher on SWE-bench Multilingual than Sonnet alone (74.8% vs. 72.1%, per a Build Fast with AI write-up of the launch), while cutting cost per agentic task by 11.9%.</li><li>On BrowseComp, Haiku with an Opus advisor scored 41.2%, more than double its solo 19.7%. It still trailed Sonnet solo by 29% in score but cost 85% less per task.</li></ul><p><strong>The current guidance in the docs</strong> is more nuanced. Anthropic’s “Optimizing for cost and intelligence” page reports newer internal tests and draws a clear lesson: the advisor can only hand over capability the executor lacks. On GPQA Diamond, a Haiku 4.5 executor gained a great deal from an Opus 5 advisor, a Sonnet 5 executor gained a few points, and a frontier executor gained almost nothing.</p><p>The Opus 5.5 numbers show where it stops paying. On an internal agentic coding benchmark of 370 tasks:</p><ul><li>Opus 5.5 at high effort with a Fable 5.1 advisor scored 90.1% at $2.92 per attempt. That was 1.7 points better than Opus 5.5 alone at high effort, a gap Anthropic calls “at the edge of run-to-run noise,” for about 2.1 times the money.</li><li>Opus 5.5 alone at xhigh effort scored 91.1% at $4.11. The pairing landed roughly on Opus 5.5’s own effort curve. In plain terms, the advisor bought about what more effort would have bought.</li></ul><p>The docs recommend the advisor for two setups:</p><ul><li><strong>You run Sonnet on complex tasks.</strong> Add an Opus advisor to keep total cost similar or lower, or a Fable 5.1 advisor for the biggest quality gain.</li><li><strong>You run Haiku and need more intelligence.</strong> Add an Opus or Fable advisor. Expect it to cost more than Haiku alone, but less than moving the executor up to a bigger model.</li></ul><h3>When it costs more</h3><p>The same page is just as clear about the failure cases.</p><ul><li><strong>The executor is already strong.</strong> Stacking Fable on Opus 5.5 mostly buys what raising the effort level would.</li><li><strong>The executor stops asking.</strong> A low-effort executor can lose track of the fact that it is stuck. On a chart-reading test, Opus 5.5 at low effort with a Fable 5.1 advisor asked for help on 1 of 300 tasks and scored 7 points below Opus 5.5 alone, at about the same cost.</li><li><strong>There is nothing to plan.</strong> Single-turn Q&amp;A gains little.</li><li><strong>Every turn needs the top model.</strong> In that case, run the top model.</li></ul><p>Anthropic’s advice for benchmarking is the most useful line on the page: “first price the advisor’s model alone at low effort.” If the frontier model at low effort beats your pairing on cost and quality, skip the advisor. Anthropic also says to recheck at every model release, because the gap between tiers keeps moving.</p><h3>Tuning tips</h3><ul><li><strong>Timing matters.</strong> On coding tasks, the best results come from an early advisor call after a few exploratory reads, and for hard tasks, a final call once file writes and test output are in the transcript.</li><li><strong>Haiku sometimes under-calls.</strong> If a Haiku executor hasn’t consulted the advisor by its second turn, adding a short reminder raised task pass rates by about 7 percentage points in Anthropic’s tests. Don’t do this on Opus executors, where it slightly lowered pass rates.</li><li><strong>Encrypted advice.</strong> Fable, Mythos, and Opus 5 advisors return their advice encrypted. The executor reads it on the server, but you cannot. If you need to read the advice for debugging, use an advisor that returns plain text, such as Opus 4.8, where your executor supports it.</li><li><strong>Rate limits are shared.</strong> Advisor calls draw from the same per-model rate limit as direct calls to that model. Priority Tier on the executor does not extend to the advisor.</li></ul><h3>5. The other cost levers</h3><h3>Prompt caching</h3><p>Caching is the biggest lever for agents, because agents resend the same prefix on every turn: system prompt, tool definitions, prior turns.</p><p>The pricing: a 5-minute cache write costs 1.25x the base input price, a 1-hour write costs 2x, and a cache read costs 0.1x. Reads are even cheaper on some models: 0.05x on Opus 5.5 and 0.025x on Fable 5.1 and Mythos 5.1. A 5-minute cache pays for itself after a single read.</p><p>There are two ways to turn it on. <strong>Automatic caching</strong> is a single cache_control field at the top level of the request, and the system manages breakpoints as the conversation grows. Anthropic recommends it as the starting point. <strong>Explicit breakpoints</strong> give you finer control.</p><p>Keep your prefix stable. Anything that changes it, such as editing tool definitions, switching models, or changing effort mid-conversation, forces a costly rewrite. Caching also stacks with the Batch discount.</p><h3>Batch API</h3><p>The Message Batches API gives 50% off input and output tokens for work that can wait. Results arrive asynchronously. It suits evaluation runs, bulk classification, document processing, and overnight report generation. Batches also have their own rate limits, separate from real-time traffic, with up to 100,000 requests per batch. The advisor tool works inside batches too.</p><p>For agent teams, the obvious use is evals. Every prompt change you test against 500 cases costs half as much in batch.</p><h3>Effort and thinking</h3><p>The <strong>effort</strong> parameter is now the main dial for how many tokens Claude spends. It affects everything the model outputs: text, tool calls, and thinking. Lower effort also means fewer, terser tool calls. The levels are low, medium, high, xhigh, and max, depending on the model.</p><p>Defaults differ, and this trips people up. Most models default to high. <strong>Opus 5.5 defaults to </strong><strong>medium</strong>, so a request that leaves out effort runs one level lower than it did on Opus 5. On Opus 5.5 and the Fable models, thinking is always on, so effort is your only real cost control.</p><p>Anthropic’s docs recommend low for simpler tasks such as subagents, medium for balanced agentic work, and xhigh for long-running coding tasks of 30 minutes or more. Its guidance on max for Opus 4.7 is blunt: on most workloads it adds significant cost for relatively small quality gains.</p><p>Thinking tokens are billed as output tokens, the expensive side of the meter. Changing effort between requests normally invalidates the cache. Opus 5.5, Opus 5, and Fable 5.1 support a beta per-message effort setting that keeps the cache intact.</p><h3>Context management</h3><p>Long agent runs outgrow any window. The API gives you three tools:</p><ul><li><strong>Server-side compaction</strong> summarizes older turns on Anthropic’s servers when you ask, or when the conversation passes a token threshold. Anthropic calls it the primary strategy for long-running conversations.</li><li><strong>Context editing</strong> clears old tool results or thinking blocks by rule.</li><li><strong>The memory tool</strong> lets Claude save and read files you store, so important facts survive summarization. It runs on your side: Claude asks for file operations and your application carries them out.</li></ul><p>Anthropic suggests using compaction and memory together for long agents. One caution for advisor users: clearing tool results does not fully work with advisor tool blocks.</p><h3>Token-efficient tool use</h3><p>Tool definitions are input tokens. Load 50 tools and you pay for them on every turn.</p><ul><li><strong>Tool search</strong> lets you mark tools with defer_loading: true. Claude sees only the search tool and your core tools, and loads the rest when it needs them. The docs recommend it when tool definitions exceed 10,000 tokens, and say standard tool calling is better with fewer than 10 small tools.</li><li><strong>Programmatic tool calling</strong> lets Claude write code that calls your tools in a sandbox, so intermediate results never enter the context. Anthropic’s programmatic tool calling docs report that on a 75-tool project-management benchmark, it cut billed input tokens by roughly 38% with no change in accuracy. Across production traffic with 10 to 49 tools, typical savings were 20% to 40%. It doesn’t help simple workflows that make one call at a time.</li></ul><h3>6. Claude Code on an API key: setup and cost habits</h3><h3>Connecting Claude Code to the Console</h3><p>Start Claude Code and choose the Console login option. The first time anyone in your organization signs in this way, Anthropic creates a workspace called <strong>Claude Code</strong> and adds that person. Every later user is added the same way.</p><p>This workspace behaves differently from the others:</p><ul><li>Claude Code creates a personal API key for each user at sign-in. You cannot create keys in this workspace yourself.</li><li>A user’s key stops working if that user is removed.</li><li>It is the <strong>only workspace that supports per-user monthly spend limits.</strong></li><li>Admins can cap its share of the organization’s rate limits so Claude Code cannot starve production agents.</li><li>Archiving it turns off Claude Code sign-in through Console billing for the whole organization.</li></ul><p>For automation and CI, use the ANTHROPIC_API_KEY environment variable, or an apiKeyHelper script that fetches a key from your secrets manager. Claude Code re-runs the helper every five minutes by default, which makes short-lived credentials practical.</p><p><strong>The trap:</strong> Claude Code puts an environment API key ahead of a logged-in subscription. If ANTHROPIC_API_KEY is set in your shell profile, you get billed at API rates even while logged in with Pro or Max. Anthropic&#39;s help center says to keep that variable unset if you want to use your subscription.</p><h3>Default model settings that pay off</h3><ul><li>Default to <strong>Sonnet</strong>. The Claude Code cost docs say Sonnet handles most coding tasks well and costs less than Opus, and to save Opus for complex architecture or multi-step reasoning.</li><li>Use <strong>opusplan</strong>. This alias uses Opus in plan mode and switches to Sonnet to write the code. You get Opus-quality plans without paying Opus rates for every edit.</li><li>Put <strong>model: haiku</strong> on simple subagents. Subagents otherwise inherit your session model, so an Opus session runs its file-search helpers on Opus too.</li><li>Switch models at task boundaries. Each /model switch forces the new model to re-read the whole conversation without cache hits.</li></ul><h3>Habits from Anthropic’s own cost guide</h3><p>The “Reduce token usage” section of the Claude Code docs is short and worth reading in full. The main points:</p><ul><li><strong>Clear between tasks.</strong> Use /clear when you switch to unrelated work. Stale context costs tokens on every later message. /clear itself is free.</li><li><strong>Compact with instructions.</strong> /compact Focus on code samples and API usage tells the summary what to keep. You can also add a &quot;Compact instructions&quot; section to CLAUDE.md.</li><li><strong>Keep CLAUDE.md under 200 lines.</strong> It loads at every session start. Skills load only when they are invoked, so move playbooks you rarely need into skills.</li><li><strong>Prefer CLI tools to MCP servers where you can.</strong> MCP tool definitions are already deferred by default, but the docs note that gh, aws, gcloud, and sentry-cli are still more context-efficient. Turn off unused servers with /mcp.</li><li><strong>Install code intelligence plugins for typed languages.</strong> One “go to definition” call replaces a grep followed by reading several candidate files.</li><li><strong>Filter output with hooks.</strong> A PreToolUse hook can rewrite a test command to keep only failures, cutting “tens of thousands of tokens to hundreds,” in the docs’ words.</li><li><strong>Send verbose work to subagents.</strong> Test runs, docs fetching, and log processing happen in a separate context, and only a summary comes back.</li><li><strong>Lower effort for routine work.</strong> Use /effort. On older fixed-budget models, MAX_THINKING_TOKENS=8000 caps thinking.</li><li><strong>Plan before building.</strong> Press Shift+Tab to enter plan mode before implementation. Press Escape early to correct course, and use /rewind to go back to a checkpoint.</li><li><strong>Write specific prompts.</strong> “Improve this codebase” makes Claude scan everything. “Add input validation to the login function in auth.ts” does not.</li></ul><h3>Watch agent teams</h3><p>Agent teams launch several Claude Code instances, each with its own context. The docs say they use about <strong>7x more tokens</strong> than a standard session when teammates run in plan mode. They’re off by default. If you enable them, use Sonnet for teammates, keep teams small, and shut teammates down when they finish.</p><h3>A caching detail that favors subscriptions</h3><p>The Claude Code docs note that the prompt cache lasts one hour on a subscription, and five minutes on usage credits or an API key. If you step away for ten minutes on an API key, your next turn pays to rebuild the cache. Keep that in mind when you compare the two ways of paying.</p><h3>7. Workflows most people miss</h3><p>These are the lesser-known ways to run agents and Claude Code on the platform.</p><p><strong>Sonnet plus an advisor as your standard agent setup.</strong> For long agent loops, Sonnet 5 with an Opus or Fable advisor matches the configuration Anthropic says keeps cost flat or lower while raising quality. Set max_uses, count calls per conversation, and turn on advisor caching once runs regularly pass three consultations.</p><p><strong>Haiku swarms with an advisor.</strong> For high-volume work such as triage, research, or data cleanup, Haiku 4.5 with an Opus advisor is the budget option. The launch numbers showed it more than doubling Haiku’s solo score for a fraction of Sonnet’s cost. Test on your own data first.</p><p><strong>Budget-capped headless runs.</strong> Claude Code’s non-interactive mode (claude -p) runs in scripts and CI. A budget flag, --max-budget-usd, caps the dollar spend of a run, and the data residency multiplier is counted toward it. Pair it with a workspace spend limit so a runaway job hits two walls.</p><p><strong>Scheduled loops, measured.</strong> Claude Code’s /loop and scheduled tasks show up in /usage with per-run and total tokens, the most expensive first. Check them weekly. A loop that fires every five minutes is an easy line item to overlook.</p><p><strong>/insights for behavior, not tokens.</strong> It analyzes up to 200 recent sessions and writes an HTML report on friction points, such as misunderstood requests and buggy output, with suggestions. The report itself uses tokens, so run it now and then, not daily.</p><p><strong>Batch your evals.</strong> Build a test set in the Console’s evaluation tool, then run large sweeps through the Batch API at half price. Use them to find the cheapest model and effort level that still clears your quality bar.</p><p><strong>Contract rates in Claude Code.</strong> If your organization has negotiated pricing, admins can set a modelPricing managed setting so /usage and OpenTelemetry show your real rates instead of list price. It changes what gets reported, not what you are charged.</p><p><strong>Fast mode, on purpose.</strong> When latency matters more than money, such as a live incident, Opus 5.5 fast mode is available at $8/$40. Turn it on for that job and turn it off afterward. It doesn’t work with Batch.</p><p><strong>Code execution alongside web tools.</strong> Code execution is free when it runs with the current web search or web fetch tools. On its own, each organization gets 1,550 free hours a month, then $0.05 per hour per container.</p><h3>8. API billing vs. a subscription for Claude Code</h3><p>This is a real choice, and the answer depends on how you work.</p><p><strong>Subscription plans.</strong> Third-party trackers such as Morph and CloudZero, citing claude.com/pricing in September 2026, report Pro at $20 a month ($17 billed annually), Max at $100 or $200, Team Standard seats at $25 ($20 annually), Team Premium at $125 ($100 annually), and Enterprise at $20 per seat plus usage at API rates. Anthropic’s own pricing page loaded without detail during research, so check it before you buy. Subscriptions meter Claude Code against a rolling five-hour window and a weekly limit, shared with your chat use. Paid plans can add <strong>usage credits</strong> at standard API rates once you pass your plan’s limit. The help center sets a daily redemption limit of $2,000, a monthly spending cap, and alerts.</p><p><strong>Why the API and Console win for agents and teams:</strong></p><ul><li><strong>No session or weekly caps.</strong> You are limited by rate limits and your own spend limits, not a usage window. That fits bursty work and automation.</li><li><strong>Governance.</strong> Per-user spend limits in the Claude Code workspace, workspace-level caps, roles, and the Admin API.</li><li><strong>Attribution.</strong> The Console dashboard shows spend and accepted lines per member. The Claude Code Analytics API returns the same daily per-user figures in code.</li><li><strong>One bill for everything.</strong> Your production agents, evals, and Claude Code share billing, reporting, and tooling.</li><li><strong>Full platform features.</strong> Batch, the advisor tool with any executor you like, Managed Agents, and admin automation.</li></ul><p><strong>Why a subscription can win:</strong></p><ul><li><strong>Predictable cost</strong> for one heavy interactive user.</li><li><strong>Longer prompt cache</strong> (one hour versus five minutes), which helps if you work in bursts with breaks.</li><li><strong>Bundled chat</strong> and other Claude apps.</li></ul><p>A practical split: developers who code interactively all day often do better on Max. Automation, CI, shared agents, and teams that need per-person budgets belong on the Console. If you mix them, make sure each developer’s machine uses the login method you expect. The stray-API-key trap is the most common cause of surprise double billing.</p><h3>9. Managing it: dashboards, limits, keys, and admin APIs</h3><h3>The dashboards</h3><ul><li><strong>Usage page</strong> (platform.claude.com/usage): token and request charts, plus two rate limit charts. The input-token chart shows your cache hit rate. It is the fastest way to see whether caching is working.</li><li><strong>Cost page:</strong> spending by model, workspace, and API key.</li><li><strong>Claude Code dashboard:</strong> per-member spend and accepted lines.</li><li><strong>Rate limits page:</strong> your tier, current limits, and the button to request an increase.</li></ul><p>Claude Code’s /usage estimate is computed on your machine at list price. For authoritative billing, use the Console.</p><h3>Limits and alerts</h3><p>Layer them:</p><ol><li>An organization spend limit below your tier cap.</li><li>Workspace spend limits with threshold alerts, one per project or environment.</li><li>Per-user monthly limits in the Claude Code workspace.</li><li>Workspace rate limits so no single workload starves the others. You can’t set limits on the Default Workspace, which is another reason to keep production traffic out of it.</li></ol><p>For rate limits, the Claude Code docs give per-user starting points that shrink as teams grow, because fewer people use it at the same moment. For 1 to 5 users, 200k to 300k tokens per minute each. For 100 to 500 users, 15k to 20k each. Their example: 200 users at 20k each means requesting 4 million TPM in total.</p><h3>Key management and rotation</h3><p>Anthropic’s help center recommends rotating keys on a regular schedule, for example every 90 days, by creating new keys and deactivating old ones. It also recommends scanning repositories for committed secrets with tools like Gitleaks. Anthropic works with GitHub secret scanning: when a Claude API key shows up in a public repository, GitHub notifies Anthropic.</p><p>A clean rotation: create the new key, deploy it, confirm traffic works, then deactivate the old one. Setting an expiration at creation makes rotation the default. Service account keys for shared workloads mean no key belongs to someone who might leave.</p><h3>The Admin API family</h3><p>Once you have an organization, an <strong>Admin API key</strong> (it starts with sk-ant-admin) opens up programmatic management. Only org admins can create one, under Settings &gt; Admin keys. One key works across the admin APIs:</p><ul><li><strong>Admin API:</strong> members, invites, workspaces, and API keys. It can list, rename, deactivate, and archive keys, but it cannot create them. New keys come only from the Console.</li><li><strong>Usage and Cost API:</strong> historical usage and cost data, grouped by model, workspace, or key, in time buckets.</li><li><strong>Claude Code Analytics API:</strong> daily per-user Claude Code metrics. It is free to use.</li><li><strong>Rate Limits API</strong> and <strong>Spend Limits API:</strong> read and manage limits in code.</li></ul><p>The Admin API is not available for individual accounts. Anthropic’s Usage and Cost API docs also list ready-made monitoring integrations from CloudZero, Datadog, Grafana Cloud, Harness, Honeycomb, and Vantage. For per-user attribution on cloud providers, the Claude Code docs point to OpenTelemetry export, a self-hosted Claude apps gateway, or an LLM gateway such as LiteLLM, which Anthropic notes it has not audited for security.</p><h3>Team governance checklist</h3><ul><li>Separate workspaces for production, staging, experiments, and Claude Code.</li><li>New members start as <strong>user</strong> and get promoted when needed.</li><li>Service account keys for shared workloads, personal keys for individuals.</li><li>Expirations on every key and a 90-day rotation.</li><li>A weekly cost review by workspace and model, pulled through the Usage and Cost API.</li><li>A pinned model list for Claude Code using availableModels in managed settings, so nobody quietly defaults to the most expensive tier.</li></ul><h3>10. Tools hiding in plain sight</h3><p><strong>Workbench.</strong> The Console’s playground for testing prompts against any current model, adjusting parameters, and exporting working code. Running a prompt there is a normal API call and bills like one.</p><p><strong>Prompt generator.</strong> Describe a task and it writes a structured prompt template with variables. It gets you past the blank page.</p><p><strong>Prompt improver.</strong> It takes an existing template, keeps its variables, and rewrites it using Anthropic’s prompt-engineering practices, including step-by-step reasoning and XML structure. The docs warn that the improved prompts produce longer, more thorough, but slower responses. For latency- or cost-sensitive work, use a simpler prompt.</p><p><strong>Evaluation tool.</strong> It separates the fixed and variable parts of a prompt, generates test cases, and compares prompt versions side by side. Use it before you change a production prompt or downgrade a model.</p><p><strong>Token counting endpoint.</strong> It is free, with its own rate limits separate from message creation. Use it to price a request before you send it, to route by size, and to measure the tokenizer difference before a migration. It returns an estimate and doesn’t apply caching.</p><p><strong>Files API.</strong> Upload a document once and reference it across requests. Uploading, listing, and deleting files carries no token charge. You pay only when a file’s content enters a request.</p><p><strong>Memory tool.</strong> Covered above. It is the simplest way to give an agent persistent notes that survive compaction.</p><p><strong>Claude Code extension points:</strong></p><ul><li><strong>Hooks</strong> run your scripts at set points, such as before a tool call. Use them to filter output, enforce rules, or block risky commands.</li><li><strong>Slash commands and skills</strong> package repeatable workflows. Skills load only when invoked, which keeps base context small.</li><li><strong>Subagents</strong> run in their own context with their own model and effort settings.</li><li><strong>Plugins</strong> bundle skills, hooks, subagents, and MCP servers into one install. Browse them with /plugin.</li><li><strong>MCP</strong> connects external tools and data sources.</li><li><strong>/context</strong> shows what is taking up your context window: system prompt, CLAUDE.md, MCP servers, skills.</li><li><strong>/usage</strong> shows session cost and, on paid plans, breaks usage down by skill, subagent, plugin, and MCP server, with flags for behaviors like cache misses.</li></ul><p><strong>Managed Agents.</strong> If you would rather not run your own agent loop, Claude Managed Agents is Anthropic’s hosted agent infrastructure. Its tokens are billed at standard model rates, and its endpoints have their own rate limits.</p><h3>11. Caveats worth knowing</h3><ul><li><strong>Benchmarks are Anthropic’s own.</strong> The advisor results come from Anthropic’s internal evaluations. The docs call them directional, not guarantees. Some of the newest comparisons rest on one run per configuration. Test on your own workload.</li><li><strong>The advisor is beta and experimental.</strong> The header, pairings, and pricing behavior may change. Claude Code labels it experimental and warns it may use more tokens.</li><li><strong>Subscription prices come from third-party checks.</strong> The plan prices here come from independent trackers such as Morph and CloudZero citing claude.com/pricing in September 2026. Anthropic’s pricing page did not return plan details during research. Confirm before you buy.</li><li><strong>Averages hide the tails.</strong> The $13-per-active-day Claude Code figure is an enterprise average. Parallel sessions, agent teams, and overnight loops can push individuals far higher.</li><li><strong>Tokenizer drift.</strong> Moving to Claude 4.7 or later can raise token counts by up to about 35% for the same text, according to Anthropic’s Opus 4.7 release notes. Count before you commit.</li><li><strong>Rate limits are ceilings, not guarantees.</strong> Anthropic states that limits are maximums, not guaranteed minimums. Sudden traffic spikes can also trigger acceleration limits, so ramp up new agent traffic gradually.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ed54208b246" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I’m Scared AI Will Replace Me, and I’m Not Sure That Fear Is Irrational]]></title>
            <link>https://dzeaulfath.medium.com/im-scared-ai-will-replace-me-and-i-m-not-sure-that-fear-is-irrational-0fdeb32c4ef4?source=rss-2e24326f83d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0fdeb32c4ef4</guid>
            <category><![CDATA[dunning-kruger-effect]]></category>
            <category><![CDATA[impostor-syndrome]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Dzeaulfath]]></dc:creator>
            <pubDate>Sat, 05 Sep 2026 15:16:00 GMT</pubDate>
            <atom:updated>2026-09-05T15:16:00.892Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2qfS3-nvIlNu1aXJ" /><figcaption>Photo by <a href="https://unsplash.com/@ugur?utm_source=medium&amp;utm_medium=referral">Ugur Akdemir</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Last week I opened a data scientist job posting and stopped halfway through the requirements section. Not because the role looked hard. Because I didn’t recognize half the tools on the list.</p><p>I’ve been doing this work for a while. I know my way around the fundamentals. And still, there it was: a list of frameworks I’d never touched, methods I’d only half-read about in a paper I bookmarked and never finished, an AI-adjacent tool stack that seemed to have appeared overnight. I closed the tab. Then I opened five more job postings just to check, and the feeling didn’t go away. It got worse.</p><p>Here’s the part that’s hard to say out loud. It’s not just that I don’t know these tools. It’s that I look around and see people who clearly do, people who talk about this stuff with the kind of ease that only comes from actually using it every day. And the gap between what I know and what they know feels like it’s growing, not shrinking, even though I’m working just as hard as I was a year ago.</p><p>I know the names for this feeling. Impostor syndrome. Maybe a flavor of Dunning-Kruger, where I know enough to see how much I don’t know, which makes the hole feel bigger than it would if I knew nothing at all. Naming it doesn’t make it go away. It just means I can describe the fear more precisely while still feeling it.</p><h3>The fear isn’t really about the tools</h3><p>If I’m honest, the tools aren’t the actual problem. Tools change constantly in this field. I’ve learned new ones before. What’s underneath the fear is something less specific and harder to fix: the sense that the floor itself is moving. A few years ago, being a competent data scientist meant knowing statistics, knowing how to clean a dataset without destroying it, knowing which model fit which problem. Now there’s a layer of AI tooling sitting on top of all of that, changing what “competent” even means, and it’s changing faster than I can read about it, let alone practice it.</p><p>So when I see a job requirement I don’t recognize, I’m not just worried about that one skill gap. I’m worried about a moving target I can’t keep pace with. That’s a different kind of fear than “I need to learn pandas better.” It’s closer to: what if the thing I’m becoming an expert in keeps getting redefined out from under me?</p><p>And then there’s the comparison problem, which might be the part that actually hurts the most. It’s easy to find someone online who seems to have absorbed every new method the week it dropped. I don’t know what their actual day looks like. I don’t know how much of what they post is fluency and how much is performance. But my brain doesn’t care about that distinction. It just registers: they know this, I don’t, therefore I’m behind.</p><h3>What I keep getting wrong about this</h3><p>Here’s where I try to be fair to myself, because the fear, left alone, tells a pretty distorted story.</p><p>The story says everyone else has mastered this and I’m the only one faking it. That’s almost certainly false. Most people in this field are patching together knowledge in real time, same as I am, and the ones who look effortlessly fluent are usually further along the same learning curve I’m on, not standing on some different plane entirely.</p><p>The story also says not knowing a tool today means I can’t learn it tomorrow. That’s the part Dunning-Kruger gets twisted into when it’s used against yourself instead of as a description of someone else’s overconfidence. Knowing what you don’t know is supposed to be the first step toward learning it, not proof that you’re behind for good.</p><p>And the story conveniently leaves out everything I do know how to do. I can take a messy, ambiguous problem and figure out what’s actually worth measuring. I can tell when a model’s good performance is hiding a bad assumption. I can explain a result to someone who doesn’t care about the math, in a way that actually changes a decision. None of that shows up on a tool checklist. All of it is the part AI is, at least for now, worse at than a person who’s actually done the work.</p><h3>Where that leaves me</h3><p>I don’t think the fear goes away by deciding to feel differently about it. It goes away, if it goes away at all, by doing something with it. So instead of treating every unfamiliar tool on a job posting as proof I’m falling behind, I’m trying to treat it as a list. Just a list. Something to pick from, one item at a time, instead of a verdict on whether I belong here.</p><p>I’m also trying to stop measuring myself against a version of “everyone else” that I made up out of LinkedIn posts and conference talks. The real comparison, the only one that’s actually useful, is between where I was six months ago and where I am now. That comparison, most weeks, says I’m moving forward. Slower than I’d like. But forward.</p><p>I don’t know if AI replaces parts of what I do. Some of it, probably. I think it already has. What I’m less sure of, and what I’m trying to actually believe instead of just say, is that the parts of this job that come from judgment, context, and knowing which question is worth asking in the first place are the parts I should be building on, instead of grading myself against a tool list I’ll never fully finish.</p><blockquote>If you’re reading this and nodding along, I want to say something directly to you. You made it far enough into this field to even notice the gap. That alone puts you ahead of where you were when you started, and probably further along than the fear is letting you give yourself credit for. The people who look like they have it all figured out are scrolling the same job postings, hitting the same unfamiliar acronyms, and quietly Googling things at 11pm too. You’re not behind some finish line that everyone else already crossed. You’re in the same race, on the same unfinished track, and you’re still moving. That’s worth a little celebration on its own, not just relief once the fear finally lifts.</blockquote><p>Since we’ve spent this whole piece being earnest, let’s close on something lighter. A few things I’ve learned along the way, free of charge:</p><ul><li>Job postings ask for five years of experience in a framework that’s three years old. I would love to meet that candidate. I assume they don’t sleep and have never once blinked.</li><li>Impostor syndrome was supposed to be a feeling that visits sometimes. Mine moved in permanently, started splitting the rent, and now leaves comments on my code.</li><li>I asked an AI model if it was coming for my job. It said probably not the part where I get yelled at in a stakeholder meeting at 4pm on a Friday. Generous of it. I’m keeping that one.</li><li>And somewhere right now, someone smarter than me is reading a post exactly like this one, convinced they’re the only person who doesn’t get it. To that person: hi. We’re tied for last place. Pull up a chair.</li></ul><p>Anyway. Back to learning a tool I’ll forget the name of in eighteen months.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0fdeb32c4ef4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Bottom Rung Is Disappearing]]></title>
            <link>https://dzeaulfath.medium.com/the-bottom-rung-is-disappearing-ead6ff13ebb4?source=rss-2e24326f83d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ead6ff13ebb4</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Dzeaulfath]]></dc:creator>
            <pubDate>Mon, 31 Aug 2026 10:16:01 GMT</pubDate>
            <atom:updated>2026-08-31T10:16:01.147Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5_U3E3AEtCJ-Rhaa" /><figcaption>Photo by <a href="https://unsplash.com/@maxon?utm_source=medium&amp;utm_medium=referral">Maksym Ostrozhynskyy</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A computer science degree used to be the safest bet in the job market. Apply, intern, get hired, climb. That ladder is wobbling now, and the wobble starts at the bottom.</p><p>In November 2025, researchers at Stanford’s Digital Economy Lab published a paper with an unsettling title: “Canaries in the Coal Mine?” They pulled payroll records from ADP, the country’s largest payroll processor, covering millions of workers across tens of thousands of companies. The finding: workers aged 22 to 25 in jobs most exposed to AI saw employment fall 16 percent relative to older workers and to young workers in less exposed fields. Older workers in the same jobs held steady. Young workers in different jobs held steady too. The drop landed specifically on people doing AI-automatable work, at the start of their careers, and nowhere else.</p><p>That number is what everyone in this debate argues about now. But the real story isn’t the number itself. It’s what the number means for how people become experts in the first place.</p><h3>Where it’s already showing up</h3><p>Start with software engineering, the field furthest along this curve. SignalFire’s 2025 State of Tech Talent report, built from data on roughly 650 million professionals, found new graduates now make up just 7 percent of hires at the 15 largest tech companies, down from about 15 percent before the pandemic. Salesforce CEO Marc Benioff told investors in February 2025 the company would not hire new software engineers that year, crediting a productivity jump from its in-house AI agents. SignalFire’s head of talent put the new mindset plainly: lean is in, and companies want experience over potential.</p><p>Law is following a similar path. AI now drafts contracts, reviews documents, and researches case law faster than most first-year associates. A 2026 industry survey of more than 1,300 legal professionals found 39 percent of respondents expected fewer paralegal and support roles, and 21 percent expected fewer junior associate positions. Baker McKenzie cut between 600 and 1,000 business-services jobs in February 2026, citing AI integration. It’s the largest AI-attributed cut in the legal industry so far.</p><p>Finance shows the same tension, with sharper rhetoric attached to it. Citigroup CEO Jane Fraser has said some roles simply won’t be needed going forward. JPMorgan’s Jamie Dimon has said AI will eliminate jobs. Reports in 2024 suggested major banks were weighing cuts to incoming analyst classes of up to two-thirds. And yet a Fortune analysis from December 2025 found headcount at Goldman Sachs, JPMorgan, and Bank of America essentially flat or rising through the year, with some analysts calling the AI-takeover narrative more marketing than reality, at least for now.</p><p>Consulting firms are quietly redrawing their org charts. The traditional pyramid, many juniors supporting a few partners, is giving way to something flatter. The UK’s Big Four cut graduate intakes across the board in 2024, with KPMG down 29 percent. McKinsey, BCG, and Bain have frozen graduate starting salaries for three years running. McKinsey has also announced plans to grow its North American workforce 12 percent in 2026, with an emphasis on entry-level roles, a reminder that the shrinkage isn’t uniform even within one industry.</p><p>Customer service offers the cautionary tale that gets cited most often. Klarna replaced about 700 customer-service workers with an OpenAI-powered assistant in 2024 and claimed a $40 million improvement to its bottom line. It reversed course in 2025, rehiring humans after customer satisfaction dropped. CEO Sebastian Siemiatkowski later admitted cost had been too dominant a factor in that decision. The lesson other companies are drawing from Klarna isn’t that the AI failed. It’s that cutting the cheap, visible cost of junior salaries can hide a more expensive one: the judgment and escalation-handling that junior staff quietly absorb on the job.</p><h3>The part that doesn’t show up on a quarterly earnings call</h3><p>Junior roles have never been just about output. A first-year analyst building spreadsheets, a first-year associate marking up contracts, a junior engineer fixing bugs in someone else’s code: none of that work is valuable mainly for what it produces. It’s valuable for what it teaches. People learn to spot a weak argument by reading a hundred weak ones. They learn what a healthy codebase looks like by working inside a messy one. That’s the apprenticeship function of entry-level work, and it’s largely invisible on any spreadsheet a CFO looks at.</p><p>LinkedIn’s chief economic opportunity officer, Aneesh Raman, wrote about this in a May 2025 New York Times op-ed. His argument: office workers are now facing the kind of disruption manufacturing workers faced decades ago, and the bottom rung of the career ladder is breaking first. He pointed out that delayed career entry can cost a young worker tens of thousands of dollars in lifetime earnings, even after they eventually catch up.</p><p>A McKinsey partner quoted by Bloomberg made a related point about banking specifically. Junior analysts today become tomorrow’s managing directors, and that kind of senior judgment can’t be manufactured laterally. A company can’t hire its way around a missing generation of trained experts. It has to grow them, and growing them takes years nobody currently budgets for.</p><p>This is the part of the story that won’t show up in this year’s numbers or even next year’s. If companies are quietly skipping the training years for an entire cohort right now, the bill comes due around 2040, when that cohort should be running departments and instead has a decade-long hole in its judgment. By the time the damage is visible, it’s already too late to cheaply fix.</p><p>There’s also a coordination problem buried in here. Training a junior employee is expensive, and the payoff is years away. Any single company can reason that competitors will do the training instead, and it can hire the finished product later. If every company makes that same calculation, nobody trains anyone, and the talent pool everyone is counting on simply doesn’t exist when they go looking for it.</p><h3>The case against panic</h3><p>It would be dishonest to present this as settled. Several careful studies find very little disruption so far. The Yale Budget Lab tracked occupational data for roughly 33 months after ChatGPT’s launch and found no clear shift in the overall mix of jobs people hold. Yale economist Martha Gimbel summed up her own findings simply: no matter how you look at the data right now, there’s no sign of major macroeconomic effects, though that says nothing about the future. A separate study of Danish workers across eleven AI-exposed occupations, led by University of Chicago economist Anders Humlum, found essentially no effect on earnings or hours through 2024.</p><p>History offers a useful caution too. When ATMs spread across the United States, growing from almost none to roughly 400,000 machines, the number of bank tellers didn’t fall. It rose, from about 300,000 to over 550,000, because cheaper-to-run branches multiplied and tellers shifted toward relationship banking. Automating a task doesn’t automatically shrink a profession. Sometimes it changes what the job is and makes room for more of it. The honest footnote is that teller jobs did eventually decline, once mobile banking removed the reason people walked into branches at all. Automation bought time that round. It didn’t buy permanent immunity.</p><p>Some of what looks like AI disruption may also be something else wearing an AI label. A 2026 Yale Budget Lab analysis raised the possibility that certain layoffs attributed to AI are really “AI-washing,” a convenient story for cuts that have other causes: high interest rates, post-pandemic over-hiring, rising employer costs, or plain economic caution. Disentangling AI’s effect from everything else happening in the labor market at the same time is genuinely hard, and any source offering a clean, simple number is probably oversimplifying.</p><h3>What this actually changes</h3><p>None of this means the apprenticeship concern is wrong. It means the picture is uneven, contested, and early. The strongest, most carefully sourced evidence available, the Stanford payroll study, points at something real and specific: a measurable, relative decline in employment for young workers in the most AI-exposed jobs, concentrated in roles where AI replaces rather than assists. That’s narrower than “AI is taking all the jobs,” and more useful, because it shows exactly where to look.</p><p>For someone entering the workforce now, the practical shift is in what gets rewarded. Producing competent, AI-assisted output is no longer the differentiator. Everyone can do that. What’s scarce is the ability to catch what AI gets wrong, trace a problem back to its source, and make a judgment call when the obvious answer is also the wrong one. Those are exactly the skills junior roles used to teach by accident, through sheer repetition. If companies stop teaching them by accident, someone has to teach them on purpose, whether that’s a new hire pushing for real responsibility instead of AI-supervised busywork, or an employer redesigning junior roles around judgment instead of throughput.</p><p>The US Department of Labor took a small step in that direction in April 2026, launching an initiative to build AI skills directly into registered apprenticeship programs. It’s a narrow fix for a wide problem, but it’s also one of the only concrete policy responses so far to a question that, by its nature, won’t show its full cost for another decade.</p><p><strong>References</strong></p><p>The San Francisco Standard. “Marc Benioff Says Salesforce Will Hire No Engineers This Year Due to AI.” 2025. <a href="https://sfstandard.com/2025/02/27/salesforce-marcbenioff-layoffs-tech-agents/">https://sfstandard.com/2025/02/27/salesforce-marcbenioff-layoffs-tech-agents/</a></p><p>SignalFire. “The SignalFire State of Tech Talent Report.” 2025. <a href="https://www.signalfire.com/blog/signalfire-state-of-talent-report-2025">https://www.signalfire.com/blog/signalfire-state-of-talent-report-2025</a></p><p>Stanford Digital Economy Lab. “Canaries, Interest Rates, and Timing: More on the Recent Drivers of Employment Changes for Young Workers.” 2026. <a href="https://digitaleconomy.stanford.edu/news/canaries-interest-rates-and-timinga-more-on-recent-drivers-of-employment-changes-for-young-workers/">https://digitaleconomy.stanford.edu/news/canaries-interest-rates-and-timinga-more-on-recent-drivers-of-employment-changes-for-young-workers/</a></p><p>The Agency Recruiting. “2026 Legal Hiring Trends: AI Impact on Law Firm Staffing.” 2026. <a href="https://www.theagencyrecruiting.com/insights/ai-impact-legal-hiring-2026">https://www.theagencyrecruiting.com/insights/ai-impact-legal-hiring-2026</a></p><p>LawSites. “AI Adoption Among Legal Professionals Has More Than Doubled in a Year.” 2026. <a href="https://www.lawnext.com/2026/03/ai-adoption-among-legal-professionals-has-more-than-doubled-in-a-year-new-8am-report-finds-but-firms-lag-far-behind-individual-practitioners.html">https://www.lawnext.com/2026/03/ai-adoption-among-legal-professionals-has-more-than-doubled-in-a-year-new-8am-report-finds-but-firms-lag-far-behind-individual-practitioners.html</a></p><p>Bloomberg. “Wall Street Expected to Shed 200,000 Jobs as AI Erodes Roles.” 2025. <a href="https://www.bloomberg.com/news/articles/2025-01-09/wall-street-expected-to-shed-200-000-jobs-as-ai-erodes-roles">https://www.bloomberg.com/news/articles/2025-01-09/wall-street-expected-to-shed-200-000-jobs-as-ai-erodes-roles</a></p><p>Fortune. “Is AI Really Killing Finance and Banking Jobs? Wall Street’s Layoffs May Be More Hype Than Takeover.” 2025. <a href="https://fortune.com/2025/12/21/is-ai-killing-finance-and-banking-jobs-experts-say-wall-street-layoffs-hype-than-takeover/">https://fortune.com/2025/12/21/is-ai-killing-finance-and-banking-jobs-experts-say-wall-street-layoffs-hype-than-takeover/</a></p><p>Digital Applied Team. “Klarna Reverses AI Layoffs: Why Replacing 700 Workers Failed.” <a href="https://www.digitalapplied.com/blog/klarna-reverses-ai-layoffs-replacing-700-workers-backfired">https://www.digitalapplied.com/blog/klarna-reverses-ai-layoffs-replacing-700-workers-backfired</a></p><p>Fortune. “If AI Is Roiling the Job Market, the Data Isn’t Showing It, Yale Budget Lab Report Says.” 2026. <a href="https://fortune.com/2026/02/02/ai-labor-market-yale-budget-lab-ai-washing/">https://fortune.com/2026/02/02/ai-labor-market-yale-budget-lab-ai-washing/</a></p><p>Yahoo News. “AI Is ‘Breaking’ Entry-Level Jobs That Gen Z Workers Need to Launch Careers, LinkedIn Exec Warns.” 2025. <a href="https://www.yahoo.com/news/ai-breaking-entry-level-jobs-175129530.html">https://www.yahoo.com/news/ai-breaking-entry-level-jobs-175129530.html</a></p><p>U.S. Department of Labor. “US Department of Labor Launches Landmark Initiative to Integrate Artificial Intelligence Skills Into Registered Apprenticeships Nationwide.” 2026. <a href="https://www.dol.gov/newsroom/releases/eta/eta20260401">https://www.dol.gov/newsroom/releases/eta/eta20260401</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ead6ff13ebb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Graph Engineering with Claude]]></title>
            <link>https://dzeaulfath.medium.com/graph-engineering-with-claude-d76d7011d848?source=rss-2e24326f83d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d76d7011d848</guid>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[langgraph]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <dc:creator><![CDATA[Dzeaulfath]]></dc:creator>
            <pubDate>Sun, 23 Aug 2026 10:59:19 GMT</pubDate>
            <atom:updated>2026-08-23T10:59:19.393Z</atom:updated>
            <content:encoded><![CDATA[<h4>Two ways to build an agent on graphs, and how to know which one you actually need</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3gRAqrD4xkzBr0IZ" /><figcaption>Photo by <a href="https://unsplash.com/@ishalyminov?utm_source=medium&amp;utm_medium=referral">Igor Shalyminov</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Most people who say they are doing “graph engineering” with AI agents are talking about one of two completely different things, and they usually do not realize it.</p><p>The first group means architecture. They build the agent as a graph: nodes that do work, edges that decide what runs next, a state object threading through the whole thing. LangGraph made this the default way to draw an agent.</p><p>The second group means data. They build a graph out of their documents, turning entities into nodes and relationships into edges, then let the agent query that structure instead of a pile of text chunks. This is GraphRAG.</p><p>Both are real. Both are useful. They also connect in a way that most write-ups skip past, and the connection is the whole point: in a graph-structured runtime, retrieval is just a node and memory is just part of the state. One graph holds facts about the world. The other holds the plan for what to do next.</p><p>This piece covers both, plus how to wire them together, plus the parts vendors do not put in the launch post. Anthropic reports that multi-agent systems burn about 15 times the tokens of a chat. Microsoft states that full GraphRAG indexing runs at roughly 1000 times the cost of vector indexing. Those numbers should shape your architecture more than any feature list.</p><h3>Start by not building this</h3><p>Before anything else, the boring advice.</p><p>Anthropic’s own guidance in <em>Building Effective Agents</em> is that the most successful implementations use simple, composable patterns rather than complex frameworks. Most production agents are an LLM calling tools in a loop. That is it. No graph library, no knowledge graph, no orchestration layer.</p><p>If your task is a single call with retrieval and a few examples, make a single call. If it is a fixed sequence with no branching and no looping, a prompt chain is enough. A graph runtime for a two-step task is over-engineering with extra steps.</p><p>Add structure when a measured failure demands it. Not before.</p><p>That framing matters because the rest of this article describes machinery. Machinery is fun to build and expensive to operate. Every section below should be read as “here is what this buys you, and here is when the purchase is worth it.”</p><h3>What a graph-based agent actually is</h3><p>Strip away the framework marketing and a graph-based agent is a state machine.</p><p>You define three things. A state schema, which is the data flowing through the system. A set of nodes, which are functions that read state and return updates to it. A set of edges, which decide which node runs next, sometimes conditionally.</p><p>The runtime executes a node, merges its output into state, follows an edge, and repeats until it hits an end condition. Everything else you have heard about (checkpointing, interrupts, multi-agent topologies) is built on top of that loop.</p><p>The abstraction exists because of what comes before it. A single LLM call is a function. A prompt chain is a fixed sequence of functions. Neither can loop based on a result, pause for a human, branch on a classification, or resume after a crash.</p><p>The moment your agent needs any of those, you are building a state machine whether you admit it or not. You can hand-roll it with a while loop and a dictionary, or you can use a runtime that hands you state management, persistence, and observability for free.</p><p><strong>What the graph runtime actually buys you</strong> comes down to four things.</p><ul><li>Persistence, so a crash resumes from the last checkpoint instead of starting over and re-burning tokens.</li><li>Controllability, so you can force a branch or a pause instead of hoping the model behaves.</li><li>Inspectability, so you can see the exact path taken and the state at every step.</li><li>Recovery, so a failed node retries without replaying side effects.</li></ul><p>If none of those four are problems you currently have, you do not need a graph runtime yet.</p><h3>The five patterns worth memorizing</h3><p>Anthropic’s writeup catalogs a set of workflow patterns that map cleanly onto graph nodes, and they are worth knowing by name because most agent architectures are one of them or a combination.</p><ol><li><strong>Prompt chaining</strong> is a fixed sequence. Step one feeds step two.</li></ol><p><strong>2. Routing</strong> classifies the input, then dispatches to a specialized path. Cheap queries to a small model, hard ones to a large one.</p><p><strong>3. Parallelization</strong> splits work into independent pieces, either by sectioning a task or by running the same task several times and voting.</p><p><strong>4. Orchestrator-workers</strong> has a lead agent dynamically decompose a task, spawn workers, and synthesize their output. This is the pattern behind most “multi-agent” systems.</p><p><strong>5. Evaluator-optimizer</strong> loops. One node generates, another critiques, and control routes back until quality passes.</p><p>Anthropic draws a distinction that clarifies a lot of confused discourse. Workflows are LLMs orchestrated through predefined code paths. Agents are LLMs that dynamically direct their own process. Graph runtimes handle both, which is why they became the default substrate rather than a niche tool.</p><h3>The mechanics, concretely</h3><p>Here is what the machinery looks like. I am using LangGraph syntax because it is the most widely deployed, but the concepts carry across frameworks.</p><p><strong>Nodes, edges, and shared state.</strong> A node reads state and returns a partial update. The runtime merges those updates using per-field reducers, which specify whether a field gets appended to or overwritten. Edges are either fixed or conditional, where a function inspects state and returns the name of the next node.</p><pre>from langgraph.graph import StateGraph, START, END<br>from typing_extensions import TypedDict</pre><pre>class State(TypedDict):<br>    query: str<br>    docs: list<br>    answer: str</pre><pre>def retrieve(state: State):<br>    return {&quot;docs&quot;: kg_search(state[&quot;query&quot;])}   # a retrieval node</pre><pre>def generate(state: State):<br>    return {&quot;answer&quot;: llm(state[&quot;query&quot;], state[&quot;docs&quot;])}</pre><pre>g = (StateGraph(State)<br>     .add_node(&quot;retrieve&quot;, retrieve)<br>     .add_node(&quot;generate&quot;, generate)<br>     .add_edge(START, &quot;retrieve&quot;)<br>     .add_edge(&quot;retrieve&quot;, &quot;generate&quot;)<br>     .add_edge(&quot;generate&quot;, END)<br>     .compile())</pre><p>That tiny graph is the entire “retrieval as a node, memory as state” idea in miniature. Hold onto it, because the knowledge graph section plugs directly into that retrieve function.</p><p><strong>Cycles.</strong> Edges can point backward. An evaluator routes back to a generator until quality passes or a counter trips. Always add the counter. An unbounded cycle is the graph-runtime version of an infinite loop, and it spends real money while it spins.</p><p><strong>Checkpointing.</strong> The checkpointer persists state after each step to memory, Postgres, Redis, or similar. This one feature enables resume-after-crash, time-travel debugging, and human pauses.</p><p>LangGraph exposes durability as a dial. Sync mode writes every checkpoint before continuing, at some performance cost. Async writes while the next step runs, with a small risk of losing a checkpoint on crash. Exit persists only at the end, which is fastest and gives you no mid-run recovery.</p><p><strong>Human-in-the-loop interrupts.</strong> An interrupt() call pauses the graph, surfaces a payload to the caller, and waits. The human answers, and you resume with a Command(resume=value).</p><pre>from langgraph.types import interrupt, Command</pre><pre>def approval(state):<br>    ok = interrupt({&quot;question&quot;: &quot;Approve?&quot;, &quot;amount&quot;: state[&quot;amount&quot;]})<br>    return {&quot;status&quot;: &quot;approved&quot; if ok else &quot;rejected&quot;}</pre><p>One detail people miss: interrupts require a checkpointer, because the pause is literally a persisted checkpoint. And put irreversible side effects after the approval node, never before it. Charging a card and then asking permission is a bug you only ship once.</p><p><strong>Command objects.</strong> A Command combines a state update and a routing decision in a single return value. A node can say &quot;update these fields, then go to node X&quot; without a separate conditional edge. This is also the mechanism behind agent-to-agent handoffs in a swarm topology.</p><h3>Checkpointing is not durable execution</h3><p>These get conflated constantly, and the difference costs money in production.</p><p>A checkpointer saves state at marked points and hands it back on the next run. You still own retries, resumption logic, and deduplicating side effects. If your agent charged a card and then crashed, the checkpointer does not know that.</p><p>Durable execution engines like Temporal, Restate, and DBOS add exactly-once execution of side effects, suspend-and-resume across arbitrary delays, and deterministic replay from an event journal.</p><p>The pattern that has settled out is two layers. LangGraph handles agent reasoning and control flow. Temporal or similar wraps it for crash-proof orchestration. Temporal shipped an official LangGraph plugin for exactly this arrangement.</p><p>Use the second layer when real side effects and long waits enter the picture, meaning hours or days rather than seconds. Skip it when your workflow finishes in minutes inside a single service.</p><h3>The other kind of graph</h3><p>Now the data side.</p><p>Standard vector RAG embeds your documents, embeds the query, and returns the nearest chunks. It works well for “find me text that looks like this.” It breaks on two kinds of question.</p><p>Multi-hop reasoning, where the answer requires connecting facts spread across separate documents. And whole-corpus questions like “what are the main themes across these 10,000 reports,” where no single chunk contains the answer and retrieving the top five chunks is meaningless.</p><p>Microsoft Research’s GraphRAG attacks both. An LLM extracts an entity-and-relationship graph from your text. Community detection (the Leiden algorithm) clusters related entities. Then summaries of each community get pre-generated at index time.</p><p>Query time has two modes. Local search fans out from specific entities to their neighbors. Global search runs a map-reduce over the community summaries, which is how it answers corpus-wide questions.</p><p>The published results are real but narrower than the marketing suggests. On global sensemaking questions over roughly one-million-token corpora, global GraphRAG beat vector RAG with comprehensiveness win rates between 72 and 83 percent, and diversity win rates from 75 to 82 percent on one corpus and 62 to 71 percent on a news corpus.</p><p>The widely quoted “97 percent fewer tokens” figure is also real and also narrow. Root-level community summaries use about 2.3 to 2.6 percent of the tokens that full source-text summarization would need. The reduction is against that map-reduce baseline, not against vector RAG.</p><h3>The benchmark nobody quotes in the pitch deck</h3><p>Read GraphRAG win rates carefully, because the evaluation method has known problems.</p><p>An independent audit (arXiv 2506.06331) found the LLM-as-judge methodology behind many of these numbers suffers from position bias, where win rates shift more than 30 percent depending on which answer appears first. Also length bias and trial bias. After correction, one reported 66.7 percent win rate for LightRAG over naive RAG dropped to roughly 39 percent.</p><p>These are judged pairwise preferences. They are not accuracy.</p><p>The most useful independent study is GraphRAG-Bench, published at ICLR 2026 under the title <em>When to use Graphs in RAG</em>, because it evaluates everything under one protocol. Its headline finding is uncomfortable for the graph vendors: GraphRAG frequently underperforms vanilla RAG on many real-world tasks, and graph structure is not a universal upgrade.</p><p>The breakdown is what makes it actionable.</p><p>On simple fact retrieval, text chunks scored 60.9 and graph scored 60.1. That is a tie, which means the graph’s structure is pure overhead for that query type.</p><p>On complex reasoning, graph beat chunks by about 10 points.</p><p>On contextual summarization, graph won by about 13 points.</p><p>The pattern is consistent. The graph advantage grows with the reasoning depth of the question. A separate study from Michigan State and Meta found the two approaches complementary, with plain RAG slightly ahead on single-hop lookup and graph-guided retrieval ahead on multi-hop.</p><blockquote><em>Graph retrieval is a specialization, not an upgrade. It wins on relational questions and ties on everything else while costing more.</em></blockquote><h3>What hybrid actually buys you</h3><p>The pragmatic answer is often to run both and merge the contexts. The HybridRAG paper from BlackRock and Nvidia (arXiv 2408.04948) did exactly that on financial earnings-call transcripts.</p><p>Hybrid matched GraphRAG on faithfulness, both at 0.96 against 0.94 for vector alone. It led on answer relevancy at 0.96 and context recall at 1.0.</p><p>Here is the part that gets left out. Hybrid was worst on context precision, scoring 0.79 against GraphRAG’s 0.96, because merging both context sources dilutes it.</p><p>So hybrid buys recall and balance. It does not sweep the board, and anyone telling you it does has not read past the abstract.</p><h3>The cost conversation</h3><p>Graph construction is an LLM job that runs at ingest time, and it is not cheap.</p><p>Microsoft’s own guidance prices indexing at roughly $0.0000113 per word with GPT-4o-mini, which works out to about $0.34 for a 30,000-word document. That number looks harmless until you multiply it by a corpus.</p><p>Microsoft’s own LazyGraphRAG announcement states that full GraphRAG indexing costs roughly 1000 times a vector baseline, with LazyGraphRAG matching Global Search quality at more than 700 times lower query cost. When the vendor ships a cheaper variant and describes the original as three orders of magnitude more expensive, believe them.</p><p>Independent measurements line up. Academic papers report both LightRAG and GraphRAG consuming on the order of 10,000 tokens to index a single document. One measurement clocked GraphRAG indexing a document set at 2,970,000 tokens, $6.67, and over five hours on DeepSeek-R1 70B. Another study measured GraphRAG global-search prompts reaching 40,000 tokens per query on hard questions.</p><p>Latency follows cost. Global search fires many LLM calls in a map-reduce. Compared to a single vector lookup, it is slow in a way users notice.</p><p>One caveat on numbers you may have seen elsewhere. A widely circulated figure of “$33,000 to index a 5GB legal dataset” comes from a blog post as an illustrative example, not from an official source. Treat it as directional at most.</p><p><strong>So when is graph retrieval worth it?</strong> When queries are relational (“what connects X and Y,” “what caused Z”), multi-hop, or corpus-global, and when a correct answer is valuable enough to justify the indexing bill. Legal due diligence, competitive intelligence, and biomedical literature all qualify.</p><p>Stay with vector RAG when queries are single-hop semantic lookups, when the corpus changes constantly (re-indexing a graph is expensive), or when latency and cost are tight.</p><p>A thirty-line router that sends relational questions to the graph and everything else to the vector store is often the correct production design. You pay for graph quality only on the queries that need it.</p><h3>Memory that knows what time it is</h3><p>Static GraphRAG assumes the corpus sits still. Agent memory does not. A preference a user stated in January can be wrong by June, and an agent that treats both statements as equally true will confidently contradict itself.</p><p>Temporal knowledge graphs solve this. Graphiti, the open-source engine behind Zep, builds bi-temporal graphs where every edge records two timelines: when the fact was true in the world, and when the system learned it, both with explicit validity intervals.</p><p>When a new fact contradicts an old one, Graphiti invalidates the old edge rather than deleting it. The agent can then answer “what did the user believe in January” and “what is true now” without the two colliding.</p><p>It organizes memory in three tiers. Episodic holds raw messages. Semantic holds extracted entities and facts. Community holds cluster summaries. Retrieval fuses cosine similarity, BM25 full-text search, and graph traversal, then reranks.</p><p>Zep’s paper (arXiv 2501.13956) reports beating MemGPT on the Deep Memory Retrieval benchmark, 94.8 percent against 93.4 percent, plus up to 18.5 percent accuracy gains on the harder LongMemEval with a 90 percent latency reduction.</p><p>Apply the usual discount. Those numbers are vendor-published, and DMR is a benchmark the competitor introduced. The architectural idea holds up regardless of whether the exact percentages replicate on your workload.</p><p>The contrast with Microsoft GraphRAG is the useful takeaway. GraphRAG pre-computes static community summaries and is expensive to update. Graphiti updates incrementally as new episodes arrive, which is the shape agent memory actually needs.</p><p>If your use case is “remember this user across months of conversation,” go temporal. If it is “answer questions over a fixed document set,” static GraphRAG or plain vector RAG is simpler and cheaper.</p><h3>The 2026 stack, rated honestly</h3><p><strong>LangGraph and LangChain.</strong> The default graph runtime, and load-bearing rather than hype. StateGraph, checkpointers across Postgres and Redis and SQLite, interrupt(), Command, and subgraphs are all first-class. It hit 1.0 general availability in October 2025.</p><p>Multi-agent topologies come built in. Supervisor, where a central agent delegates to specialists. Swarm, where agents hand off peer-to-peer via handoff tools and the system remembers the last-active agent. Hierarchical, meaning supervisors of supervisors via nested subgraphs. LangGraph now recommends the tool-calling supervisor pattern over the older langgraph-supervisor library in most cases, for tighter context control. LangSmith is the mature observability companion.</p><p><strong>Claude Agent SDK and the raw Messages API.</strong> The Agent SDK (renamed from the Claude Code SDK in late 2025) packages the same loop that powers Claude Code. Built-in file, shell, and search tools. Subagents. Hooks like PreToolUse, PostToolUse, and SubagentStop. MCP integration, automatic context compaction, and Agent Skills.</p><p>It is a harness, not a graph library. State persistence runs through sessions and MCP rather than a checkpointer, and its topology is a tool-use chain with subagents rather than an explicit node graph. That is a real distinction, not a marketing one, and it should drive your choice.</p><p>Anthropic’s stack has three layers worth naming separately. MCP is the tool protocol, donated to the Linux Foundation in December 2025. Agent Skills are portable capability packages built on SKILL.md files, published as an open standard the same month. The Agent SDK is the runtime.</p><p>For maximum control, drop to the raw Messages API with tool use. Many of these patterns are a few lines of code, and Anthropic explicitly recommends starting there before adopting any framework. The tradeoff is that the SDK is model-locked to Claude.</p><p><strong>Anthropic’s published guidance.</strong> Treat these as primary design documents rather than blog filler. <em>Building Effective Agents</em> (December 2024) defines the workflow-versus-agent split and the five patterns. <em>Effective context engineering for AI agents</em> (September 2025) reframes the job as curating the smallest set of high-signal tokens, and covers compaction, memory, and tool-clearing. <em>Writing effective tools for agents</em> covers the agent-computer interface, including the detail that Claude Code caps tool responses at 25,000 tokens by default.</p><p><strong>OpenAI Agents SDK.</strong> Successor to Swarm, which is now educational-only. Built around a single primitive, the handoff. Clean and fast to write, model-locked to OpenAI, with coarse error handling and no built-in checkpointing. Good for triage-to-specialist flows, weaker than LangGraph on complex branching and loops.</p><p><strong>CrewAI.</strong> A role-and-task DSL with the lowest learning curve and the best demo ergonomics in the category. Weaker on production observability and long-running persistence. Fine for prototyping role-based crews, less fine as the thing you run at scale.</p><p><strong>AutoGen and AG2.</strong> The conversational multi-agent research lineage. As of April 2026, Microsoft merged AutoGen and Semantic Kernel into Microsoft Agent Framework 1.0, and the original AutoGen repo moved to maintenance mode. Check the migration path before starting new work on it.</p><p><strong>LlamaIndex Workflows.</strong> Event-driven and async-first step composition. The most direct lighter-weight competitor to LangGraph, and the natural pick when the agent’s core job is reasoning over your indexed data.</p><p><strong>Pydantic AI.</strong> Type-safe agents with validated Pydantic outputs and native OpenTelemetry. The graph module is deliberately minimal. Choose it when structured, validated output is non-negotiable.</p><p><strong>Google ADK.</strong> Hierarchical agent tree optimized for Gemini, interoperating via the A2A protocol. Reasonable if you are already on Google’s stack.</p><h3>The multi-agent tax, in numbers</h3><p>Anthropic published the most useful public account of multi-agent economics, and it is worth reading closely before you build a swarm.</p><p>Their research system used orchestrator-workers. A lead agent running Claude Opus 4 planned and spawned three to five parallel subagents on Claude Sonnet 4, each with its own context window, then synthesized results through a separate citation pass. It beat single-agent Opus 4 by 90.2 percent on their internal research eval.</p><p>The bill: single agents use about four times the tokens of a chat, and multi-agent systems about fifteen times. Token usage alone explained roughly 80 percent of performance variance on their BrowseComp eval.</p><p>Anthropic is direct about where this fails. Domains that need shared context, or that have many dependencies between agents, are a poor fit. Their cited example of a bad fit is coding, because changes across files are tightly interdependent.</p><p>Multi-agent shines on breadth-first research that decomposes into genuinely independent parallel threads. The economics only work when the answer is valuable. And the published architecture has no circuit breakers, so a runaway subagent multiplies that 15x further.</p><blockquote><em>If your multi-agent system is not clearing its 15x token cost in delivered value, collapse it back to one agent with better tools.</em></blockquote><h3>Graph infrastructure, and one cautionary tale</h3><p><strong>Neo4j</strong> is the default. Mature Cypher ecosystem, official GraphRAG packages, and the storage backend Graphiti recommends. Enterprise clustering sits behind a paid tier.</p><p><strong>Microsoft GraphRAG</strong> is a research-grade indexing and query library, not a database. Powerful and expensive at full settings. Look at LazyGraphRAG and DRIFT search, which Microsoft itself now points people toward.</p><p><strong>LightRAG</strong> is the lighter, faster alternative with dual-level retrieval and cheap incremental updates. Retrieval uses under 100 tokens and a single API call where full GraphRAG can require many. Try it before you try Microsoft GraphRAG.</p><p><strong>Graphiti and Zep</strong> cover the temporal-memory layer described above. Open-source engine, commercial platform on top.</p><p><strong>Memgraph</strong> is in-memory, Cypher-compatible, and low-latency, aimed at streaming and real-time workloads. Source-available under BSL with commercial licensing for production.</p><p><strong>FalkorDB</strong> is a Redis-module graph database, formerly RedisGraph, explicitly targeting AI and GraphRAG workloads with fast cold-start and low latency. Good if you already run Redis. Some advanced Cypher features lag Neo4j.</p><p><strong>Kùzu</strong> is the cautionary tale. The popular embedded graph database, pitched as DuckDB for graphs, was archived on October 10, 2025, the same day its final 0.11.3 release shipped, after its roughly ten-person Waterloo team was acquired by Apple. The on-disk format was never stabilized. Graphiti now marks its Kùzu driver deprecated.</p><p>The lesson generalizes past one project. The graph database layer is consolidating, and picking an infrastructure dependency with a ten-person team and an unstable file format is a risk you can avoid by defaulting to boring options.</p><p><strong>And the alternative to all of it:</strong> for most retrieval, a well-run vector database, or even Postgres with pgvector, is the right starting point. Add a graph when relational queries prove it necessary, not because it appeared in a keynote.</p><h3>Wiring the two graphs together</h3><p>Here is the synthesis. In a graph runtime, the knowledge graph plugs in as a node and lives in state.</p><p><strong>Retrieval becomes a node.</strong> It runs a query, vector or graph or hybrid, and writes results into state. Downstream nodes read them. That is exactly the miniature graph from earlier in this piece.</p><p><strong>Memory splits into two tiers.</strong> Short-term working memory is the runtime state object, persisted per thread by the checkpointer. Long-term memory is the external knowledge graph, queried and updated by nodes.</p><p>Anthropic’s research agents demonstrate this without a graph library at all. The lead writes its plan to external memory before the context window overflows. Subagents write findings to a shared store and return lightweight references instead of dumping everything back through the message list.</p><p><strong>Writes are a node too.</strong> A write-memory node runs entity and relation extraction on what the agent just learned and MERGEs it into the graph. Use MERGE rather than CREATE, or you will accumulate duplicate nodes for the same entity. A temporal engine like Graphiti handles the harder job, which is invalidating superseded facts automatically.</p><p><strong>Put a router in front of retrieval.</strong> Classify the query. Send relational and multi-hop questions to the graph, simple lookups to the vector store, and skip retrieval entirely when the answer is already in state. This is the cheapest way to get graph quality only where it earns its cost.</p><p>The combined system:</p><pre>+-----------+<br>START --&gt; |  router   |<br>          +-----------+<br>           |         |<br>   (relational)   (simple)<br>           v         v<br>      +---------+  +--------+<br>      | graph   |  | vector |<br>      | retrieve|  |retrieve|<br>      +---------+  +--------+<br>            \         /<br>             v       v<br>          +-------------+       +--------------+<br>          |  reason /   |----&gt; | write-memory |--&gt; KG<br>          |  generate   |       +--------------+<br>          +-------------+<br>                |<br>         (needs approval?) --&gt; interrupt() --&gt; human<br>                |<br>                v<br>               END</pre><p>The knowledge graph sits outside the runtime as durable state. Nodes read and write it. The checkpointer persists runtime state so the whole thing survives a crash or a human pause.</p><h3>The failures that actually show up</h3><p>This is the section I wish someone had handed me earlier.</p><p><strong>State explosion.</strong> The shared state object grows without bound, usually the message list in a long-running or looping agent. Fix it with reducers that summarize or truncate, with compaction, and by offloading bulk data to external memory while passing references. Claude Code’s 25,000-token cap on tool responses is this discipline made concrete.</p><p><strong>Context window exhaustion.</strong> Long agents run out of room. Anthropic’s context-engineering guidance is the best public treatment: compact history, write durable notes to memory before the window fills, and retrieve just in time rather than stuffing everything up front. Chroma’s “context rot” work and related studies show quality degrading as the window fills, so extra context is not free even when it fits.</p><p><strong>Error propagation across nodes.</strong> One node’s bad output becomes the next node’s input. A malformed retrieval poisons generation downstream, and the failure surfaces three steps later where it makes no sense. Guard node boundaries with schema validation, add programmatic gates on intermediate steps, and design compensating actions for anything with side effects.</p><p><strong>Non-deterministic routing.</strong> LLM-based routers do not always route the same way twice, which makes failures hard to reproduce. Use a deterministic classifier where you can. Log the routing decision alongside its inputs. Pin the routing model version. Anthropic notes that non-deterministic behavior between runs makes reproducing failures hard, which is why observability here is mandatory rather than nice to have.</p><p><strong>Debugging that looks fine.</strong> LLM observability traces one call. Agent observability has to trace an entire trajectory, and the failures are semantic rather than structural. An agent fails by looping, by re-calling a tool that returns HTTP 200 with wrong data, or by quietly drifting off task. All of that traces green.</p><p>You need trajectory-level tracing grouped by thread with the full execution tree. LangSmith, Langfuse, Arize Phoenix, and Braintrust all do this.</p><p><strong>Evaluating the path, not just the answer.</strong> Stop asking only whether the final output passed. Ask whether the agent took a sensible route to get there. Trajectory evaluation scores tool-call ordering, intermediate decisions, and multi-turn goal completion. Plenty of production evals run online without ground truth, scoring groundedness, policy adherence, and trajectory quality on sampled live traffic. Pair automated LLM judges with periodic human review, since the judges carry their own biases.</p><p><strong>Multi-agent failure surface.</strong> Beyond the token cost, the interaction surface grows fast. A fully connected swarm of four agents has six pairwise interaction points. Ten agents have forty-five. Reach for multi-agent last, and when you do, add the per-run token caps and circuit breakers that the published research architectures leave out.</p><p><strong>GraphRAG-specific traps.</strong> Budget two to three days of indexing plus prompt-engineering iteration before quality stabilizes on a serious corpus, because the first run always costs more than expected thanks to failed entity extractions. Re-indexing on every corpus update is expensive, which is the entire reason incremental engines exist. And prompt inflation is real: graph retrieval can balloon prompts to tens of thousands of tokens and inject noise that degrades relevance on exactly the complex tasks you adopted it for.</p><h3>A staged path, with thresholds</h3><p>Every stage below includes the signal that should push you to the next one. If you cannot name the signal, stay where you are.</p><p><strong>Stage 0: one call.</strong> A single LLM call with retrieval and in-context examples. Do not build an agent. Move on when you have a measured failure that this cannot fix, meaning you need looping, branching, tool use in a loop, or human pauses.</p><p><strong>Stage 1: a loop or a harness.</strong> For open-ended tasks, use an LLM-plus-tools loop. If you are Claude-native, the Agent SDK gives you that loop plus context management and subagents with little work. Add Agent Skills for repeatable procedures and MCP for tools. Move on when you need durable resume across crashes, controllable branching you can inspect, or approvals that survive a restart.</p><p><strong>Stage 2: a graph runtime.</strong> Adopt LangGraph when Stage 1’s lack of structure starts costing you. Checkpointers for persistence, interrupt() for approvals, conditional edges for routing, and a max-iteration counter on every single cycle. Start with one agent graph, not five. Move on when your workflow has real side effects and long waits measured in hours or days, or must survive infrastructure failure with exactly-once guarantees.</p><p><strong>Stage 3: durable execution, and maybe multi-agent.</strong> Wrap the graph in Temporal, Restate, or DBOS only when side effects and long-running orchestration demand it. Introduce multi-agent topologies only when the task is genuinely breadth-first and parallelizable. Keep it under four agent roles before you consider a hierarchy. Add per-run token caps and circuit breakers on day one, not after the first surprise invoice.</p><p><strong>On retrieval, running in parallel with all of that.</strong> Default to vector RAG or pgvector. Add graph retrieval only when you can name specific relational or multi-hop queries that vector search fails. Prototype with LightRAG or nano-graphrag before Microsoft GraphRAG, since they are cheaper and faster to iterate on. Measure both against the same question set. If the graph wins on your relational queries, ship a router that sends only those queries to it. For cross-session user memory that changes over time, use a temporal engine rather than static GraphRAG.</p><p><strong>On infrastructure.</strong> Default to Neo4j unless you have a specific reason not to. Choose FalkorDB if you already run Redis and want AI-workload focus, or Memgraph if you need in-memory real-time performance and can budget the license.</p><p><strong>The three numbers that should change your mind.</strong> If graph retrieval does not beat vector by a clear margin on your own held-out relational questions, do not adopt it, because the GraphRAG-Bench tie on simple lookup is the warning shot. If your multi-agent system is not clearing roughly its 15x token cost in delivered value, collapse it. And if your agent’s context window fills before the task completes, invest in compaction and external memory before you reach for a bigger model.</p><h3>What to distrust</h3><p>A fair number of the strongest-sounding figures in this space come from vendors describing their own products.</p><p>Zep’s memory-retrieval benchmarks are vendor-published and lean partly on a benchmark the competitor introduced. Comparisons involving LangGraph, Temporal, Neo4j, and FalkorDB frequently come from parties with a stake in the result. Where I cited independent work (GraphRAG-Bench, the Michigan State and Meta study, the multi-lab token-cost papers), I said so. Everything else is directional.</p><p>The original GraphRAG win rates rest on LLM-as-judge evaluation that an independent audit found susceptible to position, length, and trial biases large enough to swing results by tens of points.</p><p>Framework status claims age fast. AutoGen’s merge into Microsoft Agent Framework, Swarm’s deprecation, Kùzu’s archival, LangGraph 1.0: all point-in-time. Verify before you commit. And a lot of the “2026 framework production scores” and star-count rankings circulating online are marketing content wearing a lab coat.</p><p>Cost figures scale non-linearly with model choice and corpus size. Microsoft’s per-word indexing price uses a small model, and the same job on a frontier model costs far more. Run a small indexing test on your own data before committing to a large corpus, because the difference between $0.34 and your actual bill is the difference between a good architecture decision and a bad one.</p><p><strong>Sources</strong></p><p>Anthropic: <em>Building Effective Agents</em>, <em>Effective context engineering for AI agents</em>, <em>How we built our multi-agent research system</em>, <em>Writing effective tools for agents</em>, plus Claude Agent SDK and Agent Skills documentation.</p><p>Edge et al., <em>From Local to Global: A Graph RAG Approach to Query-Focused Summarization</em>, arXiv 2404.16130.</p><p><em>When to use Graphs in RAG</em> (GraphRAG-Bench), arXiv 2506.05690, ICLR 2026.</p><p>Independent GraphRAG evaluation audit, arXiv 2506.06331.</p><p>Sarmah et al., <em>HybridRAG</em>, arXiv 2408.04948 (BlackRock, Nvidia).</p><p>Rasmussen et al., <em>Zep: A Temporal Knowledge Graph Architecture for Agent Memory</em>, arXiv 2501.13956.</p><p>Microsoft Research: LazyGraphRAG announcement and GraphRAG cost guidance.</p><p>LangGraph and LangChain official documentation. Temporal’s LangGraph plugin announcement. Graphiti repository. Neo4j, Memgraph, and FalkorDB documentation. Kùzu archival notice, October 2025.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d76d7011d848" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Overpaying Claude]]></title>
            <link>https://dzeaulfath.medium.com/stop-overpaying-claude-fa6aed306e07?source=rss-2e24326f83d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa6aed306e07</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[claude-ai]]></category>
            <category><![CDATA[cost-optimization]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <dc:creator><![CDATA[Dzeaulfath]]></dc:creator>
            <pubDate>Sat, 01 Aug 2026 06:21:01 GMT</pubDate>
            <atom:updated>2026-08-01T06:21:01.500Z</atom:updated>
            <content:encoded><![CDATA[<h4>Prompt caching, Skills, and context editing can cut your Claude spend without cutting your output</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uqftDum7UzM7-dyo" /><figcaption>Photo by <a href="https://unsplash.com/@planetvolumes?utm_source=medium&amp;utm_medium=referral">Planet Volumes</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Most people use Claude the expensive way without knowing it. They paste the same background documents into every new chat. They re-explain their formatting rules for the tenth time this week. They run one document at a time when they could run fifty at once. None of this feels wasteful in the moment. It just feels like using the tool.</p><p>But every one of those habits has a price, measured in tokens, and tokens are money. If you use Claude through the API, you pay per token directly. If you are on a Pro, Max, or Team plan, you pay indirectly through usage limits that drain faster than they should. Either way, the fixes are the same, and Anthropic has quietly shipped a set of features over the past year that make them easy.</p><p>This guide walks through three of them: prompt caching, Skills, and context editing. It also covers the Message Batches API, which is the single biggest discount most people never use. The audience here is not developers. It is analysts, writers, marketers, PMs, consultants, and ops people who lean on Claude daily and want to stop leaving money on the table.</p><h3>First, understand what you are paying for</h3><p>Claude bills two kinds of tokens, input and output. Input is everything you send. That means your prompt, plus any documents, plus the entire conversation history, plus any system instructions. Output is what Claude writes back. Output costs five times more than input across the current model lineup.</p><p>Here are the current API rates per million tokens. Claude Haiku 4.5 runs $1 input and $5 output. Claude Sonnet 5, the default model for Free and Pro users since June 30, 2026, runs at an introductory $2 input and $10 output through August 31, 2026, then moves to the standard $3 and $15 on September 1. Claude Opus 4.8 runs $5 input and $25 output.</p><p>The key insight for cost control is that input piles up invisibly. Every time you continue a conversation, Claude re-reads the whole thing. A chat that starts cheap gets more expensive with each turn because the input keeps growing. That is the problem the following features solve.</p><h3>Prompt caching, pay once for the stuff that does not change</h3><p>Prompt caching is the highest-leverage cost lever Claude offers. The idea is simple. When part of your prompt stays the same across requests, Claude can store it and reuse it instead of processing it fresh every time.</p><p>Here is the mechanic. You mark a stable chunk of your prompt as cacheable. The first request pays a small premium to write it to the cache. Every request after that reads from the cache at roughly a tenth of the normal input price. Anthropic’s December 17, 2024 launch announcement stated that prompt caching lets customers provide more background knowledge and examples “all while reducing costs by up to 90% and latency by up to 85% for long prompts.”</p><p>The pricing math is precise. A 5-minute cache write costs 1.25 times the base input price. A 1-hour cache write costs 2 times the base input price. Cache reads cost 0.1 times the base input price. So for Sonnet at $3 per million input tokens, a cache read costs about $0.30 per million. That is the 90% discount in action.</p><p>There are rules. Content below a minimum size will not cache at all. For most current models the floor is 1,024 tokens, but Claude Haiku 4.5 and the Opus 4.5 and 4.6 generation require a 4,096-token minimum, and developers have reported Sonnet 4.6 requiring 2,048 tokens rather than the older 1,024 figure. If your cacheable block is too small, the cache marker is silently ignored and you pay full price. The cache lives for 5 minutes by default, refreshed each time it is read, and you can extend it to 1 hour for the higher write cost.</p><p>The default 5-minute window is worth flagging. Some users on Claude Code reported their effective cache duration shortening, which drove up token consumption without warning. On the API you control this directly with the TTL setting. On subscription products you often do not.</p><p>When does caching pay off? The break-even is roughly the second or third read within the cache window. If you reference the same large document, knowledge base, or set of instructions more than once or twice in a few minutes, cache it. If every request is totally unique, caching does nothing for you.</p><p>One caveat that marketing copy skips: caching only touches the input side. Output tokens still bill at full rate. If your work generates long reports, the 90% headline overstates your real savings, because a big chunk of your bill is output.</p><h3>A weekly research summary</h3><p>Let me make this concrete with a scenario a lot of knowledge workers will recognize.</p><p>Say you run a weekly competitive intelligence summary. You have a stable briefing package: a company style guide, a list of competitors with background notes, and a fixed set of formatting instructions. Call it 20,000 tokens. Each week you feed Claude that package plus a batch of fresh news articles, and ask for a structured summary. Suppose you run 10 summaries across the week as new information comes in.</p><p><strong>The naive approach.</strong> You paste the full 20,000-token briefing package into every one of the 10 requests. That is 200,000 input tokens just for the static part. On Sonnet 5 at the standard $3 per million rate, that static context alone costs about $0.60. Not huge on its own, but this is one workflow, run by one person, and the same waste repeats across every recurring task you have.</p><p><strong>The optimized approach.</strong> You mark the 20,000-token briefing package as cacheable using an explicit cache breakpoint. The first request writes it to the cache at 1.25 times base rate, costing about $0.075 for that block. The next 9 requests read it from cache at $0.30 per million, or about $0.006 each, totaling roughly $0.054. Add the write and reads together and the static context now costs about $0.13 across all 10 runs, versus $0.60 the naive way. That is close to an 80% cut on the static portion, and it climbs toward the full 90% as you run more requests against the same cache.</p><p>The structural rule that makes this work: put the stable content first and the changing content last. Cache prefixes are built in the order tools, then system, then messages. Place your cache breakpoint at the end of the static briefing, before the fresh articles. If you put anything that changes, like a timestamp or the day’s news, before the breakpoint, the cache never hits and you pay the write premium every time for nothing.</p><p>You can verify all of this against Anthropic’s official documentation at <a href="https://platform.claude.com/docs/en/build-with-claude/prompt-caching."><strong>https://platform.claude.com/docs/en/build-with-claude/prompt-caching</strong>.</a> That page has the full pricing table, the minimum token thresholds per model, and code examples for both automatic and explicit caching.</p><p>One more thing for API users: watch the cache_read_input_tokens and cache_creation_input_tokens fields in each response. They tell you whether your cache is actually hitting. A hit rate near zero means your prompt structure is wrong, usually because something variable slipped in ahead of the breakpoint.</p><h3>Skills: teach Claude once, stop re-explaining forever</h3><p>If prompt caching solves the “same context every time” problem on the API, Skills solve the “same instructions every time” problem in the Claude apps.</p><p>A Skill is a folder with a file called SKILL.md inside it. That file holds instructions written in plain Markdown: how you want a task done, your way, every time. You can add optional scripts and reference files too. Once you install a Skill, Claude pulls it in automatically whenever a task matches its description. No copy-pasting a mega-prompt into every chat.</p><p>The efficiency trick is a design called progressive disclosure. Claude does not load the whole Skill up front. At startup it reads only each Skill’s name and description, which is a small amount of text per Skill. The full instructions load only when Claude decides the Skill is relevant. Deeper reference files load only if the task actually needs them. This is why you can have many Skills installed without them all clogging your context window and running up your token count.</p><p>The numbers make the point. Analyzing Anthropic’s official 17-skill repository, SwirlAI found the median discovery cost is about 80 tokens per skill, and all 17 skills together cost roughly 1,700 tokens, so “an agent can be aware of dozens of skills for less context than a single activated skill.” That is the whole design philosophy: keep the context lean, load detail on demand.</p><p>Skills are available across Free, Pro, Max, Team, and Enterprise plans, and they require code execution to be enabled in settings. They also work in the Claude Developer Platform through a Skills API and in Claude Code. Anthropic’s own document-creation abilities, the ones that let Claude build formatted Word, Excel, and PowerPoint files, are themselves built as Skills.</p><p>For a knowledge worker, the practical move is this: any time you catch yourself typing the same set of instructions into a third or fourth chat, that is a Skill waiting to happen. A content brief format. A code review checklist. A weekly report structure. Anthropic’s guidance is direct on this: if you type the same prompt repeatedly, turn it into a Skill.</p><h3>Extending what you already have instead of starting over</h3><p>Here is where the cost savings compound. You rarely need to build from a blank page. The whole point of Skills, Projects, and shared prompts is that they are reusable and adaptable assets.</p><p>Think in layers. Projects hold background knowledge for a specific initiative: a product launch, a research effort, a client account. A Project is a persistent workspace with its own custom instructions and uploaded files, and every chat inside it inherits that context. Skills hold reusable procedures that ride along into any Project or chat. Prompts handle the one-off specifics in the moment. The mental model that circulates among heavy users is clean: a Skill is a verb, a Project is a noun.</p><p>The mistake that costs money is stuffing a multi-step recipe into a Project’s custom instructions, then copying that same recipe into every other Project. If you are repeating yourself across Projects, extract the shared part once as a Skill. It then works everywhere, and you maintain it in one place.</p><p>Skills are also genuinely portable. Anthropic published the Agent Skills specification and SDK as an open standard at agentskills.io in December 2025, and the format spread fast across other tools. Teams share Skills through GitHub repositories, review changes through pull requests, and fork each other’s work to adapt it. Many shared Skills are explicitly built to be forked, with bracketed placeholders marking the values you swap for your own. For a team, this means one person builds a good “quarterly business review” Skill and everyone else forks and tailors it instead of reinventing it. Product teams that adopt this pattern tend to start with a handful of core Skills and grow the library over a few months.</p><p>Claude Code took this further with a /fork command, introduced in June 2026, that branches a session so you can try two approaches against the same context and keep the better one, without rebuilding context from scratch. That is context reuse as a first-class feature.</p><p>The efficiency logic underneath all of this is the same. Every time you stop re-explaining yourself, you stop spending tokens you did not need to spend. A good setup quietly protects your usage limit on top of producing better output.</p><h3>Context editing</h3><p>The third feature targets a specific failure mode. In long, tool-heavy sessions, the context window fills up with stale material: old file reads, outdated tool results, previous reasoning steps. All of it keeps getting re-processed as input, which costs money and, past a point, actually degrades Claude’s focus.</p><p>Context editing, available on the Claude Developer Platform, automatically clears stale content from the conversation as it grows while preserving the flow. It is currently in beta with support for clearing old tool results and old thinking blocks. It pairs with a memory tool that lets Claude store key information in files outside the context window, so an agent can keep what matters and drop what does not.</p><p>Anthropic reports meaningful numbers here, though with an important caveat. On the company’s own internal agentic-search evaluation, described in its context-management post, “combining the memory tool with context editing improved performance by 39% over baseline. Context editing alone delivered a 29% improvement.” In a 100-turn web search evaluation, the same post reports context editing reduced token consumption by 84% while letting agents finish work that would otherwise fail from context exhaustion. These are Anthropic’s internal evaluations, not independent benchmarks, so treat them as directional rather than guaranteed. Your own workload will differ.</p><p>For most knowledge workers this feature lives on the API and agent-building side rather than in the chat app. But the principle applies everywhere: a context window is a finite resource with diminishing returns, and irrelevant content actively makes outputs worse. Even in the app, starting a fresh chat for a genuinely new task, rather than piling everything into one endless thread, is the manual version of the same idea.</p><h3>The Message Batches API</h3><p>This is the discount hiding in plain sight. The Message Batches API processes large volumes of requests asynchronously at 50% off standard pricing, on both input and output, for every current model. You submit a batch, and results come back within 24 hours. Anthropic’s own documentation notes that most batches complete within 1 hour, with 24 hours as the maximum.</p><p>The trade is latency. You cannot use this for anything interactive or real-time. But a surprising amount of knowledge work does not need an instant answer. Summarizing a few hundred documents. Classifying a backlog of support tickets or survey responses. Running the same analysis across every file in a folder. Generating first drafts for a batch of items. Any of these can go through batching for half the cost.</p><p>The savings stack. The batch discount applies on top of prompt caching’s read discount. For a job where many requests share the same big instruction block, you can combine the 50% batch discount with the 90% cache read discount and drop the effective input cost dramatically. Anthropic explicitly recommends the 1-hour cache duration for batched workloads for this reason.</p><p>A single batch can hold up to 100,000 requests or 256 MB, whichever you hit first, and results stay available for 29 days after batch creation. For a knowledge worker, the workflow is straightforward even without heavy engineering: many teams wrap batching in simple tools or automation platforms that handle the file preparation and result collection for you.</p><h3>What this looks like in the wild</h3><p>The gains are not hypothetical. Anthropic’s prompt-caching announcement quotes Notion saying the feature helps make Notion AI “faster and cheaper” while maintaining quality. In Anthropic’s own customer library, the hiring platform Skillfully reports it “reduced hiring cycle time by 50% while decreasing costs,” and the legal AI platform GC AI reports “14 hours saved per week on average for in-house legal teams” plus a 14% reduction in outside-counsel spend. GitLab, running Claude for Work across teams, reported 25 to 50% productivity gains in a pilot. These are company-reported figures from vendor case studies, so read them as evidence the levers work at scale, not as guaranteed outcomes for your setup.</p><h3>A routine that pays for itself</h3><p>The cheapest Claude user is not the one who avoids the tool. It is the one who structures their usage so nothing gets paid for twice.</p><p>Cache the context that repeats. Build Skills for the instructions you type over and over. Fork and extend what already exists instead of starting cold. Let context editing prune the dead weight in long sessions. Route anything that can tolerate a wait through the Batches API at half price. And match the model to the job: Haiku for high-volume simple work, Sonnet for the balanced middle, Opus only when the task genuinely needs it.</p><p>Each of these on its own is a modest saving. Together, on work you repeat every week, they change the economics of using Claude at all.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa6aed306e07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Actually Happens When You Talk to AI]]></title>
            <link>https://dzeaulfath.medium.com/what-actually-happens-when-you-talk-to-ai-2a31df71d0fb?source=rss-2e24326f83d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a31df71d0fb</guid>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[writing-prompts]]></category>
            <dc:creator><![CDATA[Dzeaulfath]]></dc:creator>
            <pubDate>Fri, 24 Jul 2026 15:36:55 GMT</pubDate>
            <atom:updated>2026-07-24T15:36:55.774Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PARXSCLSsUgIvTdr" /><figcaption>Photo by <a href="https://unsplash.com/@brechtcorbeel?utm_source=medium&amp;utm_medium=referral">Brecht Corbeel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I used to think prompting was basically a magic spell. Say the right words in the right order, add “think step by step” like it’s a password, and the AI hands you gold. A lot of guides online still sell it this way. They give you a list of tricks, a few before-and-after examples, and a promise that if you follow the template, the output gets better.</p><p>After spending real time reading the actual research behind these techniques, not just the blog posts that summarize them, I found something more interesting than a list of tricks. Some of the advice holds up. Some of it is shakier than people assume, and a couple of popular techniques barely move the needle at all, or sometimes make things worse. That gap between folk wisdom and what researchers actually measured is the real story here.</p><p>So this is not another listicle. It’s a walk through how language models like Claude actually respond to the way we talk to them, told through what scientists have measured when they tested these ideas under controlled conditions.</p><h3>The problem with vague requests</h3><p>Let’s start with something almost everyone agrees on: clarity matters. This sounds obvious, almost too simple to write an article about, but it’s worth understanding why it’s true at a mechanical level, not just as received wisdom.</p><p>A language model generates text by predicting the next most likely token based on everything that came before it in the conversation. When your instruction is vague, the model has to guess what you actually want, and it fills that gap with the most statistically common interpretation it has seen in its training data. That’s not a flaw in the model. It’s just what happens when you give an incomplete instruction to a system that completes patterns for a living.</p><p>A team writing in Frontiers in Artificial Intelligence, looking specifically at how prompt design affects statistical reasoning tasks, found that the literature consistently converges on one point: prompts need to be unambiguous and free from unnecessary complexity for models to produce reliable output. In domains where the task itself has well-defined rules, like checking statistical assumptions or selecting the right test, models were far more likely to match expert-level judgment when the instructions left little room for interpretation.</p><p>A separate study on using language models to screen academic abstracts for a systematic review found something practical and specific. When researchers explicitly told the model to respond using clear boolean logic, phrases like “return true if,” and built in specific terminology tied to their inclusion criteria, the model’s classifications became noticeably more accurate and consistent. When the prompts were left general, the outputs were inconsistent in ways that made them unusable for actual research screening.</p><p>So the first lesson isn’t really a trick. It’s closer to a habit: write the instruction the way you’d write it for a new employee who has zero context on your project, your preferences, or your industry. Not because the model is unintelligent, but because it has no access to the context living in your head unless you put it on the page.</p><h3>Chain of thought</h3><p>Here’s where things get more nuanced. “Think step by step” became one of the most repeated phrases in the prompting world after a 2022 paper from Google researchers showed that asking models to work through intermediate reasoning steps before giving a final answer significantly improved performance on math, logic, and multi-step reasoning tasks. This technique got a name: chain of thought prompting, and it spread everywhere.</p><p>The thing is, later research has made the picture more complicated, in a good way. A 2025 comparative study in the medical question-answering space tested multiple chain-of-thought variations across several models and found that the prompting strategy itself did not produce statistically significant differences in performance. What mattered more was the underlying model’s architecture. One model consistently outperformed the others regardless of which chain-of-thought method was used.</p><p>This doesn’t mean chain-of-thought prompting is useless. It means the benefit isn’t uniform, and it isn’t infinite. A team at Johns Hopkins stress-tested chain-of-thought prompting by deliberately breaking different parts of the reasoning chain in their example prompts. They found that when the actual values used in the reasoning steps were wrong, performance dropped sharply. But when the order of operations or the structure of the reasoning was off while the values stayed correct, the damage was much smaller. In other words, the model seems to be paying close attention to the substance of the reasoning you show it, not just mimicking the shape of “show your work.”</p><p>There’s an even stranger twist. Researchers at Google DeepMind found that reasoning paths resembling chain-of-thought already exist inside a pretrained model’s own decoding process, even without anyone prompting for them. By looking past the single most likely next word and examining alternative paths the model considered, they found coherent reasoning chains were often already present, just not selected by default. This suggests chain-of-thought prompting isn’t teaching the model a new skill from nothing. It’s nudging the model toward a capability it may already have, by changing how it samples its own internal possibilities.</p><p>What does this mean for how you actually talk to Claude? Asking it to reason through a problem before answering tends to help on tasks with real logical structure: math problems, multi-step planning, anything where an intermediate mistake compounds. But it isn’t a universal performance switch. For straightforward factual questions or simple formatting tasks, asking for elaborate step-by-step reasoning can add length without adding accuracy.</p><h3>The role-play trick that mostly doesn’t work</h3><p>This is the part that genuinely surprised me, and it directly contradicts one of the most common pieces of prompting advice circulating online: telling the model to act as an expert, a consultant, a senior analyst, or any other persona.</p><p>A team of researchers, working as students at the University of Michigan, ran a large, carefully controlled study specifically testing this idea. They built a list of 162 different personas spanning six types of interpersonal relationships and eight domains of professional expertise, then tested those personas against 2,410 factual questions pulled from a well-known benchmark covering subjects from law to medicine to physics. They ran this across four different families of open-source language models.</p><p>Their finding: adding a persona to the system prompt did not improve performance on these factual, objective tasks. In some cases, it made performance slightly worse. The effect of matching a persona’s domain to the question’s domain, like assigning a “lawyer” persona for a legal question, was present but small enough that the researchers described the overall effect of personas as close to random.</p><p>A more recent line of research helps explain why this happens, and it’s a more interesting answer than “personas just don’t work.” A paper examining where persona prompting helps and where it backfires found that persona instructions function as behavioral signals. They are genuinely useful for adjusting tone, style, and safety behavior. If you want writing that sounds more professional, more casual, or more in a particular creative voice, a persona instruction can shift that effectively. But those same behavioral signals can interfere with tasks that depend on factual recall or careful reasoning, because the model starts optimizing for matching the expected voice of the persona rather than optimizing for getting the underlying fact or calculation right.</p><p>So the honest, research-backed version of this advice looks different from what most prompting guides say. If you want Claude to sound like a certain kind of writer, a persona framing is a reasonable tool. If you want Claude to get a complicated factual or analytical answer right, the persona is, at best, doing nothing, and there’s a real chance it’s quietly working against you.</p><h3>Examples actually do something, but they’re touchier than people think</h3><p>The original GPT-3 paper from 2020, the one that introduced the term “few-shot learning” into the mainstream AI conversation, demonstrated that giving a model a handful of examples directly inside the prompt, without any retraining, could substantially improve its performance on a wide range of tasks. This was a genuinely big discovery. It’s part of why “show Claude an example of what you want” became standard advice, and it holds up reasonably well.</p><p>But subsequent research found this technique is more fragile than the original demonstration suggested. A paper from researchers studying GPT-3’s few-shot behavior found that accuracy could swing wildly, from near random guessing to near state-of-the-art results, depending only on the formatting of the prompt, the specific examples chosen, and even the order those examples were placed in. The model wasn’t unstable because it lacked the underlying capability. It was unstable because small surface-level choices in how the examples were presented shifted its internal calibration.</p><p>This is actually useful, practical information. Researchers studying example selection for in-context learning found that performance improves when the examples you provide are similar to the actual task at hand, not just generic illustrations of the right format. A team working with smaller, more efficient language models showed that careful, well-chosen demonstrations could produce performance improvements of up to 30 percent over standard approaches, which is a substantial gain for something as simple as picking better examples.</p><p>The practical translation: when you give Claude an example, make it a close cousin of your actual task, not a generic stand-in. If you’re asking for a product description, show a product description, not a structurally different piece of writing that just happens to share a similar tone. And keep the formatting of your example consistent with what you actually want back, because the model is reading your formatting just as closely as your words.</p><h3>Why breaking tasks into pieces tends to help</h3><p>There’s a quieter, less flashy finding running through a lot of this research, the kind of thing that doesn’t make for a catchy prompt-engineering headline but shows up constantly in practice: ambiguity compounds. A single ambiguous instruction creates one problem. A long, complex task built from several ambiguous instructions stacked together creates several compounding problems, because each unclear piece interacts with every other unclear piece.</p><p>The systematic review I mentioned earlier, the one looking at boolean-style prompting for screening academic abstracts, found that their most reliable results came from an iterative process. They built structured exclusion criteria, explicitly handled borderline cases, and used hybrid question formats rather than one large, all-encompassing instruction. The researchers describe this iterative refinement as a real driver of the eventual precision they achieved, separate from clarity itself.</p><p>This matches a pattern that shows up constantly in adjacent research on instruction-following: when the task has clear, well-defined rules and lower ambiguity, models are far more likely to land on something matching expert judgment. The instinct to break a big, messy task into smaller, well-defined ones isn’t really a prompting trick at all. It’s closer to applied common sense, the same principle you’d use writing a clear set of instructions for a person, except the cost of skipping it is more immediate, because the model doesn’t pause to ask a clarifying question unless you build that pause in yourself.</p><h3>Putting it together without pretending it’s a formula</h3><p>None of this adds up to a single rule you can apply blindly every time. That’s actually the most honest takeaway from sitting with this research for a while. Prompting isn’t a fixed formula where step one plus step two plus step three guarantees step four. It’s closer to a set of tendencies, each with real evidence behind it, each with limits that depend on the kind of task in front of you.</p><p>If you’re working on something with real logical structure, math, multi-step planning, debugging a process, asking for reasoning before the final answer is genuinely supported by research, even if the size of the benefit depends heavily on the underlying model. If you’re trying to get a particular tone or style, a persona framing can help, but treat it as a style lever, not a competence lever, and be skeptical of it on anything requiring precise factual recall. If you want a specific format or structure, an example pulled from something close to your actual task will do more work than three extra sentences of description. And across nearly everything, breaking a complicated request into smaller, clearly defined pieces reduces the chances that ambiguity in one part of your request quietly wrecks another part you weren’t even thinking about.</p><p>The deeper shift in how I think about this now isn’t about memorizing better tricks. It’s realizing that a lot of popular prompting advice was built on a small number of early, genuinely impressive demonstrations, and then repeated forward without much scrutiny. Some of it turned out to be real and durable. Some of it turned out to be much weaker than its reputation. Knowing the difference is worth more than any single template, because it means you’re adjusting your approach to the actual evidence in front of you, rather than performing a ritual you read on a blog once and never questioned again.</p><h3>References</h3><p>Frontiers in Artificial Intelligence. “Prompt engineering for accurate statistical reasoning with large language models in medical research.” 2025. <a href="https://www.frontiersin.org/journals/artificial-intelligence/articles/10.3389/frai.2025.1658316/full">https://www.frontiersin.org/journals/artificial-intelligence/articles/10.3389/frai.2025.1658316/full</a></p><p>ScienceDirect. “A comparative evaluation of chain-of-thought-based prompt engineering techniques for medical question answering.” 2025. <a href="https://www.sciencedirect.com/science/article/pii/S0010482525009655">https://www.sciencedirect.com/science/article/pii/S0010482525009655</a></p><p>Wang, Xuezhi, and Denny Zhou. “Chain-of-Thought Reasoning Without Prompting.” Google DeepMind. <a href="https://arxiv.org/pdf/2402.10200">https://arxiv.org/pdf/2402.10200</a></p><p>Mishra, Aayush, and Karan Thakkar. “Stress Testing Chain-of-Thought Prompting for Large Language Models.” Johns Hopkins University, 2023. <a href="https://arxiv.org/pdf/2309.16621">https://arxiv.org/pdf/2309.16621</a></p><p>Zheng, Mingqian, et al. “When ‘A Helpful Assistant’ Is Not Really Helpful: Personas in System Prompts Do Not Improve Performances of Large Language Models.” ACL Anthology / arXiv, 2024. <a href="https://arxiv.org/abs/2311.10054">https://arxiv.org/abs/2311.10054</a></p><p>Search Engine Journal. “Research Shows Where Persona Prompting Works And When It Backfires.” 2026. <a href="https://www.searchenginejournal.com/research-you-are-an-expert-prompts-can-damage-factual-accuracy/570397/">https://www.searchenginejournal.com/research-you-are-an-expert-prompts-can-damage-factual-accuracy/570397/</a></p><p>Brown, Tom, et al. “Language Models are Few-Shot Learners.” OpenAI, 2020. Referenced via arXiv survey literature, including <a href="https://arxiv.org/pdf/2309.13205">https://arxiv.org/pdf/2309.13205</a></p><p>Zhao, Zihao, et al. “Calibrate Before Use: Improving Few-Shot Performance of Language Models.” 2021. <a href="https://proceedings.mlr.press/v139/zhao21c/zhao21c.pdf">https://proceedings.mlr.press/v139/zhao21c/zhao21c.pdf</a></p><p>Gao, Tianyu, Adam Fisch, and Danqi Chen. “Making Pre-trained Language Models Better Few-shot Learners.” Princeton University and MIT. <a href="https://arxiv.org/pdf/2012.15723">https://arxiv.org/pdf/2012.15723</a></p><p>PMC. “Development and evaluation of prompts for a large language model to screen titles and abstracts in a living systematic review.” <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC12306261/">https://pmc.ncbi.nlm.nih.gov/articles/PMC12306261/</a></p><p><em>Note: this piece draws on publicly available research papers and research summaries current as of mid-2026. Findings in fast-moving AI research can be superseded by newer studies, so treat this as a snapshot of the evidence rather than a permanent verdict.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a31df71d0fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>