Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(marketplace): replace hardcoded mock agents with real redirect and seed 113 skills into marketplace_skills

nirholas84899ea3c0d0
diff --git a/api/marketplace.js b/api/marketplace.js
index 4f1a48142..9fe2b4d16 100644
--- a/api/marketplace.js
+++ b/api/marketplace.js
@@ -1,62 +1,3 @@
export default (req, res) => {
- const agents = [
- {
- "id": "1",
- "name": "Creative Writer",
- "description": "An AI assistant for brainstorming and writing creative content.",
- "author": "GPT-4",
- "category": "Copywriting",
- "tags": ["writing", "creative", "blogging"],
- "published": "2024-05-15",
- "views": "1.2k",
- "forks": "128",
- "avatar": "✍️",
- "prompt": "You are an AI assistant specialized in creative writing. Help users brainstorm ideas, write stories, and craft compelling content.",
- "greeting": "Hello! I'm here to help you write something amazing. What's on your mind?",
- "versions": [{ "version": "1.0", "date": "2024-05-15", "notes": "Initial release." }],
- "skills": ["generate-poem", "summarize-text"],
- "skill_prices": {
- "generate-poem": { "amount": 1000000, "currency_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyB7u" }
- }
- },
- {
- "id": "2",
- "name": "Code Companion",
- "description": "Your AI pair programmer. Helps with debugging, writing tests, and learning new languages.",
- "author": "Claude 3",
- "category": "Programming",
- "tags": ["code", "development", "debugging"],
- "published": "2024-05-14",
- "views": "2.5k",
- "forks": "342",
- "avatar": "💻",
- "prompt": "You are a friendly and helpful AI pair programmer. Assist users with their coding tasks, from simple scripts to complex applications.",
- "greeting": "Hey there! I'm ready to code. What are we working on today?",
- "versions": [{ "version": "1.0", "date": "2024-05-14", "notes": "Initial release." }],
- "skills": ["explain-code", "refactor-code", "generate-tests"],
- "skill_prices": {
- "refactor-code": { "amount": 2500000, "currency_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyB7u" },
- "generate-tests": { "amount": 5000000, "currency_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyB7u" }
- }
- },
- {
- "id": "3",
- "name": "Solana Sage",
- "description": "An expert on the Solana blockchain. Can answer questions about SPL tokens, DeFi, and more.",
- "author": "Solana Labs",
- "category": "Blockchain",
- "tags": ["solana", "crypto", "blockchain"],
- "published": "2024-05-12",
- "views": "3.1k",
- "forks": "512",
- "avatar": "🔗",
- "prompt": "You are an expert on the Solana blockchain. Provide accurate and up-to-date information about Solana, its ecosystem, and its technology.",
- "greeting": "Welcome! I'm here to answer all your questions about the Solana blockchain.",
- "versions": [{ "version": "1.0", "date": "2024-05-12", "notes": "Initial release." }],
- "skills": ["get-token-price", "check-transaction-status"],
- "skill_prices": {}
- }
- ];
-
- res.status(200).json(agents);
-}
\ No newline at end of file
+ res.redirect(301, '/api/marketplace/agents');
+};
\ No newline at end of file