5 ms·
[flagged]
by AndyNemmity 1y ago
[flagged]
- mattlondon 1y agoWhat are hooks and subagents then?
- mephitix 1y agoMaybe you should ask Claude ;) https://docs.anthropic.com/en/docs/claude-code/hooks https://docs.anthropic.com/en/docs/claude-code/hooks https://docs.anthropic.com/en/docs/claude-code/sub-agents https://docs.anthropic.com/en/docs/claude-code/sub-agents
- chank 1y ago> https://docs.anthropic.com/en/docs/claude-code/hooks https://docs.anthropic.com/en/docs/claude-code/hooks > https://docs.anthropic.com/en/docs/claude-code/sub-agents https://docs.anthropic.com/en/docs/claude-code/sub-agents
- AndyNemmity 1y ago.
- __loam 1y ago[flagged]
- deleted 1y ago[deleted]
- raincole 1y agoWhat do you mean? (Genuinely asking)
- __loam 1y agoThere's a brand new thin wrapper for this bullshit every month. First we had Langchain, then MCP servers, and now this. The industry has been constantly trying to wrap the stochastic bullshit generator with frameworks and guardrails, for years, and the heart of it will always be the same model. I wouldn't care, but you all insist on inflicting this on every code base while a clueless leadership class has started using it as a performance metric.
- raincole 1y agoThat's sad.
- deleted 1y ago[deleted]
- dang 1y agoThis crosses into personal attack, which is not allowed here. Please don't post like this again. In addition, please note these guidelines: "When disagreeing, please reply to the argument instead of calling names. 'That is idiotic; 1 + 1 is 2, not 3' can be shortened to '1 + 1 is 2, not 3." "Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith." "Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something." https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html Edit: this is unfortunately a bit of a pattern with your account (e.g. https://news.ycombinator.com/item?id=44665780 https://news.ycombinator.com/item?id=44665780), and we had to warn you about this at least once before. If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.
- _betty_ 1y agoIt's from July 6, so yeah a month in the past is totally right. She has newer posts on sub agents
- deleted 1y ago[deleted]
- XenophileJKO 1y agoActually please write an article about how you are currently using it then. I've been actively using it and working with sub-agents. I feel like there are very little resources out there on more complex Claude Code setups. I would love to see other setups, like what MCP, hooks, sub-agents, commands, etc.
- AndyNemmity 1y ago.
- weitendorf 1y agoWe’ve been building in this direction for a bit over a year now. I don’t see your contact info but please reach out over email if you’re interested in checking out our approach and maybe working with us!
- AndyNemmity 1y ago.
- weitendorf 1y agoIt’s not the specific agent config or anything like that I’m after, just the genuine interest+enthusiasm in an area we’re actively working on. The central premise to what we’re building is our system for reusable and composable AI workflows. Shit’s moving fast and the math works out such that it’s probably better to just find someone at the bleeding edge and offer to pay them really generously to work with us than to recruit for this work normally. If you change your mind you can find my email on my profile! Edit for more context: We’ve basically had the same thing as Claude’s slash commands (we call them workflows) since November, but then we switched gears and made our cloud IDE/agent sandbox and other components of our infrastructure layer the top priority. That’s working and the timing is amazing since we should be able to just glue all these new cli (sub) agents in between our workflows and agent infrastructure. I suspect someone who understands terminal agents well could do it about 4x faster than me.
- keerthiko 1y agoto be fair, the linked youtube video from the article is literally 4 weeks old, so "at least a month in the past" is probably exactly accurate if you are moving at the same pace as the author.
- deleted 1y ago[deleted]
- _andrei_ 1y ago> If you don't discuss hooks and subagents, i'm not sure what you're doing right now. Agents have their own context and can be useful for tasks that can be parallelized, which is a minority of tasks. How are they critical to better performance for you?
- AndyNemmity 1y agoThis is the best question anyone has asked. Let's consider context. At some level the more context you have is good. At some level, the more irrelevant context you have is bad. Okay. We have at top level of context, a hook that forces a system prompt on every action. Next level we have a ./claude/CLAUDE.md then we have the project level CLAUDE.md then we have a possible not required agent setup then we have the instructions you give it We know that CLAUDE.md gets lost in the context, at any level. The system prompt level hooks don't. Why does the CLAUDE.md get lost? Why are we losing ability with a longer context. The problem is irrelevant context to the action. The Documentation agent doesn't require the Golang modernization rules. The Golang agent, doesn't require the planing coordinator rules. So the question I asked myself last weekend was, what is the experience if you split the contexts to only the required information for the task. I did head to head battles with agents, reading in the information, versus contextual specific information. The agents with context specific destroyed the competition. Like it was another world. So then I ran head to head tests on the type of information. Etc etc. My current setup is the best level achieved in those tests. So my argument is that removing the context that is entirely irrelevant for the agent improves performance dramatically. But I'm one person doing tests... it's true for me. Maybe it's not true for others. People have to explore the conception and determine that. I can only tell you what has worked best for me, and for me, it's like a model jump in performance improvements.
- dSebastien 1y agoIt's been my experience too, already prior to support for sub-tasks/agents. I've been exploring the ways in which I could "lazy load" context depending on the task at hand. I've approached this by defining an AI "receptionist", a set of roles and a set of tasks. The receptionist is the entrypoint of the system. It knows where to find roles/tasks but only loads very basic information about the roles. Depending on the role I ask for, it then loads the right role file, which in turn loads additional context. Then I ask for whatever i want to do, and it loads specific task files based on what I asked. And the task files load additional context etc. This works quite well because I end up with just the right context for the task at hand. And each role/task can actually be executed as a sub-task/agent
- CyberMacGyver 1y agoGenuinely, how do you keep up to date with these features while still being focused at the task? The more I focus the less I have time to read and experiment O want to finish it. What are your sources and how are you balancing it ?
- AndyNemmity 1y agoHonestly, the release of sub-agents was the first time it felt actually meaningful. MCP servers and the rest have not provided the type of gains sub-agents have. Hooks and subagents actually provide tangible value. Enough that it's changed my structure entirely to be tool focused, and not output focused.
- j_crick 1y agoWhy did you replace your comments in this thread with . ?
- AndyNemmity 1y agoBecause I gave examples, and details, and thousands of people read them from a pastebin i used to share. I didn't release it as open source or anything, just sharing. I don't want to take questions concerning it so I can focus on moving it forward. Today's goal is to try to build self healing agents that automatically fix the problems they encounter so they only happen once, automating a manual process I successfully use. Perhaps if that works out well, that is something releasable I can do in a real way as opposed to paste bin.
- j_crick 1y agoSadly I was just late to the discussion and missed the stuff. Would you mind sending what you shared to an email of mine? Not requesting further communication, just simply curious what people do with and around this.
- sabrina_ramonov 1y agoI'm the original blog post writer. Sadly I have no idea the context for this comment thread now.
- dang 1y agoCan you please not gut your comments by deleting the content, once they have replies? It destroys the context for readers, making the thread worse for everyone.
- AndyNemmity 1y agoThat’s fair, I shared things that weren’t in a state to communicate. I shouldn’t have commented at all.
- dang 1y agoAppreciated! And yes, that happens sometimes.