←back to thread

Claude Code now supports hooks

(docs.anthropic.com)
381 points ramoz | 3 comments | | HN request time: 0.69s | source
Show context
b0a04gl ◴[] No.44431774[source]
>before this you had to trust that claude would follow your readme instructions about running linters or tests. hit and miss at best. now its deterministic. pre hook blocks bad actions post hook validates results.

>hooks let you build workflows where multiple agents can hand off work safely. one agent writes code another reviews it another deploys it. each step gated by verification hooks.

replies(2): >>44432628 #>>44433004 #
icoder ◴[] No.44432628[source]
This nicely describes where we're at with LLM's as I see it: they are 'fancy' enough to be able to write code yet at the same time they can't be trusted to do stuff which can be solved with a simple hook.

I feel that currently improvement mostly comes from slapping what to me feels like workarounds on top of something that very well may be a local maximum.

replies(4): >>44432685 #>>44432867 #>>44433289 #>>44433819 #
1. ramoz ◴[] No.44432867[source]
Claude Code is an agent, not an LLM. Literally this is software that was released 4mo ago. lol.

1y ago - No provider was training LLMs in an environment modeled for agentic behavior - ie in conjunction with software design of an integrated utility.

'slapped on workaround' is a very lazy way to describe this innovation.

replies(1): >>44433109 #
2. koakuma-chan ◴[] No.44433109[source]
> Literally this is software that was released 4mo ago.

Feels like ages

replies(1): >>44433823 #
3. ryandvm ◴[] No.44433823[source]
That's what a singularity feels like.