{"repo":"jupyter-ai-contrib/nb-cli","free":true,"listed":false,"github":"https://github.com/jupyter-ai-contrib/nb-cli","clone":"git clone https://github.com/jupyter-ai-contrib/nb-cli.git","description":"A CLI-first interface for AI agents to work with notebooks","language":"Rust","stars":85,"topics":["ai-agents","cli","jupyter","jupyter-notebooks","notebook-automation"],"license":"BSD-3-Clause","category":"cli-tools","readme_excerpt":"nb - Notebook CLI A fast, command-line interface for working with Jupyter notebooks. Designed for both humans and AI agents, with AI-Optimized Markdown format by default and JSON output available for programmatic use. Enables reliable notebook manipulation without opening a browser. AI-Optimized Markdown Format The default output format uses line-oriented sentinels with JSON metadata, specifically designed for AI agents: python import pandas as pd text Hello, world! Key Features: - Line-oriented sentinels ( @@notebook , @@cell , @@output ) for deterministic parsing - JSON metadata with nbformat v4.5 compliant property names ( cell type , output type ) - Cell index field for reliable positional references (even when IDs are missing) - Content-based hashing using SHA256 for externalized output filenames - Prevents AI agents from guessing filenames - Same content always maps to same file (automatic deduplication) - Absolute paths for all externalized outputs - 40+ MIME types with JupyterLab-compatible priority Format Structure: Installation Install from crates.io Quick Install This installs the binary to /.nb-cli/bin/nb . Review the script before running it in sensitive environments, then follow the instructions to add it to your PATH. Note : If you get an error while installation, where your platform is not supported, please use cargo install or build from source. Build from Source The binary will be available at target/release/nb . AI Agent Integration To enable AI agents (lik","default_branch":null,"files":null,"tree":[],"storefront":"/r/jupyter-ai-contrib","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jupyter-ai-contrib/nb-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}