3 ms·
The MCP[1] that was announced by Anthropic has a solution to this problem, and it's pretty good at handling this use case. I've also been working on a solution
by lunarcave 2y ago
The MCP[1] that was announced by Anthropic has a solution to this problem, and it's pretty good at handling this use case.
I've also been working on a solution to this problem via long-polling tools.
[1] https://github.com/modelcontextprotocol https://github.com/modelcontextprotocol
- dhorthy 2y agothanks for bringing this up. I just spent 2 hours last night digging into MCP - I'd love to learn more about how you think this solves the HitL problem. From my perspective MCP is more of a protocol for tool calling over the stdio wire, and the only situation it provides HitL is when human is sitting in the desktop app observing the agent synchronously? Again, genuinely looking to learn - where does MCP fit in for async/headless/ambient agents, beyond a solid protocol for remote tool calls?
- potatoman22 2y agoYou could implement some blocking HitL service/tool as an MCP server.
- dhorthy 2y agoah okay - I guess in that case, I would like chain a HitL step as an MCP server that wraps/chains to another tool that depends on approval? or is there a cleaner way to do that?
- a1j9o94 2y agoYeah, exactly. You would define a HitL server and the actions it implements would be API calls to your system.
- dhorthy 2y agothis is interesting. I will have to think more about how humanlayer can support an MCP integration/wrapper, it's not immediately obvious to me i do think that AI-calling-tools is insufficient to provide bidirectional communication rails for user input/review though...not disagreeing just maybe thinking out loud a little here