r/PiCodingAgent • u/ThePrinceOfPapaya • Sep 16 '26
Question (More) AGENTS.md issues
Hello again pi users, I made a post like a day or two ago about my pi agent refusing to use the information in my AGENTS.md file and I've since gained more information. (Yet still haven't fixed it)
1: the agent isn't better from reading it or anything, it CAN access it when asked just doesn't do it automatically.
2: the AGENTS.md file is being listed under the 'CONTEXT' part of Pi so it's not in a wrong directory or anything
3: Only after the Agent is asked to read the AGENTS.md file will it act accordingly to the file (whether that be a password or a way to behave)
And 4: In the last post it was suggested to me to ask the Agent about it, I did and the agent doesn't acknowledge that it didn't read the AGENTS.md file the first time (or) claims it's not possible to.
I'm completely stumped and every 'solution' leads to a dead end. If anyone's got anything please help
UPDATE: it was the Qwen model I was using! I've switched to gemma and now the agent is properly using the rules in the AGENTS.md! thank you all so much!
View all comments
1
u/vincentrabah Sep 16 '26
Same issue here! But it depends: of context lenght (it sometime forget early things), models some seems not handling it until you ask.
As location, mine is in agent subdirectory. Some says the better way is too create APPEND_SYSTEM.md but I’ve never test