Skip to content

Conversation

@spmallette
Copy link
Contributor

This is just an initial attempt at making the repository a bit more friendly to AI agents/tools. Moves README/CONTRIBUTING to markdown which is more standard that asciidoc for these things. Expanded the content of both of those files. AGENTS.md is meant to be generic to any AI agent/tool as TinkerPop isn't prescriptive in that regard. With AGENTS.md we at least have a centralized place for any tool to learn how to contribute here.

Purposefully targetted the 3.7-dev branch since we're still developing there. I'd expect this file to potentially be different between branches so the file is currently at a lowest common denominator right now. I'd imagine it will be different across branches to be most effective. I could see where over time we add more AGENTS.md files in the roots of various directories as well (each GLV would probably need one at a minimum).

Wasn't sure what to do with the old .asciidoc files. I think we would just delete on the merge to master and keep them on the 3.x lines. Open to other ideas, but i do think we'd be better with markdown for this stuff.

Anyway, it's time to start somewhere. VOTE +1

@xiazcy
Copy link
Contributor

xiazcy commented Feb 10, 2026

I like this as a start.
VOTE +1

AGENTS.md Outdated
Key external docs (for hints, not to scrape blindly):

- Project website: https://tinkerpop.apache.org
- Reference docs: https://tinkerpop.apache.org/docs/current/reference/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: This might become more of a maintenance headache, but it may be preferable to pin these links to the latest release in the branch, instead of directing agents to docs which may contain new steps or unavailable features.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i struggled a bit with what to do there - decided to change it to point to the local docs in the repo. that way it's always current. that didn't need to be the external url.

AGENTS.md Outdated
- Python:

```bash
mvn clean install -Pglv-python
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These GLV commands are arguably too heavy for building and testing GLVs. Might be best to instruct to build the server and dependencies once: mvn clean install -pl :gremlin-server -am -DskipTests and then only build and run the GLV afterwards mvn clean install -Pglv-python -pl :gremlin-python

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah...i didn't pay as close attention to that section as i should have. that was a bit of a direct copy/paste from my local setup and it never worked well. made some adjustments.

AGENTS.md Outdated
- Generate documentation:

```bash
bin/process-docs.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this sufficient for agents to figure out the docs build process on their own? I would imagine they would at the very least need a reference to the documentation environment docs, and likely substantial hand-holding through the hadoop setup.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleted that. another section i didn't focus to heavily on and my tools never ever tried to use any of that. not even sure we're at a stage with these tools where we would use that. removed the section.

@Cole-Greer
Copy link
Contributor

I left a few comments for your consideration. None of them are blockers, and I defer to your judgement on any resolution.

VOTE +1

This is just an initial attempt at making the repository a bit more friendly to AI agents/tools. Moves README/CONTRIBUTING to markdown which is more standard that asciidoc for these things. Expanded the content of both of those files. AGENTS.md is meant to be generic to any AI agent/tool as TinkerPop isn't prescriptive in that regard. With AGENTS.md we at least have a centralized place for any tool to learn how to contribute here.
@spmallette
Copy link
Contributor Author

ended up choosing to delete the old asciidoc files - i don't think it's a big deal since they would be removed on master anyway.

@spmallette spmallette merged commit 49c50c1 into 3.7-dev Feb 11, 2026
42 checks passed
@spmallette spmallette deleted the agents branch February 11, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants