• bitcoinBitcoin(BTC)$80,888.003.80%
  • ethereumEthereum(ETH)$2,513.924.32%
  • tetherTether(USDT)$1.000.03%
  • binancecoinBNB(BNB)$721.533.38%
  • rippleXRP(XRP)$1.455.79%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$103.872.85%
  • tronTRON(TRX)$0.3281500.61%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.031.92%
  • HyperliquidHyperliquid(HYPE)$86.024.61%
  • zcashZcash(ZEC)$973.4316.88%
  • dogecoinDogecoin(DOGE)$0.0872914.60%
  • RainRain(RAIN)$0.0169861.88%
  • moneroMonero(XMR)$534.403.90%
  • USDSUSDS(USDS)$1.000.02%
  • chainlinkChainlink(LINK)$11.956.21%
  • whitebitWhiteBIT Coin(WBT)$73.853.50%
  • leo-tokenLEO Token(LEO)$9.300.56%
  • cardanoCardano(ADA)$0.2220147.75%
  • stellarStellar(XLM)$0.1835343.89%
  • bitcoin-cashBitcoin Cash(BCH)$257.703.00%
  • daiDai(DAI)$1.000.00%
  • CantonCanton(CC)$0.1109561.26%
  • Ethena USDeEthena USDe(USDE)$1.000.03%
  • USD1USD1(USD1)$1.000.04%
  • litecoinLitecoin(LTC)$51.091.16%
  • uniswapUniswap(UNI)$6.3510.79%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.372.05%
  • hedera-hashgraphHedera(HBAR)$0.0780371.94%
  • Global DollarGlobal Dollar(USDG)$1.000.02%
  • avalanche-2Avalanche(AVAX)$7.492.46%
  • suiSui(SUI)$0.770.31%
  • shiba-inuShiba Inu(SHIB)$0.0000051.94%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.0570852.96%
  • tether-goldTether Gold(XAUT)$4,457.590.94%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • nearNEAR Protocol(NEAR)$1.984.31%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • MemeCoreMemeCore(M)$1.04-2.66%
  • okbOKB(OKB)$110.003.10%
  • BittensorBittensor(TAO)$230.103.49%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.02%
  • aaveAave(AAVE)$133.654.63%
  • AsterAster(ASTER)$0.72-0.81%
  • pax-goldPAX Gold(PAXG)$4,467.250.86%
  • mantleMantle(MNT)$0.560.41%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0580573.47%
  • OndoOndo(ONDO)$0.3619392.52%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Meet Shepherd: An Open-Source Python Substrate That Lets Meta-Agents Fork, Replay, and Revert Any Agent Run

August 8, 2026
in AI & Technology
Reading Time: 14 mins read
A A
Meet Shepherd: An Open-Source Python Substrate That Lets Meta-Agents Fork, Replay, and Revert Any Agent Run
ShareShareShareShareShare

Long-running agents accumulate state that no transcript captures. A coding agent at step 10 holds edited files, a running dev server, installed packages, and a warm prompt cache. When it misreads a traceback and rewrites a file that was already correct, neither available recovery path is cheap: patching forward grows the context and the token bill, and restarting from step one re-pays every model and tool call while reproducing nothing exactly, because runs are non-deterministic. Jumping back to step eight is the option engineers actually want, and it is the one existing runtimes cannot offer. Git versions files, not a live process or a cache. Researchers at Northeastern University and Stanford University have released Shepherd, a Python runtime substrate that records an agent run as a Git-like trace of typed events, so any past state can be forked and replayed. The research team reports forks 5× faster than Docker and over 95% prompt-cache reuse on replay.

Is it deployable?

Yes but it is available in early alpha and not ready for production. Shepherd is MIT-licensed and installable with pip install shepherd-ai from PyPI. It needs Python 3.11+. OS-level grant enforcement runs on macOS (Seatbelt) and Linux (Landlock, in a privileged container).

  • Industries: Software engineering and DevOps, AI infrastructure and agent-platform vendors, quantitative finance research, security tooling and offensive-security research, and data engineering. The common trait is not the vertical. It is long-horizon agent runs against heavy sandbox state, where a failed run is expensive to redo.
  • Applications: Live supervision of coding agents, with a meta-agent reverting a bad write before it commits. Automated recovery from a wrong tool call, without a full restart. Branching exploration over candidate agent strategies, compared side by side. Rollout generation for reinforcement learning, forking at selected turns.

