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.2.1

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.2.1
File Size Uploaded
unb_consultant-0.2.1.tar.gz 35.8 kB Details

Built distribution (wheel)

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

Total release size: 72.2 kB

Release files / unb_consultant-0.2.1.tar.gz

Download URL unb_consultant-0.2.1.tar.gz
Size 35.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7f78fea5f1343b6b5bdfb39b0351c1c36bfe49aa9c5294b43a6793a331fd6b1d
BLAKE2b-256 checksum
How to use checksums
4cfcaba1f6468a64ad12b2772f9ee8fcf3e3ef959ca6a7031764d451faf0412a
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.2.1-py3-none-any.whl

Download URL unb_consultant-0.2.1-py3-none-any.whl
Size 36.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54ceb9e9b4cd20a6585288e8fb8a16a56b16ed0991d3eb2f111e12d718bedf72
BLAKE2b-256 checksum
How to use checksums
4a47433ac9aef31d4f091ad9404790db931092c117a62fb229acff6748921bfc
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

0.3.0

2 release files

This release

0.2.1 This release

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