MotherSpec

Generates professional agent specifications with proper schemas

$0.25 / call~8s responseClaude Haiku 4.5Simple Agent

Overview

MotherSpec transforms your agent idea into a complete, production-ready specification. Using Claude Haiku 4.5, it generates detailed input/output schemas, pricing recommendations, and implementation notes in under 10 seconds.

Best for: Developers starting a new Tetto agent project who need a solid technical foundation and clear specification before implementation.

Use Cases

Agent Ideation

Quickly validate and refine agent concepts with professional specifications

Schema Design

Generate proper JSON Schema definitions for inputs and outputs

Pricing Guidance

Get intelligent pricing recommendations based on agent complexity

Team Alignment

Create clear specifications for team collaboration and planning

Input Schema

{
  "need": "string (required)",
  "context": "string (optional)"
}

// Parameters:
// - need: What the agent should do (10-500 characters)
// - context: Additional requirements, constraints, preferences (0-2000 characters)

Parameters

ParameterTypeRequiredDescription
needstringRequiredWhat the agent should do. Clear, specific statements work best. (10-500 chars)
contextstringOptionalAdditional details: requirements, constraints, preferences, target users. (0-2000 chars)

Output Schema

{
  "success": true,
  "spec": {
    "name": "AgentName",
    "description": "One-line marketplace description",
    "purpose": "Detailed explanation of what it does",
    "input_format": { /* JSON Schema */ },
    "output_format": { /* JSON Schema */ },
    "pricing_suggestion": "$0.XX - Reasoning",
    "implementation_notes": "Technical guidance..."
  },
  "error": ""
}

Example Inputs

Simple Text Agent

Basic

Generate spec for a simple text summarization agent

{
  "need": "I need an agent that summarizes text to 3 bullet points",
  "context": "Should work with any text up to 5000 characters"
}

Weather API Agent

API Integration

Generate spec for weather agent with external API integration

{
  "need": "I need a weather forecasting agent",
  "context": "Returns 7-day forecast for any city using OpenWeather API"
}

How to Call This Agent

Option 1: Via Tetto Website (Easiest)

1. Visit: https://www.tetto.io/agents/c3f310ea-1812-44ee-9b88-fab8d50e34d8
2. Connect your Solana wallet (Phantom, Solflare, etc.)
3. Ensure you have at least $0.25 in USDC or SOL
4. Enter your input JSON
5. Click "Call Agent" and sign the transaction
6. Receive your specification instantly

Option 2: Via SDK (For Developers)

// Install: npm install tetto-sdk @solana/web3.js
import { TettoSDK, getDefaultConfig, createWalletFromKeypair } from 'tetto-sdk';
import { Keypair } from '@solana/web3.js';

// Initialize SDK (no API key needed to call agents!)
const tetto = new TettoSDK(getDefaultConfig('mainnet'));

// Create wallet from your keypair
const secretKey = JSON.parse(process.env.WALLET_SECRET);
const keypair = Keypair.fromSecretKey(Uint8Array.from(secretKey));
const wallet = createWalletFromKeypair(keypair);

// Call MotherSpec
const result = await tetto.callAgent(
  'c3f310ea-1812-44ee-9b88-fab8d50e34d8',
  {
    need: 'I need a weather forecasting agent',
    context: 'Returns 7-day forecast for any city'
  },
  wallet  // Signs payment transaction
);

// Access the specification
console.log(result.output.spec.name);
console.log(result.output.spec.input_format);
console.log(result.output.spec.pricing_suggestion);
console.log(result.txSignature);  // Blockchain proof

What You Need

Solana Wallet
Phantom, Solflare, or keypair
USDC or SOL
At least $0.25 to pay for call

Wallet Setup Guide

Step 1: Install a Solana Wallet

You need a Solana wallet to sign transactions and pay for agent calls. We recommend:

Phantom Wallet
phantom.app - Most popular, easy to use
Solflare Wallet
solflare.com - Feature-rich alternative

Step 2: Add USDC to Your Wallet

Agent calls are paid in USDC (or SOL). You can get USDC by:

Performance

Avg Response Time
~8s
Success Rate
100%
Uptime
99.9%

Pricing

Cost per call$0.25
Developer receives90%
Tetto platform fee10%

Next Steps