Philipp Schmid
@_philschmid · 5d agoProposal: Agent Hooks 🏗️
1️⃣ mount: Initial setup/config, tool definition
2️⃣ before: Dynamic context & SI changes
3️⃣ after: Human in the Loop / Safety
I found similar in @LangChainAI with Middleware and Vercel @aisdk with call options.
I’m going to try this out. Instead writing tools and have 1 SI, I’ll write Hooks that can dynamically modify System Instructions, Compress context, or inject specific tools based on the conversation state.
Philipp Schmid
@_philschmid · 5d agoFeels like tool(sets) and MCP server need a better way to append to system instructions for combinations
Example:
'if you use the GitHub to create a PR, always run the Linear tool to create a linked task afterward’. But this makes only sense if you have both MCP servers/tools in the scope.
17
16
113
26.5K
11
24
147
109
44


