v1.1.1

PAME CLI Documentation

Build and deploy AI applications with the PAME command-line interface. Create agents, manage workflows, and deploy to production in minutes.

Quick Start

Get up and running with PAME CLI in 3 steps

1. Install the CLI

npm install -g @pameai/cli

2. Authenticate

pame login

This will open your browser for secure Google OAuth authentication

3. Create your first agent

pame init my-ai-agent

Pro tip: Use pame --help to see all available commands

Core Commands

Authentication

pame login

Authenticate with your PAME account via Google OAuth

pame login

pame logout

Sign out and clear local credentials

pame logout

pame whoami

Check your current authentication status

pame whoami

Project Management

pame init [name]

Initialize a new PAME project

pame init my-ai-assistant

Options:

  • --template <type> - Use a specific template (agent, workflow, full-stack)
  • --typescript - Use TypeScript (default: true)
  • --no-install - Skip dependency installation

pame add <feature>

Add features to your existing project

pame add voice-synthesis

Available features:

voice-synthesis
image-generation
vector-search
realtime-chat
analytics

Agent Management

pame agent create

Create a new AI agent interactively

pame agent create

pame agent list

List all your deployed agents

pame agent list

pame agent deploy <name>

Deploy an agent to production

pame agent deploy my-assistant

pame agent test <name>

Test your agent locally before deployment

pame agent test my-assistant --prompt "Hello, how are you?"

Platform Access

pame saas

Open the PAME SaaS platform in your browser

pame saas

Access advanced features like workflow builder, analytics, and market tools

pame deploy

Deploy your project to PAME cloud infrastructure

pame deploy --production

Examples

Create a Customer Support Agent

# Initialize project
pame init support-agent --template agent

# Navigate to project
cd support-agent

# Add voice capabilities
pame add voice-synthesis

# Test locally
pame agent test support-agent

# Deploy to production
pame agent deploy support-agent --production

Build a Multi-Agent Workflow

# Create workflow project
pame init sales-workflow --template workflow

# Open workflow builder
pame saas --section workflows

# Deploy workflow
pame workflow deploy sales-pipeline

# Monitor performance
pame analytics sales-pipeline

Troubleshooting

Command not found: pame

Make sure you've installed the CLI globally with npm

npm install -g @pameai/cli

Authentication failed

Try logging out and back in

pame logout
pame login

Permission denied errors

On macOS/Linux, you might need to use sudo for global installation

sudo npm install -g @pameai/cli

Additional Resources

API Reference

Complete API documentation for advanced usage

Video Tutorials

Step-by-step video guides for common tasks

Community Forum

Get help from the PAME developer community

Ready to build something amazing?

Join thousands of developers building the next generation of AI applications with PAME