a.lihachöv (@avlihachev) header
a.lihachöv (@avlihachev) profile picture

engineer in Finland. the production half of agents (course + book ↓) and https://xitter.gq/t.co/Ld3IjLVBlH, a daily minimum for writing in a language claude code · mcp · custom skills

Finland
Joined December 2023
i didn't want to go work at a factory, and nobody would hire me there anyway. So I built my own
2
2
92
One ticket, Opus 5.5 through the Claude Agent SDK. The SDK said the run cost $0.2074. Langfuse, tracing the same run, said $0.1179. If your tracing backend prices live spans itself, its number is low too.
2
1
3
423
What I do now: send my own gen_ai.usage.cost on each span instead of letting the backend price it. Take the run total from the result message, which has the real output count. Reconcile the month against the Usage and Cost API, the only number that is a bill.
1
16
everyone says turn on the advisor in Claude Code. Did anyone check it beyond token burn? I did, on my own work.
1
1
2
71
Anthropic's own docs: Opus 5.5 with a Fable 5.1 advisor gained 1.7 points for about 2.1x the cost, "at the edge of run-to-run noise".
1
1
10
Your tasks aren't mine. Don't take advice like this on faith, mine included. Measure it on your own work. (Dollars at API prices.)
1
2
Anthropic calls it dreaming: an agent rereads its past sessions offline, checks its memory against the transcripts, and looks for mistakes that repeat. I end most Claude Code sessions with a retrospective by hand, up to 25 a day. Each one sees only its own session.
3
1
1
56
It also checks its own work. 2-30 days after a rule lands, if the same correction comes back in 2 later sessions, sonnet decides keep, revise or revert, and has to quote the later session. A stage with 2 take-backs in 30 days pauses itself.
1
3
4 shifts so far: about 70 sessions digested, 25 changes applied, none undone. Too early to say the rules work. Nothing is old enough for the outcome review yet - that's the number I'm waiting for.
2
mapped my health agent onto the five primitives from Anthropic's always-on agents post: inbox, timers, memory, permissions, outbox. it already wakes on cron and when new watch data lands. it has a piece of each, and most of it doesn't survive a restart.
1
1
1
2
153
one worker also means one hung claude process stalls everything, so runs get a 10-minute timeout. and unattended runs still had Write by default. now each job gets read tools plus an explicit grant, and a follow-up can't schedule another follow-up.
1
4