Back to browse
GitHub Repository

Context Management System to let your agent find and build relevant context

4 starsPython

Gcontext – a tree of llms.txt files to steer agents on support tasks

by bsampera·Jun 18, 2026·1 point·0 comments

AI Analysis

●●SolidBig BrainNiche Gem

llms.txt tree structure lets agents navigate context instead of dumping everything.

Strengths
  • Module system declares secrets by name only, values stay in .env locally
  • Agents can enrich modules with live data from actual services on demand
Weaknesses
  • Only worthwhile when managing multiple integrations, overkill for single database
  • Agent context management space getting crowded with Cursor Rules and Claude Memory
Category
Target Audience

Developers building AI agents for support or operations tasks

Similar To

Cursor Rules · Claude Memory · LangChain

Post Description

I work at a startup that makes martial arts gym software (MAAT). We handle the memberships of students so gym owners don't have to, using a payment system and a database. As we get more gyms we get more support tasks: subscription problems, membership updates, data exports...

The way we solve it now is a "tree of llms.txt". An llms.txt normally references what info is available on a website or docs — we use the same idea internally to organize the info the agent needs. The agent starts from a folder and navigates down:

. ├── llms.txt # references each folder at this level ├── stripe/ # info.md: how our stripe account is structured ├── firestore/ # info.md: how the schema looks └── support/ ├── info.md # how to resolve support tasks ├── runbooks/ # one file per task, with its own llms.txt │ ├── cancel-subscription.md │ ├── export-gym-data.md │ └── fix-membership-mismatch.md └── logs/ # one file per day, every task the agent resolved Copy With this we can steer the agent much better and create a new runbook every time a new support task comes.

You can add in every integration what the agent should and should not touch. The gcontext prompts make sure any guardrail is meticulously followed.

Similar Projects