Skip to content

Quick Start Guide

Get up and running with Vexly in minutes.

Step 1: Create Your First Agent

from agentspot import Agent

# Create a new agent
agent = Agent(
    name="MyFirstAgent",
    description="A simple example agent"
)

# Configure the agent
agent.configure({
    "model": "gpt-4",
    "temperature": 0.7
})

Step 2: Deploy the Agent

# Deploy your agent
agent.deploy()

Step 3: Monitor Your Agent

Access the Vexly dashboard at http://localhost:8000 to:

  • View agent status
  • Monitor performance metrics
  • Review agent logs
  • Manage configurations

Example: Simple Chat Agent

Here's a complete example of a basic chat agent:

from agentspot import Agent, ChatInterface

# Create and configure agent
agent = Agent(name="ChatBot")
agent.add_interface(ChatInterface())

# Define agent behavior
@agent.on_message
def handle_message(message):
    return f"You said: {message}"

# Deploy
agent.deploy()

Next Steps