• bitcoinBitcoin(BTC)$64,762.00-0.10%
  • ethereumEthereum(ETH)$1,912.720.10%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$600.182.10%
  • usd-coinUSDC(USDC)$1.000.00%
  • rippleXRP(XRP)$1.031.00%
  • solanaSolana(SOL)$75.773.00%
  • tronTRON(TRX)$0.3294960.60%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.00-2.70%
  • HyperliquidHyperliquid(HYPE)$54.842.10%
  • dogecoinDogecoin(DOGE)$0.0699160.40%
  • USDSUSDS(USDS)$1.000.00%
  • RainRain(RAIN)$0.012670-0.40%
  • leo-tokenLEO Token(LEO)$9.72-0.50%
  • zcashZcash(ZEC)$511.731.20%
  • cardanoCardano(ADA)$0.198441-0.50%
  • moneroMonero(XMR)$379.830.50%
  • whitebitWhiteBIT Coin(WBT)$56.04-0.10%
  • chainlinkChainlink(LINK)$8.281.60%
  • stellarStellar(XLM)$0.1634691.10%
  • daiDai(DAI)$1.000.00%
  • bitcoin-cashBitcoin Cash(BCH)$215.490.40%
  • USD1USD1(USD1)$1.000.00%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.350.60%
  • CantonCanton(CC)$0.0944064.00%
  • litecoinLitecoin(LTC)$45.881.30%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • hedera-hashgraphHedera(HBAR)$0.0690951.00%
  • Circle USYCCircle USYC(USYC)$1.130.00%
  • suiSui(SUI)$0.692.50%
  • avalanche-2Avalanche(AVAX)$6.470.70%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • shiba-inuShiba Inu(SHIB)$0.000005-0.20%
  • tether-goldTether Gold(XAUT)$4,329.180.00%
  • uniswapUniswap(UNI)$3.970.00%
  • crypto-com-chainCronos(CRO)$0.049685-0.40%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.20%
  • nearNEAR Protocol(NEAR)$1.611.40%
  • okbOKB(OKB)$94.604.20%
  • BittensorBittensor(TAO)$205.436.30%
  • pax-goldPAX Gold(PAXG)$4,343.760.00%
  • OndoOndo(ONDO)$0.347809-0.10%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.051218-0.80%
  • HTX DAOHTX DAO(HTX)$0.0000020.70%
  • AsterAster(ASTER)$0.600.20%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • usddUSDD(USDD)$1.000.00%
  • MemeCoreMemeCore(M)$1.14-0.70%
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

Firebird Takes Its AI Factory Platform Global With a 2-Gigawatt Pipeline – Unite.AI

How To Connect Your Retro GameCube To A Modern TV


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

Firebird Takes Its AI Factory Platform Global With a 2-Gigawatt Pipeline – Unite.AI
AI & Technology

Firebird Takes Its AI Factory Platform Global With a 2-Gigawatt Pipeline – Unite.AI

August 8, 2026
How To Connect Your Retro GameCube To A Modern TV
AI & Technology

How To Connect Your Retro GameCube To A Modern TV

August 8, 2026
How To Get The Best Battery Life From Your Retro Handheld Game Console
AI & Technology

How To Get The Best Battery Life From Your Retro Handheld Game Console

August 8, 2026
Pokee AI Releases Pokee-Isaac 28B: A 10M-Token Context Agentic Model Built to Run Inside the Customer Boundary
AI & Technology

Pokee AI Releases Pokee-Isaac 28B: A 10M-Token Context Agentic Model Built to Run Inside the Customer Boundary

August 8, 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
Jason Arday, Cambridge's youngest Black professor, resigns amid plagiarism allegations – cbsnews.com

Jason Arday, Cambridge's youngest Black professor, resigns amid plagiarism allegations – cbsnews.com

August 7, 2026
Meet the Press NOW — July 6

Meet the Press NOW — July 6

August 3, 2026
OpenAI vs Claude Polymarket AI Prediciton Battle Week 2

OpenAI vs Claude Polymarket AI Prediciton Battle Week 2

August 5, 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!