downcity
Inspired by the idea of the Upside Down, Downcity is a parallel city built for agents: a hidden operating layer beneath the surface. It is where agents are organized, coordinated, and put to work
What XERJ indexed
Snapshot
Only packages/agent, packages/cli, packages/type, templates/agent/server/src at commit e01d8f7b2e (2026-10-21). main is 28 commits ahead.
Selected work

“move prompt bookkeeping out of user parts”. 26 files, 494 lines in packages/agent, packages/type, packages/cli.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-26. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
agentaiharnessproductivity
Example questions
- How does downcity implement agent?
- Where does downcity handle “move prompt bookkeeping out of user parts”?
- What does packages/agent do in downcity?
Inside the indexed corpus
- 1,642 files, 9.3 MB in total, about 5.8 KB per file.
- The selected commit changed 26 of those files (1.6%).
- Languages by size: TypeScript 81%, JavaScript 17.8%, CSS 0.8%, MDX 0.3%, Shell 0.1%.
- On GitHub since 2026-01-27, last push 2026-10-29, 1,603 commits on main.
- The pin is 28 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for genesiscosmos/downcity on 2026-10-31, and the LICENSE file at commit e01d8f7b2e was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
wangenius (@wangenius) has 1 selected repository on the hub.
Using XERJ with downcity
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones genesiscosmos/downcity at the pinned commit and indexes it on your machine.
Search the GitHub repository genesiscosmos/downcity with XERJ (https://hub.xerj.org/corpus/genesiscosmos--downcity). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/genesiscosmos/downcity downcity && git -C downcity checkout e01d8f7b2ed7a6fde1b3cd904b8f1fadf5e2015d 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./downcity --url http://127.0.0.1:9200 --prefix downcity --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: Apache-2.0. Keep the copyright notice and credit the authors.
Related
wangeniusAI, prompts and agents corporaautoragadalflowcamelNarraFork/NarraForkKristjanPikhof/Pi-Agents-Teamtruefoundry/trueforge
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.