让 Claude Code 跑一会儿额度就见底,翻回去一看,大头根本不是你说的话,是它自己 grep 出来的几百行结果、一整坨日志、重复的 JSON,每一轮都原样塞回给模型。
Headroom 管的就是这块。它在本地把工具输出、日志、文件、RAG 片段先压一遍,再发给模型。
现在 7.9 万多星,今天在 GitHub Python 日榜上,10 号刚发 v0.44.0。
README 里我觉得比较有用的:
1. 不用改代码,headroom wrap claude 一条命令就把 Claude Code 套上,Codex、Aider、OpenCode、Kimi CLI 也能这么接,不想用了 headroom unwrap 撤掉
2. 官方实测四个 agent 场景省了 21% 到 57% 的输入 token,重复的 JSON 和日志能压掉九成以上
3. 压掉的原文都缓存在本机,模型需要细节时自己调 headroom_retrieve 取回来
4. 还能压输出:开 HEADROOM_OUTPUT_SHAPER=1,让模型少说"好的,我来……"这类开场白,默认是关的
压缩在本机跑,内容不会发出去。uv tool install --python 3.13 "headroom-ai[all]" 就能装,Apache-2.0,Cursor 得手动配。
大段正文、本来就很密的输出基本压不动,省多少看你的流量有多啰嗦,跑一下 headroom savings 就知道了。
显示更多
🇺🇸🇨🇳 Rubio reportedly set Jensen Huang's downfall in motion... with a memo that hit harder than the CIA report it was based on
The Washington Post reports the Secretary of State took a CIA report on Jensen's relationship with a suspected Chinese spy and rewrote it in his own, more forceful terms, according to one person familiar with it. When that memo's findings leaked, the scandal began.
A former official who worked on chip policy described what Trump's national security team was after:
"They wanted to destroy the influence Jensen had over the president."
Trump still calls him a "legend." The agencies still can't prove she was a spy.
But three bills restricting chip sales to China are now headed for the defense bill, and the one executive who used to talk Congress out of them is gone.
So ask yourself who came out ahead this week, and you have a good idea why that memo found its way to reporters.
Source: Washington Post / Writer: Daniel
显示更多
HAWKS/BULLS HEADED TO OVERTIME 🍿
Tap into NBA Gametime on X to follow the finish!
SABONIS NO-LOOK, OVER-THE-HEAD DIME 😲
A PINPOINT BOUNCE PASS LEADING TO THE SLAM!
Hello guys, tonight I watched a 50 minute podcast with Albert Castellana from GenLayer on The Future of Crypto Compliance, and one minute in it is still stuck in my head. Code is free now, execution is becoming free, so what still has value? According to Albert, it’s judgment. AI already decides what we see on Twitter, whether we get hired, whether we get a loan or insurance, and right now we’re just trusting a few big AI labs with that power
Main points:
- His previous project lost access to around $150M after keys were lost, and the courts turned out to be too slow and expensive
- GenLayer is building a small digital court onchain for decisions that aren’t just yes or no
- Five random validators, each with its own AI model, vote on the outcome
- Disagree? Appeal, and the validator set doubles each time, up to 1,500
- The first decision takes minutes and costs around 50 cents
- It doesn’t replace real courts, it handles small disputes nobody would take to court anyway
显示更多
My mom fed a homeless man behind our house for 20 years.
Three meals a day, even when we couldn’t afford electricity.
I hated her for it.
The day after her funeral, that same man took my hands, looked me straight in the eyes, and said:
“Before she died, she begged me to stay silent.”
I honestly had no idea what he was talking about.
For 20 years, this man had lived in a makeshift shelter behind our rental house.
My mom brought him breakfast, lunch, and dinner.
Every single day.
And the crazy thing was, we were poor too.
My sneakers had tape covering the holes. Sometimes we struggled to pay our bills, and there were days when we couldn’t even afford electricity.
But somehow, my mother always found enough food to feed him.
I never understood it.
I remember coming home two days before Christmas and finding a yellow eviction notice taped to our front door.
We were struggling to keep a roof over our heads, yet my mother was still preparing three meals a day for a stranger.
That night, I finally lost my temper.
Me: “Maybe if you stopped feeding strangers, we wouldn’t live like this!”
My mom turned around so quickly that I knew I had crossed a line.
Mom: “Don’t you ever DARE say that again.”
I had never seen her that furious before.
I didn’t understand why she was defending him so strongly when her own child was going without things.
I moved out when I turned 18.
We fought less after that, mostly because I stopped asking questions.
But the man stayed.
Year after year, his little shelter remained behind our house, and my mother continued feeding him.
Then my mom got sick.
Cancer made her small.
She became quiet, and it was the kind of quiet that scares you because you know something terrible is happening.
Two weeks before she died, she reached out and grabbed my wrist.
Her grip was so weak that it broke my heart.
Mom: “Promise me you’ll keep feeding him.”
I looked at her.
Honestly, I wanted to say no.
I wanted to ask why she was still worrying about that man when she was the one who needed help.
But you don’t lie to a dying mother.
So I promised.
My mom eventually passed away.
The day after her funeral, I prepared the best meal I could, put it on a plate, covered it with foil, and drove to her house.
I had promised her I would keep feeding him.
But when I got there, the man was gone.
His shelter had been completely cleared out.
Everything was gone.
The ground had even been swept clean, as if those 20 years had never happened.
I stood there holding the warm plate, wondering where he could have gone.
Then I noticed something.
A black SUV was parked at the curb.
Standing beside it was a man wearing an expensive wool coat.
He was clean-shaven, well-dressed, and looked nothing like the homeless man I had known for 20 years.
But the thing that caught my attention was what he was holding.
My mother’s old silver locket.
The same locket she had told me she lost when I was eight years old.
He looked at me and said:
Man: “I thought you wouldn’t come.”
I stared at him.
Me: “Wait… is that you? What’s going on?”
He smiled, but his expression was unsteady.
His eyes were already filling with tears.
Man: “Your mom hid something from you.”
I felt my stomach tighten.
Me: “What did she hide?”
He looked at the plate in my hands before responding.
Man: “Before she died, she begged me to stay silent.”
My blood went cold.
Me: “Silent about what?”
He gently shook his head.
Man: “Sit down. You shouldn’t hear this standing in the cold.”
We sat on the front steps.
The plate was still warm between us.
He turned my mother’s silver locket over in his palm as though it might break.
Then he began telling me something I never could have imagined.
Man: “My real name is Vernon Hale. Before all this, I owned a company. I had a big house in Connecticut, a wife, and a little girl. My daughter was six years old.”
I just stared at him.
显示更多
BREAKING: Starlink is bringing fast internet to rural communities in Timor-Leste. 🇹🇱
In Suco Aubeon, residents and community leaders now have
@Starlink through VorakaiConnect, helping:
• Families stay connected.
• Residents access news and information.
• Community leaders carry out local administration.
Across the country, the Government’s partnership with Vorakai covers 450 village headquarters, using Starlink to connect local offices to digital government systems while fiber networks expand.
显示更多
Wintermute CEO Evgeny Gaevoy really told Bloomberg these auctions are "more transparent and democratic" than Wall Street colocation
Bro, of course you love the system when your wallet (0xecb63caa47c7c4e77f60f1ce858cf28dc2b82b00) has extracted $227M in lifetime profit on Hyperliquid and printed +$18.8M in the last 30 days alone
Spending $10M a year to lock down 76% of the top slots and get a 60ms head start isn't competing fairly, it is literally paying pennies on the dollar for a legal money printer while smaller MMs get slaughtered
Look at their actual positions right now: they are sitting on $93M+ in equity, $18.9M staked just to keep their direct node peering, and shorting the entire market including a massive $7.5M $HYPE short while gutting altcoin liquidity across the exact ecosystem they pretend to support
显示更多
When Anthropic orchestrates a witch hunt and trots out Ian King for their 'expose,'
you know it’s a total hit job,
not legitimate Bloomberg journalism.
Everyone knows what the notoriously trashy British tabloid The Sun—where King spent 8 years—is made of.
He’s the guy who ran headlines like 'I’m a Piece of Sh--' just to character-assassinate Jensen and paint him as unfit to lead.
Why? Because their coordinated Anthropic-matrix spy narrative completely flatlined.
显示更多
Three people kicked in OnlyFans star Amouranth's bedroom door, put a pistol to her head and beat her.
All while demanding $20 million in Bitcoin.
She lied and told them she didn't know where it was and led them straight to her husband.
The same husband that she has constantly complained about on stream.
She even called the police on him at one point.
This happened on March 2nd, 2025, in Houston Texas.
The robbers came in through the back fence, smashed open the garage door, and inside they even tripped over a pile of kids toys.
Kaitlyn "Amouranth" heard the noise and called her husband, he said it was most likely the dogs.
She locked her bedroom door and kept him on the phone.
That's when they confronted her, shot gunshots in the door and kicked it in, then turned on the lights.
One of them had a gun to her head while another took her phone and demanded she opened Coinbase.
She didn't even have the app.
She told them she didn't have it then they started beating her with the pistol.
After the third hit Kaitlyn lied and told them she remembered where it was.
She ran barefoot in socks and pajamas to her husband in his mancave.
Nick the husband was on the toilet and heard everything on speaker phone.
He pulled up in briefs, put on a bulletproof vest and opened his gun safe.
When the gunmen came in he told Kaitlyn to get down and she dropped to the floor.
Nick then shot one of the gunmen.
Then they ran away.
Nick almost didn't call 911, because fans would swat their house all of the time.
The only thing the robbers got away with was her MacBook, which had Find My turned on.
The guy that Nick had shot was in the hospital, but it was too late.
Four days later a trooper pulled over their getaway car because the driver didn't use his turn signal. He confessed on the spot.
All four robbers were then charged with aggravated robbery and kidnapping.
The internet thought this was all fake, so Kaitlyn posted the footage.
In October 2022, she had cried on stream and told millions Nick controlled her money, threatened her, and to pretend to be single.
After the robbery she called him a hero on camera.
On May 11, 2025, they argued on stream for 10 hours.
Nick accused her of cheating and she cried.
When things heated up the cops came knocking on the door.
In February of 2026, they were vacationing in Peru and had another fight in their hotel, police detained them both this time.
The man who saved her from 3 gunmen is the same man she would keep calling the police on.
显示更多