What Shepherd changes

Shepherd is a Python substrate that records an agent’s execution as a first-class object. Every agent-environment interaction becomes a typed event in a Git-like execution trace. Core operations are formalized as functions and mechanized in Lean.

Each interaction is effectively a commit. Unlike Git, the commit covers the agent process and the filesystem together, copy-on-write. A branch therefore carries live state, not just files. Returning to an earlier point is a single fork from that commit.

The research team reports that Shepherd forks the agent process and its filesystem 5× faster than Docker. Because the prompt prefix through the branch point is unchanged, replay achieves over 95% prompt-cache reuse.

The documentation organizes the framework around four concepts: tasks, effects, runs, and workspaces. A task is a typed function whose body the model fills in, so the signature is the contract. An effect is every crossing of the task boundary, and it can be watched, answered, or refused. A run is the durable record of those crossings.

Permissions are declared in the signature. A May[GitRepo, ReadOnly] binding is compiled to that run’s writable roots and enforced at the native syscall jail.

Forking enables higher-order agents that observe a trace and intervene before a bad write commits. The research team demonstrates three applications:

  • In runtime intervention, a live supervisor raised pair-coding pass rates on CooperBench from 28.8% to 54.7%.
  • In counterfactual meta-optimization, branching exploration beat baselines across four benchmarks by up to 11 points, while cutting wall-clock time by up to 58%.
  • In Tree-RL training, forking rollouts at selected turns improved TerminalBench-2 from 34.2% to 39.4%.

Key Takeaways

  • Shepherd records each agent-environment interaction as a typed event in a Git-like, forkable trace.
  • A commit covers the agent process and filesystem together, so a rewind restores live state, not just files.
  • Reported: 5× faster forks than Docker and over 95% prompt-cache reuse on replay.
  • A live supervisor lifted CooperBench pair-coding pass rates from 28.8% to 54.7%.

Check out the Paper, GitHub, Experiments repo, Project page and PyPI. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

YOU MAY ALSO LIKE

The Ternus Era At Apple Begins, But Cook Isn’t Leaving

Mobile Games Designed to Be Addictive Get More Kid-Friendly


Michal Sutter is a data science professional with a Master of Science in Data Science from the University of Padova. With a solid foundation in statistical analysis, machine learning, and data engineering, Michal excels at transforming complex datasets into actionable insights.

Credit: Source link

ShareTweetSendSharePin

Related Posts

The Ternus Era At Apple Begins, But Cook Isn’t Leaving
AI & Technology

The Ternus Era At Apple Begins, But Cook Isn’t Leaving

September 4, 2026
Mobile Games Designed to Be Addictive Get More Kid-Friendly
AI & Technology

Mobile Games Designed to Be Addictive Get More Kid-Friendly

September 4, 2026
Google DeepMind’s WeatherNext 3 Trains on Weather Station Observations to Deliver 5 km Global Forecasts, Refreshed Every Hour
AI & Technology

Google DeepMind’s WeatherNext 3 Trains on Weather Station Observations to Deliver 5 km Global Forecasts, Refreshed Every Hour

September 4, 2026
Nvidia Makes .5 Billion Bet on MediaTek
AI & Technology

Nvidia Makes $3.5 Billion Bet on MediaTek

September 4, 2026
Next Post
Democratic socialist Melat Kiros unseats Rep. Diana DeGette in Colorado House primary

Democratic socialist Melat Kiros unseats Rep. Diana DeGette in Colorado House primary

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Chilling video shows drone ‘safari’ attack

Chilling video shows drone ‘safari’ attack

August 29, 2026
Govs. Jared Polis & Spencer Cox on education and technology: Full panel

Govs. Jared Polis & Spencer Cox on education and technology: Full panel

August 31, 2026
How AI can help you save money when you shop online

How AI can help you save money when you shop online

August 31, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!