> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gigabrain.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Launch SuperAgent

> Launch a new always-on SuperAgent. Each agent runs in its own cloud container with persistent memory and optional Telegram bot.



## OpenAPI

````yaml /openapi.json post /v1/superagents
openapi: 3.1.0
info:
  title: Gigabrain API
  description: Programmatic access to The Brain and Gigabrain Agents.
  version: 1.0.0
servers:
  - url: https://api.gigabrain.gg
security:
  - bearerAuth: []
tags:
  - name: Brain
    description: Query The Brain for real-time crypto market intelligence
  - name: Agents
    description: Create and manage autonomous trading agents
  - name: Wallet
    description: Manage agent trading wallets on Hyperliquid
  - name: Agent Chat & Monitoring
    description: Chat with agents and monitor execution history
  - name: SuperAgents
    description: Launch, list, get, and destroy SuperAgents
  - name: SuperAgent Lifecycle
    description: Pause, resume, and restart SuperAgents
  - name: SuperAgent Chat
    description: Chat with SuperAgents
  - name: SuperAgent Monitoring
    description: Health checks, files, and skills
  - name: SuperAgent Config
    description: Update soul, model, profile, and skills configuration
  - name: SuperAgent Wallet
    description: View SuperAgent wallet details
paths:
  /v1/superagents:
    post:
      tags:
        - SuperAgents
      summary: Launch SuperAgent
      description: >-
        Launch a new always-on SuperAgent. Each agent runs in its own cloud
        container with persistent memory and optional Telegram bot.
      operationId: launchSuperagent
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LaunchSuperagentRequest'
            examples:
              minimal:
                summary: Minimal launch
                value:
                  name: My Trading Agent
                  model: gpt-4o
                  model_provider: openai
              with_soul:
                summary: With custom soul
                value:
                  name: ETH Scalper
                  model: gpt-4o
                  model_provider: openai
                  soul_md: >-
                    You are an aggressive ETH scalper. Focus on 1m and 5m
                    timeframes.
                  description: Short-term ETH momentum trades
              with_openrouter:
                summary: With OpenRouter
                value:
                  name: Degen Trader
                  model: anthropic/claude-sonnet-4
                  model_provider: openrouter
                  description: High-risk momentum plays
      responses:
        '200':
          description: Agent launched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LaunchSuperagentResponse'
              example:
                agent_id: a1b2c3d4-5678-90ab-cdef-1234567890ab
                name: ETH Scalper
                bot_username: null
                wallet_address: 0x1234...abcd
                status: running
        '400':
          description: Validation error (e.g. name is required)
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    LaunchSuperagentRequest:
      type: object
      required:
        - name
        - model
        - model_provider
      properties:
        name:
          type: string
          description: Display name for the agent
        soul_md:
          type: string
          description: Custom soul.md content — the agent's identity and instructions
        description:
          type: string
          description: Short description of what the agent does
        model:
          type: string
          description: Model ID from the selected provider
        model_provider:
          type: string
          enum:
            - openai
            - anthropic
            - xai
            - openrouter
            - venice
          description: Provider for the model
        telegram_bot_token:
          type: string
          description: Telegram bot token (from @BotFather) for Telegram interface
    LaunchSuperagentResponse:
      type: object
      properties:
        agent_id:
          type: string
        name:
          type: string
        bot_username:
          type: string
          nullable: true
          description: Telegram bot username (if token was provided)
        wallet_address:
          type: string
          nullable: true
        status:
          type: string
    Error:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
        error:
          type: string
  responses:
    Unauthorized:
      description: Invalid or revoked API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 401
            message: Invalid or revoked API key
    RateLimited:
      description: Rate limit exceeded (60 requests per minute)
      content:
        application/json:
          schema:
            type: object
            properties:
              statusCode:
                type: integer
                example: 429
              message:
                type: string
                example: Rate limit exceeded
              retryAfter:
                type: integer
                description: Seconds to wait before retrying
                example: 45
              resetAt:
                type: string
                format: date-time
      headers:
        Retry-After:
          description: Seconds to wait before retrying
          schema:
            type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your Gigabrain API key. Get one at https://gigabrain.gg/profile?tab=api.
        Format: `gb_sk_...`

````