Leandro Mantaras (Serfe.com)

Leandro Mantaras (Serfe.com)

Corpus Hub contributor since 2026-10-20

Leandro Mantaras (Serfe.com)'s work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
7files
665lines
★ 4GitHub stars on repo

Totals across every corpus @leandro-serfe appears in; a commit selected for two corpora counts once. Files and lines count the selected commits; each corpus indexes the whole repository at its pinned commit.

What an agent can do with the serfe-ai-discovery corpus

Serfe/serfe-ai-discovery: Serfe/serfe-ai-discovery (PHP)

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository Serfe/serfe-ai-discovery with XERJ (https://hub.xerj.org/corpus/serfe--serfe-ai-discovery).
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/Serfe/serfe-ai-discovery serfe-ai-discovery && git -C serfe-ai-discovery checkout 8cffb12d87319a2f3106ee5839f345a9fe98b980
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./serfe-ai-discovery --url http://127.0.0.1:9200 --prefix serfe-ai-discovery --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: GPL-2.0. Read it for the approach only, do not copy code.

corpus serfe--serfe-ai-discovery · AI, prompts and agents
Related corpora: brex-prompt-engineering, adalflow, flagembedding, haystack
AI search and retrieval with XERJ · Case study: reference coding for agents

Selected work

GitHub ★ 4

Serfe/serfe-ai-discovery

8cffb12d87 feat: improve discovery administration
selected commit: 7 files · 665 lines · PHP, JavaScript · includes, tests, assets

The corpus is the whole repository at the pinned commit, not only the files of the selected commit.

selected · in licence reviewcorpus serfe--serfe-ai-discoveryAIGPL-2.0 agreed 2026-10-20

Not installable yet: this corpus is not in the hub registry until its licence review passes, so xerj corpus add and xerj ask cannot fetch it. It becomes installable when this card says live in the hub.

XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/leandro-serfe/badge.svg)](https://hub.xerj.org/contributors/leandro-serfe)

Included with the author's permission (email, 2026-10-20), under each repository's own licence, with attribution. Want it removed? Reply to the email or open an issue on xerj-org/xerj.