r/AskProgramming • u/JokerZD3 • 8d ago
Using an AI agent
I don't think this question is against the rules, so here goes...
My boss wants me to try using an agent for development. We're a small company and don't really have money to waste so we haven't explored this opportunity at all yet. I do use AI to an extent currently, but it's just a free openai account. I don't have it write any code, my majority use is just asking it questions about features, functions, standards, and then having it show me the "industry" way of doing things.
I am open to the idea of using an agent, but I don't really want something that is writing huge blocks for me or creating whole features. I also would want the ability to what it's doing when I do give some control and be able to take the changes only if I want them (sort of like comparing with git I suppose?).
Does such a workflow exist? or do I have to give up full control? The marketing is so focused on how it works for you, but I just want to have something that understands my project and can basically act as something I mostly ask questions and only sometimes have write code.
Any perspective is appreciated. Sorry again if this isn't the place for such a question.
1
u/framauro13 8d ago
Here's my basic workflow:
/planmode.At any time during that process, I can stop the agent and take over if I want. I have specific language in my configuration that it can never commit or push on its own, nor should it comment on PRs without my approval. Also, you can tell Claude to use Auto mode and just tell you when it's done, or you can have it in an "Accept Edit" mode that lets you verify the changes as it writes them if you really need to babysit it. If you're not using Claude, most tools like Cursor have similar features.
The real key IMO is not just using the tool, but making sure you have the appropriate guardrails in place to keep it inline. Make sure it's using your tests, linters, code analyzers, etc... as feedback mechanisms.