A CLI tool to scaffold production-ready uAgents with best practices baked in
View the Project on GitHub tejus3131/create-agentverse-agent
This guide covers how to configure your generated agent and customize the scaffold.
The generated .env file contains essential configuration:
# Environment Configuration
ENV=
# API Keys
AGENTVERSE_API_KEY=
# Agent Configuration
AGENT_NAME=
AGENT_SEED_PHRASE=
AGENT_PORT=
AGENT_ROUTE=
AGENT_HANDLE=
# Hosting Configuration
HOSTING_ENDPOINT=
# Message Processing Configuration
MAX_PROCESSED_MESSAGES=
PROCESSED_MESSAGE_TTL_MINUTES=
CLEANUP_INTERVAL_SECONDS=
# Rate limiting configuration
RATE_LIMIT_MAX_REQUESTS=
RATE_LIMIT_WINDOW_MINUTES=
Edit pyproject.toml to add dependencies:
[project]
dependencies = [
"uagents>=0.10.0",
"your-package>=1.0.0", # Add here
]
Then install:
pip install -e .
# or
poetry install
docker-compose up
# or
make up
Edit docker-compose.yml for:
make dev
# or
poetry run python main.py
AGENTVERSE_API_KEY in .envSee the Agentverse documentation for detailed deployment instructions.
Enable debug output:
uvx create-agentverse-agent --debug
Agent not connecting:
AGENT_SEED is setImport errors:
pip install -e . to install in development modeDocker build fails: