Supyagent
Package ReferenceCLI (Python)

Config

Manage stored API keys with encrypted local storage.

Config

The config commands manage API keys stored in encrypted local config (~/.supyagent/config/). Keys are encrypted with Fernet symmetric encryption.

supyagent config set

Store an API key. If no key name is given, the CLI prompts you interactively.

supyagent config set [KEY_NAME]

Options

FlagTypeDescription
--valuestringSet the key value directly (skips interactive prompt)

Examples

# Interactive — prompts for key name and value
supyagent config set

# Set a specific key interactively (prompts for value)
supyagent config set ANTHROPIC_API_KEY

# Set a key non-interactively
supyagent config set ANTHROPIC_API_KEY --value sk-ant-...

supyagent config list

List all stored API keys. Values are masked — only the key names are shown.

supyagent config list

Output

Stored API keys:
  ANTHROPIC_API_KEY    ✔ Set
  OPENAI_API_KEY       ✔ Set

supyagent config delete

Delete a stored API key.

supyagent config delete <KEY_NAME>

Example

supyagent config delete OPENAI_API_KEY

supyagent config import

Import API keys from a .env file.

supyagent config import <FILE_PATH>

Options

FlagTypeDescription
--filterstringOnly import keys matching this prefix

Examples

# Import all keys from .env
supyagent config import .env

# Import only keys starting with "ANTHROPIC_"
supyagent config import .env --filter ANTHROPIC_

supyagent config export

Export stored API keys to a .env file.

supyagent config export <FILE_PATH>

Options

FlagTypeDescription
--forceflagOverwrite the file if it already exists

Examples

# Export to a file
supyagent config export keys.env

# Overwrite existing file
supyagent config export keys.env --force