Skip to main content

Quick Start Guide

Get up and running with WYN360 CLI in under 5 minutes!

Step 1: Choose Your AI Provider

WYN360 CLI supports multiple AI providers. Choose the one that works best for you:

Why Claude? Most capable, excellent for complex coding tasks

Setup:

export CHOOSE_CLIENT=1
export ANTHROPIC_API_KEY=your_key_here
export ANTHROPIC_MODEL=claude-sonnet-4-20250514

Get API Key: Anthropic Console

Available Models:

  • claude-sonnet-4-20250514 - Most capable (default)
  • claude-3-5-haiku-20241022 - Fastest and cheapest
  • claude-opus-4-1-20250805 - Most powerful

Step 2: Set Up Environment

Create a .env file in your project directory:

# .env file - choose one provider
CHOOSE_CLIENT=3
GEMINI_API_KEY=your_gemini_key
GEMINI_MODEL=gemini-2.5-flash
MAX_TOKEN=4096
MAX_INTERNET_SEARCH_LIMIT=5

Option B: Using Environment Variables

export CHOOSE_CLIENT=3
export GEMINI_API_KEY=your_gemini_key
export GEMINI_MODEL=gemini-2.5-flash

Additional Configuration (Optional)

# Token limits
export MAX_TOKEN=4096
export MAX_INTERNET_SEARCH_LIMIT=5

# Integration tokens (optional)
export GH_TOKEN=ghp_your_github_token # For GitHub features
export HF_TOKEN=hf_your_huggingface_token # For HuggingFace features

# Skip confirmations (useful for automation)
export WYN360_SKIP_CONFIRM=0

Step 3: Start WYN360 CLI

wyn360

You should see:

🤖 WYN360 CLI v0.3.60
🔍 AI Provider: Google Gemini (gemini-2.5-flash)
💡 Model: gemini-2.5-flash | Context: 2M tokens
💰 Cost: $0.075/$0.30 per M tokens (input/output)

Type your message (Shift+Enter for newline, Enter to send, 'exit' to quit):
You:

Step 4: Try Your First Commands

Basic Chat

You: Hello! Can you help me create a Python function?

WYN360: Hello! I'd be happy to help you create a Python function.
What kind of function would you like me to create for you?

Code Generation

You: Create a function that calculates the factorial of a number

WYN360: I'll create a factorial function for you.

[Creates factorial.py with the function and saves it]

✓ Created factorial.py with factorial function
✓ Added error handling for negative numbers
✓ Included docstring and example usage

Project Analysis

You: List all Python files in this project

WYN360: [Scans directory]

📁 **Python Files Found:**
- `wyn360_cli/cli.py` (840 lines)
- `wyn360_cli/agent.py` (4,259 lines)
- `wyn360_cli/config.py` (308 lines)
- `tests/test_agent.py` (46 tests)
[... complete listing]

Step 5: Explore Slash Commands

WYN360 CLI includes powerful slash commands for session management:

CommandDescriptionExample
/helpShow all available commands/help
/modelShow current model or switch/model haiku
/tokensShow token usage and costs/tokens
/historyDisplay conversation history/history
/save <file>Save session to file/save my_session.json
/load <file>Load session from file/load my_session.json
/clearClear history and reset/clear
/configShow current configuration/config

Example Session Management

You: Create a web scraper for Python packages

WYN360: [Creates scraper.py with full implementation]

You: /save scraper_session.json
✓ Session saved to: scraper_session.json

You: /tokens
📊 **Token Usage This Session**
Input: 1,245 tokens | Output: 892 tokens
💰 Cost: $0.002 | Model: gemini-2.5-flash

You: /model
🤖 **Current Model: gemini-2.5-flash**
💰 Pricing: $0.075/$0.30 per M tokens (input/output)
📊 Context Window: 2M tokens
🔧 Max Output: 4096 tokens

Common First Tasks

File Operations

You: Read the contents of config.py
You: Update main.py to add logging
You: Create a new FastAPI app in app.py
You: Delete the old backup files

Development Workflow

You: Run the tests for this project
You: Check git status and show me what's changed
You: Install the requirements from requirements.txt
You: Create a virtual environment and activate it

Web and Research

You: Search for the latest Python web frameworks
You: Read https://docs.python.org/3/tutorial/
You: Find GitHub repositories for machine learning
You: What's the current weather in San Francisco?

Next Steps

Now that you're set up, explore these advanced features:

Quick Tips

!!! tip "Multi-line Input"

  • Enter = Submit message
  • Shift+Enter = Add new line
  • Ctrl+C = Cancel current input

!!! tip "Cost Optimization"

  • Use Gemini for cost-effective operations
  • Switch to Claude for complex reasoning tasks
  • Use /model haiku for simple tasks
  • Monitor usage with /tokens

!!! tip "Session Management"

  • Save important conversations with /save
  • Use /clear to reset token counters
  • Load previous sessions with /load

Next: Configuration Guide →