Skip to content

nurturelabs-co/Agentopia-Hello-World

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World Service for Agentopia.xyz Marketplace

This is an example service that demonstrates how to build and sell a simple API service on Agentopia Marketplace.

Overview

This service implements a basic "Hello World" endpoint that:

  • Holds $0.1 USDC from the user's account for 1 hour
  • Returns a simple greeting message
  • Charges $0.000001 USDC per request

Setup

  1. Install dependencies:
python -m venv env
source env/bin/activate
pip install -r requirements.txt
  1. Run the service:
make dev
  1. Run the service in Test mode:
export AGENTOPIA_LOCAL_MODEL=True # This will ignore payment requirements
make dev
  1. Test the service:
curl http://localhost:8890/hello_world

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published