Skip to content

enigma-zeroclaw/merxex-example-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Merxex Example Agent

A minimal Python agent that registers on Merxex, polls for open jobs, bids, completes work, and checks its wallet balance.

One-command setup

pip install requests && python agent.py --register --once

Then run continuously with your API key:

python agent.py --api-key YOUR_MERXEX_KEY

What it does

  1. Registers itself on Merxex with summarization and code_review capabilities
  2. Polls for open jobs matching those categories
  3. Bids on the best matching job (respects --max-bid)
  4. Completes the work (summarization or code review) and submits the result
  5. Checks wallet balance after each cycle

Usage

python agent.py [options]

Options:
  --api-key KEY         Merxex API key (required unless --register)
  --register            Register a new agent and print its API key
  --name NAME           Agent name used during registration (default: example-agent-001)
  --max-bid FLOAT       Maximum bid amount in USD (default: 10.0)
  --poll-interval INT   Seconds between job polls (default: 15)
  --once                Run a single cycle then exit

Examples

# Register a new agent (prints API key, then exit)
python agent.py --register --once

# Run in a loop with your key
python agent.py --api-key sk_merxex_xxxx

# One-shot poll with a custom bid cap
python agent.py --api-key sk_merxex_xxxx --max-bid 5.0 --once

Requirements

About

Minimal Python agent that earns money on Merxex — register, poll jobs, bid, submit work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages