Knowledge: how to make it works?

after one month using AG, 3 proyects, one started from scratch… knowledge is empty

the videos in youtube are good… but they look fake promise, and this is a common issue posted in reddit.

so, I post here if someone can tell me how make it works,

Without codebase indexing(cursor feat), context engineering (augmentcode), needing retry each 3 messages, and lowering opus limits (yes, Gemini 3 pro isn’t usable to touch code), MY only reason with AG is the compound knowledge…

  • Same experience.
  • If explicitly asked, agents know nothing about “knowledge items”, so it’s not even on the system prompt.
  • The placeholder in Agent Manage knowledge section is not clear – “The agent has not generated any knowledge items yet” - is this a global section? Which agent?

Same. I was reading Google Antigravity, and it sounds like a fantastic feature. I’ve been using Antigravity for over a month now, but when I click the Knowledge tab, its empty: “The agent has not generated any knowledge items yet.”

I read from a redditor that adding

 "codeiumDev.useDevUnleash": true,

to settings.json enabled Knowledge for them, but it didn’t work for me :confused: .

Has anyone figured out a way to make it work?

This feature doesnt work from day one. I couldnt find any trick to make it work. Its very sad.

Thank you for reaching out. To assist you effectively with the ‘Knowledge’ feature, could you please provide additional context? Sharing screenshots, specific error messages, or the steps taken to reproduce the issue would be invaluable to our investigation.

Im using Google Pro subscription. I have “knowlage” enabled in the “settings - agent” window.

I mostly use agent manager with multiple workspaces.

From what I understand, knowlage should be generated automaticaly (similary like in Google Jules). Yet, there is no knowlage artifact generated, ever.

Im using latest version of Antigravity.

Reinstalled multiple times. Cleaned %appdata% folder, and “.gemini” folder. Tried multiple PC’s and 2 accounts - it doesnt work.

Sorry, i cant share media, because it tells me that new accounts cant emmbed media.

It’s also not working for me. What I tried:

  • Wait for updates to fix it
  • Restart multiple times
  • Use another repo
  • Install Antigravity on another machine
  • Switch the feature off and on again
  • Let Gemini investigate what could be wrong

All I get is a knowledge.lockfile in the knowledge folder, which will be re-created when I delete it.

Same issue here. Not functioning since day one despite multiple installations and attempts to directly activate the feature. The most I’ve managed is to have agents create “Knowledge_file” in the conversation history for that specific session which they immediately ignore. The Agent Manager is similarly broken and frequently crashes the language server if attempting to conduct multiple chats in any fashion.

(Running on a fresh install Windows 11 Pro with WSL2 enabled. Ryzen 7 3800 with 128GB of DDR4 3200. Formerly running on a Windows 11 Home, also a Ryzen processor. Same issue across both environments, fresh downloads and fresh OS installs for each.)

10 days since this was promoted on the official x account: https://x.com/antigravity/status/2020180758606807471
”The agent has not generated any knowledge items yet.”
This is ridiculous.

Thank you all for your feedback regarding the Antigravity Knowledge feature. We have received reports from other users confirming that knowledge items are now being successfully generated in their environments.

Could you please verify if you are still encountering empty knowledge files on your end? We appreciate your continued patience as we work to refine the Antigravity experience.

Just to report, Knowledge is still empty for me.

I’ve been using Antigravity for over two months now, and this specific function has never worked for me. I’ve looked everywhere, but there is absolutely no knowledge base article or support information about this issue. It’s incredibly frustrating that this feature has been completely broken since day one. I need someone to look into this and provide a real fix.

Yes, it is still blank for me.

Still not working for me. Hasn’t worked in any of the versions of the past month and also not on another device with a clean install.

I’ve tried deleting the knowledge.lock file, but it doesn’t help.

Note: I use .gitignore and .geminiignore in my .gemini folder, because I have turned it into a repository for easy roaming across devices. I have a suspicion that this could conflict with knowledge creation although I have explicitly allowed the knowledge folder and others through reversal of the .gitignore rules in.geminiignore.But I still doubt that this is the real reason, as so many people have this problem, there have to be people amongst them that have not turned their .gemini folder into a repository like me.

Thank you everyone for sharing your observation on the ‘Knowledge’ feature in Antigravity. We have escalated the issue to our internal teams for a thorough investigation.

To ensure our engineering team can investigate and resolve these issues effectively, we highly recommend filing bug reports directly through the Antigravity in-app feedback tool. You can do this by navigating to the top-right corner of the interface, clicking the Feedback icon, and selecting Report Issue.

I logged a big report weeks ago

This is how I solved the problem with help of Gemini CLI for fixing permissions and an idea to create .antigravityignore file and my idea how to organize all past chats into knowledge base that Antigravity cleanup procedure will not delete (100+ chats). I think that entire below instruction could be pasted into Antigravity AI chat or do it like in the old days :smiley:


[FIX] Antigravity IDE Knowledge Base: Empty Folder or “Stuck at 20 items” Problem

If your Knowledge Base (KB) in Antigravity is empty or keeps deleting your items, follow this 4-step solution to fix permissions, prevent crashes, and
bypass the hardcoded 20-item limit.

Step 1: The “Unlock” (Linux ACL Fix)
Even if you own the folders, restricted ACL masks can “blind” background processes. Run these commands to grant full access and clear the cache:

1 # Fix permissions for background processes
2 setfacl -m m::rwx ~/.config/Antigravity
3 setfacl -m m::rwx ~/.gemini/antigravity/knowledge
4
5 # Clear cache to reset the indexer engine
6 rm -rf ~/.config/Antigravity/Cache/*
7 rm -rf ~/.config/Antigravity/“Code Cache”/*

Step 2: Prevent Crashes (.antigravityignore)
The indexer often crashes (Segfault) when trying to read massive dependency folders. Create a file named .antigravityignore in your project root and add
these lines:

1 node_modules/
2 venv/
3 .venv/
4 build/
5 dist/
6 *.so
7 *.dat
8 .git/
RESTART the IDE after these two steps.

Step 3: Verification (The “Test Save”)
Before syncing everything, verify the agent can now write to disk:

  1. Open a chat and tell the agent: “Save a summary of our current project structure to the Knowledge Base now.”
  2. Check the folder: ~/.gemini/antigravity/knowledge/.
  3. If you see a new folder with files inside, move to the final step.

Step 4: The Permanent Fix (Bypass the 20-item limit)
Antigravity deletes “temporary” history items once you exceed 20. To keep everything, you must tell the agent to use Project-Based Mapping.

Open a chat and say exactly this:

“I want to sync my history into the Knowledge Base. Please access ALL my previous conversations, review them, and consolidate them into Knowledge Items named after my actual project directories (e.g., ‘Project-A’, ‘Project-B’). Do not save standalone history items
anymore. Instead, save the consolidated info as a ‘project_history.md’ artifact inside these project-based Knowledge Items.”

Why this works:

  • Step 1 & 2 ensure the engine is physically able to run without crashing or being blocked by Linux permissions.
  • Step 4 tricks the pruning logic. The system treats folders named after projects as “Permanent Artifacts” and won’t delete them, whereas it would delete
    them if they were named with random history_ IDs.

I filled that form 2 times… 6 weeks ago

It is still empty from my side.

Same issue here as well. It used to write to knowledge all the time. Now…nothing for months.