Skip to main content
MNNR/Documentation
⚑ Quick Start

Deploy Your First Agent

Get up and running with MNNR in under 5 minutes. Create an agent, fund its wallet, and start making autonomous payments.

Estimated time:~5 minutes
1

Create Account

Sign up for a MNNR account to get started:

  1. 1Visit mnnr.app
  2. 2Click "Get Started" and create your account
  3. 3Verify your email address
  4. 4Choose your plan (Free tier available)
2

Get API Keys

Generate your API credentials:

  1. 1Go to your Dashboard
  2. 2Navigate to "API Keys" section
  3. 3Click "Generate New Key"
  4. 4Copy your API key (keep it secure!)

⚠️ Security Note: Never share your API keys publicly. Store them securely in environment variables.

3

Install SDK

Choose your preferred SDK:

🐍Python
pip install mnnr-sdk

import mnnr
client = mnnr.Client(api_key="your-api-key")
⚑JavaScript
npm install @mnnr/sdk

import { MNNR } from '@mnnr/sdk';
const client = new MNNR({ apiKey: 'your-api-key' });
4

Create Your First Agent

Register an agent with economic identity:

🐍Python
# Create an agent identity
agent = client.agents.create(
    name="my-first-agent",
    spending_limit=100,  # $100 USD
    currency="USD",
    capabilities=["data-processing", "api-calls"]
)

print(f"Agent ID: {agent.id}")
print(f"Wallet: {agent.wallet_address}")
⚑JavaScript
// Create an agent identity
const agent = await client.agents.create({
  name: 'my-first-agent',
  spendingLimit: 100,  // $100 USD
  currency: 'USD',
  capabilities: ['data-processing', 'api-calls']
});

console.log(`Agent ID: ${agent.id}`);
console.log(`Wallet: ${agent.walletAddress}`);
5

Make Agent-to-Agent Payment

Enable your agent to pay for services:

🐍Python
# Pay another agent for a service
payment = client.payments.create(
    from_agent=agent.id,
    to_agent="service-provider-agent-id",
    amount=0.50,  # $0.50 USD
    currency="USD",
    description="Data processing task"
)

print(f"Payment ID: {payment.id}")
print(f"Status: {payment.status}")
⚑JavaScript
// Pay another agent for a service
const payment = await client.payments.create({
  fromAgent: agent.id,
  toAgent: 'service-provider-agent-id',
  amount: 0.50,  // $0.50 USD
  currency: 'USD',
  description: 'Data processing task'
});

console.log(`Payment ID: ${payment.id}`);
console.log(`Status: ${payment.status}`);
πŸŽ‰

You're All Set!

Your first agent is ready to participate in the machine economy. Explore more features or dive into the full API documentation.

Need Help?

Our support team is here to help you get started.