The command line client for Vivgrid, the Enterprise-grade AI Agent Platform.
Install the compiled binary:
curl "https://bina.egoist.dev/vivgrid/yc" | shmake
sudo cp ./bin/yc /usr/local/bin/yc --help
The yc CLI tool allows you to manage globally deployed Serverless LLM Functions on Vivgrid. It provides a complete workflow for developing, deploying, and monitoring LLM Tools in serverless.
You can configure yc using a configuration file or command-line flags:
Configuration file (yc.yml):
secret: your_app_secret
tool: my_first_llm_toolEnvironment variable for config file location:
export YC_CONFIG_FILE=/path/to/your/yc.yml--secret string: App secret for authentication--tool string: Serverless LLM Function name (Optional, default "my_first_llm_tool")--api string: REST API endpoint (Optional, default "https://hosting.vivgrid.com")
One-command deployment that chains: upload → remove → create
Examples:
# Deploy current directory
yc deploy .Upload and compile your source code to the vivgrid platform.
Supported source formats:
- Directories - Will be automatically zipped (respects .gitignore)
.zipfiles - Pre-packaged zip archive.gofiles - Single Go source file
Examples:
# Upload a directory (auto-zips with exclusions)
yc upload ./my-function-dirAuto-exclusions when uploading directories:
.git/- Git repository directory.vscode/- VS Code settings.DS_Store- macOS system files.env- Environment files- Files matching patterns in
.gitignore
Flags:
--env key=value: Set environment variables (can be used multiple times)
Create and start a serverless deployment from previously uploaded code.
Examples:
# Create deployment
yc create
# Create with environment variables
yc create --env DATABASE_URL=postgres://... --env API_KEY=secretFlags:
--env key=value: Set environment variables (can be used multiple times)
Delete the current serverless deployment.
yc removeShow the current status of your serverless deployment.
yc statusOutput includes:
- Deployment status
- Start time
- Global deployments
Observe serverless logs in real-time.
yc logsFlags:
--tail int: Number of log lines to tail (default 20)
Show the current version of the yc CLI tool.
yc versionFor more detailed documentation, visit the Vivgrid Developer Docs.