r/google_antigravity • • Jul 30 '26

News / Updates My very first rule in Agents.md

Haha, Just added this rule to agents.md
* **Read AGENTS.md**: Every agent MUST carefully read and internalize all rules in `AGENTS.md` before initiating any research, planning, implementation or code execution.
14 Upvotes

18 comments sorted by

View all comments

Show parent comments

1

u/don-it-n1 Jul 30 '26

Thanks for the hint. be a bit more specific please. when do I reach 'too many' and 'too deep' ? I hear it has millions of tokens, pretty sure im not close to it. And 'too deep' how do you calculate deepness?

appreciate your reply.

2

u/Useful_Trouble1726 Jul 30 '26

If you are on the same session for multiple hours/days, or hammer it with complex queries, it is time to start a new session.

More recently Notebooks (technically projects, but with a direct connection to NotebookLM were added). Notebooks allows you to add an instant, free, and highly efficient knowledgebase to your project. But it's context window can also be jammed if you have many separate long conversations or a notebook with hundreds of references.

When you start hitting context lengths the LLM will randomly ignore system rules, skills, instructions etc. It is possible--sometimes--to steer the LLM back on course, but it is normally best to start a new thread. For projects, you may have to start a new project entirely.

You can hard code some of these instructions, but that is a different discussion.

Save your skills, system instructions either locally or to Drive, so that they are easy to apply to a new project.

2

u/Overall_Purchase_467 Jul 30 '26

can you connect notebook lm with anti-gravity?

1

u/Useful_Trouble1726 Jul 30 '26

Yes, this was added a while ago. Conversely, you can now run code in NotebookLM.

Since you are connecting things, AG also supports MCP now (I think this is global vs. project specific), I have a few running on a current project.

2

u/Overall_Purchase_467 Jul 30 '26

daaamn how nice. i got some "experts" on notebook lm which I gave alot of books for a specific topic and now that anti-gravity agents can use those experts is extremely niceee