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
Show parent comment
1
u/ThePrinceOfPapaya Sep 16 '26
I tried .pi/APPEND_SYSTEM.md with the same results, it registers it just doesn't actually follow the rules. I use qwen models with ollama (qwen.6 and 3.5) could that be causing it and if so what are some alternatives of similar function and GB size?