valkyria

Own your keys. Command your terminal.

Plan, search, and ship from your terminal. Multi-model routing, semantic codebase memory, encrypted BYOK, and approval-gated edits.

Terminal

Fast Python REPL with `/` slash completion, `@` file context, and sandboxed `/run` & `/pkg`.

/model pickBYOK
scroll & click to switch9 providers

Multi-Model

Route tasks across Groq, Gemini, and NVIDIA on your own keys. Inspect budgets before switching.

Read docs
GATEdenylist active
pip install httpxawaiting [Y/n]

Safety Gate

Every file edit, shell command, and package install shows a diff and waits for your explicit yes.

vault · ragAES-256-GCM
from valkyria import vault

keys = vault.unlock(pw)
hits = rag.query("auth")
# 3 citations · local
ciphertext-only syncPinecone

Vault & RAG

Client-side Argon2id + AES-256-GCM key encryption paired with Pinecone semantic code retrieval.

OpenAI· GPT & o-series
Anthropic· Claude models
Google Gemini· Reasoning
Groq· Fast inference
Mistral AI· Codestral & Large
DeepSeek· Chat & Reasoner
Cohere· Command & Embed
Moonshot AI (Kimi)· Long context
NVIDIA NIM· Open weights
Pinecone· Vector RAG
Firebase· Auth & sync
LangChain· Tool runtime
DuckDuckGo· Web search
Python· CLI core
Next.js· Docs & web
OpenAI· GPT & o-series
Anthropic· Claude models
Google Gemini· Reasoning
Groq· Fast inference
Mistral AI· Codestral & Large
DeepSeek· Chat & Reasoner
Cohere· Command & Embed
Moonshot AI (Kimi)· Long context
NVIDIA NIM· Open weights
Pinecone· Vector RAG
Firebase· Auth & sync
LangChain· Tool runtime
DuckDuckGo· Web search
Python· CLI core
Next.js· Docs & web

What is Valkyria?

Valkyria is a terminal-first AI workspace built for developers who refuse black-box tooling. Connect your own API keys, inspect every action before it runs, and keep your credentials encrypted on your own machine. Read the manual.

Bring your own keys

Use your own OpenAI, Anthropic, Google Gemini, Groq, Mistral AI, DeepSeek, Cohere, Moonshot AI (Kimi), and NVIDIA NIM keys. Switch models anytime with /model without lock-in.

Sandboxed /run & /pkg

Execute shell commands and install packages via pip, uv, npm, cargo, brew, or apt behind a denylist & approval gate.

Pinecone Cloud RAG

Index your codebase with /index and retrieve exact semantic chunks with file citations via /search.

AES-256-GCM key vault

Keys are encrypted client-side with Argon2id + AES-256-GCM before optional Firebase ciphertext sync.

Durable JSON sessions

Every conversation persists locally as JSON. Open fresh context with /new, inspect /budget, or /compact older turns.

Explicit approval gate

Every file write, edit, deletion, or shell command previews its diff and waits for [Y/n/a] unless /auto is on.

Flight path

Four moves from prompt to verified output.

valkyria loginstep 01
$ valkyria login
Opened browser sign-in via Firebase...
Signed in as sam@studio.dev
Vault unlocked (AES-256-GCM)
Providers ready: 9 supported
approval gate enabledvalkyria repl

Get started

Install the Python CLI, sign in through your browser, and add your own provider keys. Nothing runs without your say-so.

01

Install

Requires Python 3.12+. Install globally with pipx or uv.

02

Log in & unlock vault

Authenticates via browser callback and encrypts keys locally with AES-256-GCM.

03

Launch in your project

Index files with /index, switch models with /model, or run commands with /run & /pkg.

Coming soon

Expanding the flight deck.

Expose databases, issue trackers, and internal APIs to Valkyria through Model Context Protocol behind the same approval gate.$ valkyria mcp add postgres --scope workspace

Bring your own keys

Built on proven providers and open tools. Bring your own keys and pay providers directly—zero markup, zero key custody.

LLM Provider
OpenAI
GPT & o-series models
LLM Provider
Anthropic
Claude Sonnet, Opus & Haiku
LLM Provider
Google Gemini
Reasoning & context
LLM Provider
Groq
Ultra-fast inference
LLM Provider
Mistral AI
Mistral, Codestral & Pixtral
LLM Provider
DeepSeek
Chat & Reasoner models
LLM Provider
Cohere
Command & Embed models
LLM Provider
Moonshot AI (Kimi)
Kimi long-context coding
LLM Provider
NVIDIA NIM
Open-weights catalog
Cloud RAG
Pinecone
Vector index & citations
Identity
Firebase Auth
Sign-in & vault sync
Agent Core
LangChain
Unified tool calling
Retrieval
DuckDuckGo
Live web search (/web)
CLI Runtime
Python
Click, Rich, Argon2id
Web Surface
Next.js
Docs & callback UI
Dimension
Models
One provider, one lock-in
OpenAI, Anthropic, Gemini, Groq, Mistral, DeepSeek, Cohere, Moonshot (Kimi) & NVIDIA
Your keys
Held on someone else's server
Yours, encrypted on your machine before they ever sync
Your files
Pasted in or uploaded wholesale
Indexed and stored in your Pinecone cloud index; only relevant chunks go out
System access
All or nothing
Tiered permissions, approval prompts, undo
Memory
One endless scroll
Real sessions plus context budgeting: /new, /session
Workflow
Straight to code
Plan, approve, then build

Changelog

Development updates and release history.

v0.2.1

LATESTDec 2, 2026

Live activity in chat & updated CLI docs

  • Shows which model is handling a request before its first token arrives, with clean renderer teardown on interruption.
  • Tool calls display their live target (file paths, search queries, commands, or packages) while executing, and workspace attachments / Pinecone lookups appear as they start.
  • Expanded install, update, uninstall, key management, and storage cleanup documentation in /docs.

v0.2.0

RELEASENov 30, 2026

Six new AI providers & runtime reliability

  • Integrated OpenAI, Anthropic, Mistral AI, DeepSeek, Cohere, and Moonshot AI (Kimi) with live catalog discovery, streaming, and vault key support.
  • Added hosted RAG embedding support for OpenAI, Mistral AI, and Cohere alongside Gemini and NVIDIA NIM.
  • Fixed Event loop is closed async client teardown after turns, connected valkyria login to first-run setup, and deployed Firestore vault sync rules.

v0.1.3

RELEASENov 28, 2026

Sandboxed /run, /pkg & Valkyria rebrand

  • Added run_command (/run) with workspace cwd lock, 60s timeout, and destructive command denylist.
  • Added pkg_install (/pkg) supporting pip, pip3, uv, pipx, npm, yarn, pnpm, cargo, brew, apt, and dnf.
  • Propagated /auto runtime approvals and moved Firebase API configuration into .env.

Questions

Models are hosted by your providers and RAG vectors live in your Pinecone cloud index, so chatting and RAG search need internet. Your local files and JSON sessions stay on your machine.

Open source

Valkyria CLI is MIT-licensed and built in the open. Inspect the security gate, audit the AES-256-GCM vault, or extend the tool registry yourself.