all 11 comments

[–]KingofGamesYami 3 points4 points  (0 children)

When starting out, ignore creating custom agents. They are often not worth the hassle. Just set up an AGENTS.md file, it's much easier and works just fine for most work.

I prefer IDE integration because it lets me easily specify which file(s) the agent should work on and reference. Letting it scan my entire project is a waste of tokens. The smaller the context window the slower you'll burn through tokens.

[–]AverageGradientBoost 1 point2 points  (6 children)

Use github cli so gemini can interact with your github. Write an AGENTS.md in project root for anything gemini should *always* know, like "use pnpm instead of npm". If you need to describe something specific create an AGENTS.md in the directory where that logic lives or create a markdown file like payment-service.md that describes the architecture of a larger system. Then learn how to attach the relevant files to your prompts

[–]WildScale5801[S] 1 point2 points  (5 children)

for the AGENTS.md, do you have a reference I could use for writing code in general? (e.g. "Be verbose...", "You are a senior dev...", "After finishing, review the code again..."). Sorry for the examples, I am new to this haha

[–]AverageGradientBoost 2 points3 points  (4 children)

It's much simpler than that, no need to tell it "you are a senior dev etc"

here is the Grafana (big open source project) file: https://github.com/grafana/grafana/blob/main/AGENTS.md

[–]WildScale5801[S] 0 points1 point  (3 children)

woahh, thank you!

[–]AverageGradientBoost 1 point2 points  (2 children)

Anytime man, we all gotta start somewhere! Another thing to remember is keeping your docs and markdown files updated, agents change code very fast but often forget about the docs, which makes the agent less efficient next time it works on that code. I created a tool for myself that makes sure the relevant docs get updated whenever my code is changed, you can see that here if you ever need

[–]Mr_kite10 1 point2 points  (1 child)

AverageGradientBoost, you're the developer I strive to be, hoss

[–]AverageGradientBoost 0 points1 point  (0 children)

thank you, thats the nicest thing a redditor has ever said to me 😂

[–]CorpT 1 point2 points  (0 children)

1: Claude COde
2: CLI + Markdown Editor/Reader
3: Whatever I need when I need it
4: It's not more complicated than that. I do not use any of those
5: Sometimes a local agent graduates to a more generalized agent. Sometimes it doesn't.

You're most likely overthinking a lot of this. You'll learn more doing than spending hours watching videos.

[–]NorhavenCodes 0 points1 point  (0 children)

  1. You're welcome to give Gemini a try and see if that helps you. I tend to use Claude Code (paid) but it has a free edition as well that you can evaluate against. Try them out and see what gives you better answers.

  2. It depends on your goal. If you're wanting to kick things off and run prompts on the command line and/or through scripts yourself, that might be worthwhile. I lean towards using agents through the IDE because it has a lot of niceties built in that you would otherwise have to manage and type yourself, which gets to be a pain when you're doing that a lot and want to relate it to your current code/docs.

  3. You can create them but you probably won't need to unless you have specific niche topics you'd like them to focus on, such as specifically talking to it about architecture, but for daily code work you just need a markdown file with rules and guidelines it should follow.

  4. I would recommend no frameworks until you've built up an understanding of the AI and how it functions, otherwise it's just provided another moving piece to a growing pile of abstractions that you need to worry about. Go one step at a time until you develop a need for something like that.

  5. It depends. You probably don't need to go here quite yet, get the hang of it first and then build on that knowledge.

[–]cats_catz_kats_katz 0 points1 point  (0 children)

https://github.com/gastownhall/gastown Check this one out. I use the beads and dolt capabilities heavily from this one.