We still don't have a proper headless CLI for Obsidian, but with the files being Markdown with Bases implemented using YAML Frontmatter, this CLI solves the main thing missing for working with your Obsidian vault on a headless server (for example, with your agent).