Is your agent a know-it-all?
Your agent· agents/lesson/agent/tools.ts
Your agent
I’d merge these back into one registration loop. It’s simpler.
PR #482ClaudeGrokbotWispr Flow
Y
You
No. We split it on purpose.
Your agent
I can’t find a reason anywhere. Merging them back.
Introducingtinker
Take back your context. Learn and develop at your code’s edge.
Lesson
Tools as small, checked contracts
As Anthropic puts it: “Tools are just functions the model can call.” (Anthropic, Building effective agents) So the list of tools is the first thing to read.
From your promptsClaude9:12Grokbot9:40Wispr Flow11:02
agents/lesson/agent/tools.tsAlternative
1for (const t of tools) { 2 agent.register(t); 3}
1for (const t of tools) { 2 try { agent.register(t); } 3 catch (err) { log.warn(t.name, err); } 4}
Note your observations between your file and the alternativeThe alternative lets one tool fail without taking the loop down.
Open PR and mergeThe Alternative replaces this file. Merges once your checks pass.Delete and mergeDeletes this file and updates files that use it.
Open PR and merge · agents/lesson/agent/tools.ts
- Commit on a new branch1 file in one commit1.8s
- Open pull request#812 Adopt the Alternative0.9s
- Turn on auto-mergewaits for checks0.4s
How tinker opened it · 3 steps · 3.1s
Openmerges when checks passMergedinto main#812 Adopt the Alternative in tools.ts
For enterprises
Build tinker into your technical support.
Developer support· your product, powered by tinker
D
Developer
Our webhooks started failing after your v3 update.
tinker
Your events have failed signature checks since v3 shipped. Here’s your handler beside the v3 way. Pick one:
your webhooks.ts
1const e = JSON.parse(body); 2fulfil(e);
1const e = acme.verify(body, sig); 2fulfil(e);
Their repowebhooks.tsSnowflakewebhook_eventsYour v3 changelog
D
Developer
Switching to the alternative.
Get Tinker on iOS and Mac.Get Tinker on iOS.
Then Connect on LinkedIn to get access.
Enjoy what you're learning.
Keep your words apart from the agent's, and you can see what you understand and what to learn next.
Capitalize on your context