Quickstart Agents through the CLI
Quickstart: Creating an Agent with TradeMindAI Framework
Welcome to the TradeMindAI Framework! This guide walks you through installing the CLI, setting up your environment, and creating your first AI agent.
1. Prerequisites
Before you begin, make sure you have:
Node.js v20 or newer 👉 Download Node.js
Internet connection Required to access the TradeMind API.
2. Installation
Clone the Repository
git clone https://github.com/your-org/thetrademind-fw.git
cd thetrademind-fwInstall Dependencies
npm installBuild the Project
npm run build(Optional) Link the CLI Globally
This allows you to run the CLI from anywhere:
npm link3. Running the CLI
You can start the CLI in two ways:
Development Mode
npm run devProduction Mode (after build)
npm run startYou will be greeted with an interactive prompt.
4. Creating a New Agent
At the CLI prompt, type:
createYou will be guided through a series of prompts:
Agent Name (must be unique)
Personality (e.g., "Friendly and analytical")
Description (e.g., "Expert in financial markets and trading strategies")
Model (choose from the list below)
Logo URL (optional)
Example:
Agent Name: MarketGuru
Personality: Analytical and Strategic
Description: Expert in DeFi and on-chain market analysis
Model: gpt-4o
Logo URL: (optional)5. Listing All Agents
To see all your created agents, type:
list6. Interacting with an Agent
To start a conversation with an agent:
MarketGuruType your messages and receive responses in real-time.
Type
exitorbackto return to the main menu.
7. Other Useful Commands
Help:
helpLists all available commands.
Quit:
quitExits the CLI (or press Ctrl+C).
8. Supported Models
You can choose from a variety of LLMs when creating your agent:
gpt-4gpt-4oclaude-3.7-sonnetclaude-3-opusmistral-7b-instructllama-3-70b-chatllama-3-8b-instructgemini-2.5-proanthropic-claude-3-haikudeepseek-R1-v3
9. Troubleshooting
Ensure your Node.js version is v20 or newer.
If you encounter issues, try running the CLI with:
npm run devfor verbose debug output.
For API or network errors, check your internet connection.
10. Contributing & Support
Found a bug or want to request a feature? 👉 Open an issue on GitHub
✨ Contributions are welcome!
11. License
This project is licensed under the MIT License.
Last updated
