Skip to main content

Tools

These tools let you create, publish, and query nanopublications. The quick start shows the command-line tool and the JavaScript library in action.

User interfaces​

  • Nanodash (code) is a web interface for browsing, searching, and publishing nanopublications, with templates that make it easy to create them without writing RDF.
  • The Knowledge Collaboratory helps annotate biomedical text, publish those annotations as nanopublications, and browse them.

Command line​

The nanopub-java release jar is also a command-line tool, with commands such as check, sign, publish, retract, query, and mkkeys:

java -jar nanopub-<version>-jar-with-dependencies.jar check my-nanopub.trig

The jar is on Maven Central, and the quick start shows how to download the latest one.

Libraries​

LanguageLibraryInstall
Javananopub-java, the reference implementationMaven: org.nanopub:nanopub
Pythonnanopub-pypip install nanopub
JavaScript / TypeScriptnanopub-js, for Node.js and the browsernpm install @nanopub/nanopub-js
Rustnanopub-rs, with bindings for Python and JavaScriptcargo add nanopub

All of them can sign, verify, and publish nanopublications.

AI agents​

nanopub-skill is an Agent Skill that lets AI coding agents work with nanopublications in natural language: creating, signing, publishing, querying, superseding, and retracting them, as well as authoring templates, resource views, and Spaces. It follows the open Agent Skills format, and so works with Claude Code, OpenAI Codex, Gemini CLI, Cursor, GitHub Copilot, and many other agents.