CLI for DeepVista β chat, notes, recipes, and memory from your terminal. π Star if you like it!
npx skills add https://github.com/deepvista-ai/deepvista-cli --skill deepvistaInstallieren Sie diesen Skill ΓΌber die CLI und beginnen Sie mit der Verwendung des SKILL.md-Workflows in Ihrem Arbeitsbereich.
DeepVista CLI connects your coding agents to a shared knowledge base β
so they donβt just execute, but learn, remember, and build on past work.
β If this direction resonates, consider starring the repo β it helps more people discover it.
Modern coding agents are powerful β but each interaction is stateless and isolated.
DeepVista changes that.
Over time, this turns isolated executions into a:
β a self-evolving team of agents that compound knowledge over time
Most knowledge tools trap your data in a GUI. DeepVista CLI gives you full access to your knowledge base from the terminal β and lets your AI agents use it too.
This repo is part of a broader exploration of how agent skills are structured and executed.
If you're interested in:
β Read more: https://go.deepvista.ai/agent-skills-2d
pip install deepvista-cli
Or with uv / pipx:
uv tool install deepvista-cli # or: pipx install deepvista-cli
deepvista auth login # opens browser
deepvista notes +quick "My first note from the terminal"
deepvista card +search "founder mindset"
deepvista chat +send "What did I learn last week?"
That's it. Your knowledge base is now accessible from any terminal.
Claude Code
Cursor
OpenCode
and any agent that supports skills
Install once, then talk to your agent. The agent handles authentication and all commands on your behalf.
curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/install.sh | bash
The script auto-detects your package manager (uv, pipx, or pip) and copies the consolidated deepvista skill into your agent's skill directory (Claude Code, OpenCode, Cursor, OpenClaw). If you upgraded from an earlier release, it also sweeps out the 12 legacy deepvista-* skills so you don't end up with both.
Prefer GitHub's CLI? gh skill install DeepVista-AI/deepvista-cli works too (GitHub CLI β₯ 2.90, preview).
Open your agent and paste:
Help me get started with DeepVista. Walk me through logging in.
Your agent will open the browser login page, guide you through pasting the auth code, and confirm you're logged in.
Claude Code tip: To skip skill file read confirmations:
claude config set allowedPaths "~/.claude/skills" --global
The install script enables auto-capture in every detected agent β no manual setup required.
| Agent | Config file |
|---|---|
| Claude Code | ~/.claude/CLAUDE.md |
| Cursor | ~/.cursor/rules |
| OpenCode | ~/.opencode/AGENTS.md |
Your agent silently saves facts, decisions, insights, and action items to your DeepVista knowledge base as you work. The install is idempotent β re-running won't duplicate anything.
One skill, deepvista, with per-subcommand detail under skills/deepvista/reference/.
| Reference file | What it covers |
|---|---|
reference/shared.md |
Auth, profiles, global flags, exit codes, agent registration |
reference/notes.md |
Note capture, CRUD, +quick |
reference/vistabase-card.md |
Knowledge-base cards β create, search, pin, edit, grep |
reference/vistabase.md |
Implicit memory β view and search |
reference/memory.md |
Deprecated deepvista memory alias mapping |
reference/chat.md |
Chat sessions and NDJSON stream format |
reference/skill.md |
Structured Skill workflows β list, run, export, discover, install |
reference/skill-analyze-notes.md |
Pattern: search β read β synthesize notes |
reference/skill-research-to-skill.md |
Pattern: research the KB, then run a Skill |
reference/skill-export-knowledge.md |
Export a Skill as a portable SKILL.md |
reference/skill-import-files.md |
Bulk-import a folder as file cards |
reference/persona-knowledge-worker.md |
Daily persona workflow loop |
reference/openclaw.md |
Auto-capture rules for OpenClaw agents |
The agent loads only the index at first; when a subcommand is needed, it reads the matching reference file on demand.
Build a searchable knowledge base from founder interviews:
I just listened to the Lenny's Podcast episode with Brian Chesky about founder mode.
Save this to my knowledge base as a note titled "Brian Chesky β Founder Mode".
Once you've captured 10β20 notes, ask your agent to find patterns:
Search for cards about growth and early-stage execution,
then run my Research Synthesis skill focused on:
what separates high-growth founders, common 0β1 mistakes.
I have a new startup idea to evaluate. Idea: [your idea].
1. Search my knowledge base for any idea validation frameworks
2. Find my idea evaluation Skill
3. Run it with the above context
Export as a reusable, shareable skill:
Export my founder playbook Skill as a SKILL.md file so I can share it with my team.
| Skill | How to invoke |
|---|---|
| Research synthesis | "Search my KB for [topic] and run my Research Synthesis Skill" |
| Weekly review | "Run my weekly review β surface pinned cards and capture key learnings" |
| Interview debrief | "I just finished a user interview. Run my Interview Debrief Skill" |
| Decision memo | "Help me think through this decision using my knowledge base" |
| Competitive analysis | "Run a competitive analysis on [company/space] using everything I've captured" |
A full four-panel terminal interface β chat, notes, skills, and memory in one view.
pip install 'deepvista-cli[ui]'
deepvista ui
| Panel | Key | Description |
|---|---|---|
| Chat | 1 |
Talk to the DeepVista AI agent. Stream responses in real time. |
| Notes | 2 |
Browse and search your notes. Click to read full content. |
| Skills | 3 |
List all Skills. Select one to view details and run it live. |
| Memory | 4 |
Read-only view of implicit context from Chat sessions. |
| Key | Action |
|---|---|
1β4 |
Switch panels |
r |
Refresh |
q |
Quit |
deepvista card # Knowledge cards (all types)
deepvista skill # Executable workflows
deepvista vistabase # Implicit context from Chat (read-only)
deepvista chat # Conversational AI agent
deepvista notes # Quick note management (shorthand)
deepvista card list [--type TYPE] [--status pinned|archived|normal] [--limit N]
deepvista card get <card_id>
deepvista card create --type TYPE --title "Title" [--content "..."] [--tags '["t1"]']
deepvista card update <card_id> [--title "..."] [--content "..."]
deepvista card delete <card_id>
deepvista card +search "query text" [--type TYPE] [--limit 10]
deepvista card +similar <card_id>
deepvista card +pin <card_id>
deepvista card +archive <card_id>
Card types: person Β· organization Β· message Β· todo Β· topic Β· keypoint Β· file Β· note Β· skill Β· skill_run
deepvista skill list [--limit N]
deepvista skill get <skill_id>
deepvista skill run <skill_id> [--input "context"] # streams NDJSON
deepvista skill status <run_chat_id>
deepvista skill export <skill_id> --format skill
Automatically accumulated from Chat. Read-only β updates happen through conversation.
deepvista vistabase show [--limit N]
deepvista vistabase search "query text" [--limit N]
deepvista memoryis a deprecated alias that works identically.
deepvista chat sessions [--limit N] [--offset N] [--search "query"]
deepvista chat get <chat_id>
deepvista chat delete <chat_id>
deepvista chat +send "your message" [--chat-id ID] [--new] # streams NDJSON
Convenience alias for card commands filtered to type=note.
deepvista notes list [--limit N]
deepvista notes get <note_id>
deepvista notes create --title "Title" [--content "..."]
deepvista notes update <note_id> [--title "..."] [--content "..."]
deepvista notes delete <note_id>
deepvista notes +quick "Quick note from a single line of text"
pip install deepvista-cli
pipx install deepvista-cli
uv tool install deepvista-cli
pip install 'deepvista-cli[ui]'
uv tool install 'deepvista-cli[ui]'
pip install git+https://github.com/DeepVista-AI/deepvista-cli.git
uv tool install git+https://github.com/DeepVista-AI/deepvista-cli.git
uv sync
uv pip install -e '.[ui]'
uv run deepvista --help
curl -sSL https://raw.githubusercontent.com/DeepVista-AI/deepvista-cli/main/uninstall.sh | bash
Removes the CLI, all skills from agent directories, and auto-capture blocks from config files.
deepvista auth login # opens browser (default)
deepvista auth login --code XXXX-XXXX # headless / non-interactive
deepvista auth status # check current auth
deepvista auth logout # clear tokens
For headless environments, visit the web app at /cli, sign in, and paste the code.
deepvista config set local --api-url http://localhost:8080
deepvista config set staging --api-url https://api-staging.deepvista.ai
deepvista --profile local card list
deepvista config list
Resolution order (first wins): CLI flags β named profile β built-in default
| Flag | Default | Description |
|---|---|---|
--format json|table |
json |
Output format |
--verbose |
off | Show HTTP request/response details |
--dry-run |
off | Show what would be sent, don't execute |
--api-url URL |
https://api.deepvista.ai |
Override backend URL |
--profile NAME |
default |
Use a named config profile |
--version |
Show version and exit |
Global flags must come before the resource name:
deepvista --profile local card list
--format table for human-readable output{"error": {"code": N, "message": "...", "detail": "..."}} on stderrchat +send and skill run (one JSON object per line)| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | API error |
| 2 | Auth error (not logged in / token expired) |
| 3 | Validation error (bad arguments) |
| 4 | Network error |
| 5 | Internal error |
| Variable | Description |
|---|---|
DEEPVISTA_CONFIG_DIR |
Config directory (default: ~/.config/deepvista) |
deepvista-cli/
βββ deepvista_cli/
β βββ main.py # CLI entry point
β βββ config.py # Config + profiles
β βββ auth/ # Login, token storage, callback server
β βββ client/ # HTTP client, SSE streaming
β βββ commands/ # card, skill, memory, chat, notes, auth, config
β βββ tui/ # Terminal UI (requires [ui] extra)
β βββ output/ # JSON + table formatters
βββ skills/ # SKILL.md files for agent integration
We welcome contributions! Whether it's bug reports, feature requests, documentation updates, or code β open an issue or submit a PR.
If you find DeepVista CLI useful, please β star this repo β it helps more people discover it!
DeepVista CLI is open source. See LICENSE for details.