Skip to main content
Quick chat with your email from the CLI. Ask questions, search your inbox, and manage your emails directly from your terminal.

Quick Start

Run the Gwiz CLI and start chatting:
npx @gwizai/sdk
You’ll see an interactive prompt where you can ask questions about your emails:
⚡ How can I help you?
> When is my upcoming flight to Japan?

Example Usage

The CLI provides a conversational interface to your Gmail. Here are some example queries:

Travel Queries

> When is my upcoming flight to Japan?
⚡ ✈️ Flight to SF UA1432 is 5 days <View Email>

Meeting Queries

> What meetings do I have this week?
⚡ You have 3 meetings scheduled:
   - Team standup: Monday 10am
   - Client review: Wednesday 2pm
   - Sprint planning: Friday 9am
> Find emails from [email protected] about the project
⚡ Found 5 emails:
   - Project Update (2 days ago)
   - Budget Approval (1 week ago)
   ...

Features

  • Natural language queries - Ask questions in plain English
  • Interactive chat - Have a conversation with your email
  • Fast responses - Get answers instantly
  • Email links - Click to view full emails
  • Context-aware - Understands dates, people, and events

Authentication

Before using the CLI, you need to authenticate:
npx @gwizai/sdk auth login
This opens your browser to complete OAuth authentication and saves your token for future use.

Installation

You can use the CLI in two ways: No installation needed:
npx @gwizai/sdk

Global Installation

npm install -g @gwizai/sdk
Then use:
gwiz

Advanced Usage

The CLI also supports direct tool commands. See the CLI documentation for more details.

Next Steps

CLI Documentation

Learn more about CLI commands and options