Autumn
  • Welcome
    • Our Links
  • Getting Started
    • Installation
    • Configure Environment Variables
    • Features
  • Autumn Framework
    • The Framework
      • Installation
      • Configuration
      • Dependencies
      • Quick Start
      • Interaction Examples
  • Deploy Agent
  • The Architecture
  • Company
    • About
    • Terms Of Service
    • Privacy Policy
Powered by GitBook
On this page
  • πŸš€ Agent Deployment Guide (Autumn Framework)
  • βœ… Step 1: Clone the Framework
  • πŸ” Step 2: Configure Your .env File
  • πŸ›  Step 3: Define Your Agent
  • πŸ”§ Step 4: Build the Project
  • πŸš€ Step 5: Deploy the Agent
  • πŸ”Ž How to Verify on SolScan
  • πŸ§ͺ Step 6: Interact with Your Agent
  • 🧾 Sample defineAgent.ts Configuration
  • πŸ“Œ Additional Notes

Deploy Agent

πŸš€ Agent Deployment Guide (Autumn Framework)

This walkthrough will help you deploy an AI agent using the Autumn Framework. Follow each step to successfully launch your agent on the Solana blockchain.


βœ… Step 1: Clone the Framework

Start by downloading the official Autumn repo:

git clone https://github.com/autumn-framework/autumn-v1.git
cd autumn-v1

πŸ” Step 2: Configure Your .env File

Copy the provided .env.example and rename it:

cp .env.example .env

Open .env and fill in your actual configuration values:

PRIVATE_KEYPAIR=your-private-key-here
OPENAI_API_KEY=your-openai-api-key-here
RPC_ENDPOINT=https://api.mainnet-beta.solana.com
BITQUERY_API_KEY=your-api-key-here

ACTION=buy
MINT=TokenContractAddressHere
AMOUNT=100

πŸ›  Step 3: Define Your Agent

Edit the agent definition file to include your custom metadata:

// src/defineAgent.ts

export const agentDetails = {
  name: "YourAgentName",
  symbol: "agent",
  initialBuyAmount: 100,
  description: "Your AI agent token description here",
  twitter: "https://twitter.com/yourprofile",
  telegram: "https://t.me/yourgroup",
  website: "https://yourwebsite.com",
  imagePath: "src/agent_logo/example.png",
};

πŸ”§ Step 4: Build the Project

Install required dependencies and compile the project:

npm install
npm run build

πŸš€ Step 5: Deploy the Agent

Once your agent is configured, launch it to the Solana blockchain with:

npm run deployautumn

Example Output:

Deploying agent...
Agent details:
Name: MyFirstAgent
Symbol: mfa
Description: My first AI agent token deployed on Autumn Framework.
Website: https://myagent.com

Sending transaction to the Solana blockchain...

Transaction successful!
βœ… Transaction Signature: xxxx....xxxxx
πŸ”— View on SolScan: https://solscan.io/tx/xxxx....xxxxx

πŸ” Output Breakdown

  • Agent Details: Shows the agent’s metadataβ€”name, symbol, description, and website.

  • Transaction Status: Indicates a successful broadcast to the blockchain.

  • Confirmation Message: Confirms deployment went through.

  • SolScan Link: View the full transaction and metadata on Solana’s explorer.


πŸ”Ž How to Verify on SolScan

  1. Copy the transaction signature from your terminal.

  2. Check:

    • Transaction status (e.g., Confirmed)

    • Token metadata (name, symbol, supply)

    • Wallet address used

    • Gas and fee info


πŸ§ͺ Step 6: Interact with Your Agent

Once deployed, query your agent with:

npm run interactautumn YourAgentName ask "What is your purpose?"

Use the CLI or API to explore features like:

  • Querying blockchain data

  • Analyzing token holders

  • Executing AI-guided trades


🧾 Sample defineAgent.ts Configuration

export const agentDetails = {
  name: "MyFirstAgent",
  symbol: "mfa",
  initialBuyAmount: 100,
  description: "My first AI agent token deployed on Autumn Framework.",
  twitter: "https://twitter.com/MyAgent",
  telegram: "https://t.me/MyAgentGroup",
  website: "https://myagent.com",
  imagePath: "src/agent_logo/example.png",
};

πŸ“Œ Additional Notes

  • Make sure your Solana RPC endpoint is stable and accessible.

  • Protect your private keyβ€”never upload it to GitHub or share it publicly.

  • Use a .gitignore file to keep .env and other sensitive configs out of version control.

PreviousInteraction ExamplesNextThe Architecture

Last updated 1 day ago

Visit:

https://solscan.io/tx/xxx...