Skip to main content

unb-consultant

Universal NotebookLM-Based Consultant. Create and query AI experts powered by Google Gemini Notebook (formerly NotebookLM).

Installation

pipx install "unb-consultant[browser]"

Or with cookie extraction support:

pipx install "unb-consultant[browser,cookies]"

Quick Start

# Authenticate
unb login

# Create an expert
unb expert create "cvss-v4" \
  --url "https://www.first.org/cvss/v4-0/specification-document" \
  --desc "CVSS v4.0 scoring expert"

# Ask a question
unb ask "cvss-v4" "How is the base score calculated?"

# List experts
unb expert list

MCP Server

For AI agent integration, start the MCP server:

unb mcp

Then configure in your opencode.json:

{
  "mcpServers": {
    "unb-consultant": {
      "command": "unb",
      "args": ["mcp"]
    }
  }
}

Commands

Command Description
unb login Authenticate with Google
unb auth check --test Verify authentication
unb auth refresh Refresh authentication tokens
unb expert create NAME Create a new expert (--url, --file, --auto)
unb expert list List all experts (--json for structured output)
unb expert delete NAME Delete an expert (--yes to skip confirmation)
unb ask NAME QUESTION Ask a question (--json for citations)
unb suggest KEYWORD ... Suggest expert domains by keywords
unb catalog NAME Generate thematic catalog
unb skill-gen NAME Generate SKILL.md (--auto for automatic)
unb source add NAME Add sources to expert
unb init Set up unb-consultant in a project (--auto)
unb setup Interactive setup wizard
unb mcp Start MCP server

Development

Prerequisites

  • Python 3.10+
  • Google account (for NotebookLM)

Local setup

git clone https://github.com/freddyeleazar/unb-consultant.git
cd unb-consultant
pip install -e ".[browser,dev]"

Testing

pytest

Releasing

See AGENTS.md for the release workflow. The project uses Conventional Commits and Keep a Changelog.

Metadata

Release files for unb-consultant 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unb-consultant 0.3.0
File Size Uploaded
unb_consultant-0.3.0.tar.gz 39.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for unb-consultant 0.3.0
File Interpreter ABI Platform
unb_consultant-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 79.9 kB

Release files / unb_consultant-0.3.0.tar.gz

Download URL unb_consultant-0.3.0.tar.gz
Size 39.7 kB
Tags Source
SHA-256 checksum
How to use checksums
efc3ba98352c1e1cdb6a71a8136b4f38faf2e5bf7d19b7575f2b1cf6604507c1
BLAKE2b-256 checksum
How to use checksums
d7b48b5a437f6b9a5e1dd37fce48173fccdd3795fced76a36e0a806e5f72ceb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 26, 2026.

Transparency log

Release files / unb_consultant-0.3.0-py3-none-any.whl

Download URL unb_consultant-0.3.0-py3-none-any.whl
Size 40.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77484e854293ce68b90674846799b3b3955e7f7face258cec3982d53b6890482
BLAKE2b-256 checksum
How to use checksums
7c77603635af9cad57ee321fd70242b7380b34fc706ef76adf6d512b66ac2855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 26, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.0

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page