···305305306306We hope to integrate with Gerrit natively in the future.
307307308308+### I want to write a tool which integrates with Jujutsu. Should I use the library or parse the CLI?
309309+310310+There are some trade-offs and there is no definitive answer yet.
311311+312312+* Using `jj-lib` avoids parsing command output and makes error handling easier.
313313+* `jj-lib` is not a stable API, so you may have to make changes to your tool
314314+when the API changes.
315315+* The CLI is not stable either, so you may need to make your tool detect the
316316+different versions and call the right command.
317317+* Using the CLI means that your tool will work with custom-built `jj` binaries,
318318+like the one at Google (if you're using the library, you will not be able to
319319+detect custom backends and more).
320320+321321+308322[bookmarks_conflicts]: bookmarks.md#conflicts
309323310324[change ID]: glossary.md#change-id