Presented by Nosana and Mastra
Build and deploy intelligent AI agents using the Mastra framework on the Nosana decentralized compute network. Whether you're a beginner or an experienced developer, this challenge has something for everyone!
Your Mission: Build an intelligent AI agent with a frontend interface and deploy it on Nosana's decentralized network.
Create an AI agent that performs real-world tasks using:
- Mastra framework for agent orchestration
- Tool calling to interact with external services
- MCP (Model Context Protocol) for enhanced capabilities
- Custom frontend to showcase your agent's functionality
The possibilities are endless! Here are some ideas to get you started:
- π€ Personal Assistant - Schedule management, email drafting, task automation
- π Data Analyst Agent - Fetch financial data, generate insights, create visualizations
- π Web Researcher - Aggregate information from multiple sources, summarize findings
- π οΈ DevOps Helper - Monitor services, automate deployments, manage infrastructure
- π¨ Content Creator - Generate social media posts, blog outlines, marketing copy
- π Smart Search - Multi-source search with AI-powered result synthesis
- π¬ Customer Support Bot - Answer FAQs, ticket routing, knowledge base queries
Be Creative! The best agents solve real problems in innovative ways.
This is a starter template for building AI agents using Mastra and CopilotKit. It provides a modern Next.js application with integrated AI capabilities and a beautiful UI.
To participate in the challenge and get Nosana credits/NOS tokens, complete these steps:
- Register at SuperTeam
- Register at the Luma Page
- Star these repos:
- Complete this registration form
# Fork this repo on GitHub, then clone your fork
git clone https://github.com/YOUR-USERNAME/agent-challenge
cd agent-challenge
cp .env.example .env
pnpm i
pnpm run dev:ui # Start UI server (port 3000)
pnpm run dev:agent # Start Mastra agent server (port 4111)Open http://localhost:3000 to see your agent in action in the frontend. Open http://localhost:4111 to open up the Mastra Agent Playground.
Pick one option below to power your agent during development:
We provide a free LLM endpoint hosted on Nosana for development. Edit your .env:
# Qwen3:8b - Nosana Endpoint
# Note baseURL for Ollama needs to be appended with `/api`
OLLAMA_API_URL=https://3yt39qx97wc9hqwwmylrphi4jsxrngjzxnjakkybnxbw.node.k8s.prd.nos.ci/api
MODEL_NAME_AT_ENDPOINT=qwen3:8bIf it goes down, reach out on Discord
Run Ollama locally (requires Ollama installed):
ollama pull qwen3:0.6b
ollama serveEdit your .env:
OLLAMA_API_URL=http://127.0.0.1:11434/api
MODEL_NAME_AT_ENDPOINT=qwen3:0.6bAdd to your .env and uncomment the OpenAI line in src/mastra/agents/index.ts:
OPENAI_API_KEY=your-key-hereImportant Dates:
- Start Challenge: 10 October
- Submission Deadline: 31 October
- Winners Announced: 07 November
- Setup : Fork repo, install dependencies, choose template
- Build : Implement your tool functions and agent logic
- Test : Validate functionality at http://localhost:3000
- Clean up: Remove unused agents from
src/mastra/index.ts - Build: Create Docker container using the provided
Dockerfile - Test locally: Verify container works correctly
# Build your container (using the provided Dockerfile)
docker build -t yourusername/agent-challenge:latest .
# Test locally first
docker run -p 3000:3000 yourusername/agent-challenge:latest
# Push to Docker Hub
docker login
docker push yourusername/agent-challenge:latest- Deploy your complete stack: The provided
Dockerfilewill deploy:- Your Mastra agent
- Your frontend interface
- An LLM to power your agent (all in one container!)
- Verify: Test your deployed agent on Nosana network
- Capture proof: Screenshot or get deployment URL for submission
Record a 1-3 minute video demonstrating:
- Your agent running on Nosana (show the deployed version!)
- Key features and functionality
- The frontend interface in action
- Real-world use case demonstration
- Upload to YouTube, Loom, or similar platform
Update this README with:
- Agent description and purpose
- What tools/APIs your agent uses
- Setup instructions
- Environment variables required
- Example usage and screenshots
Your submission must include:
- Agent with Tool Calling - At least one custom tool/function
- Frontend Interface - Working UI to interact with your agent
- Deployed on Nosana - Complete stack running on Nosana network
- Docker Container - Published to Docker Hub
- Video Demo - 1-3 minute demonstration
- Updated README - Clear documentation in your forked repo
- Social Media Post - Share on X/BlueSky/LinkedIn with #NosanaAgentChallenge
- Complete all requirements listed above
- Commit all of your changes to the
mainbranch of your forked repository- All your code changes
- Updated README
- Link to your Docker container
- Link to your video demo
- Nosana deployment proof
- Social Media Post (Required): Share your submission on X (Twitter), BlueSky, or LinkedIn
- Tag @nosana_ai
- Include a brief description of your agent
- Add hashtag #NosanaAgentChallenge
- Finalize your submission on the SuperTeam page
- Add your forked GitHub repository link
- Add a link to your social media post
- Submissions that do not meet all requirements will not be considered
- Open Nosana Dashboard
- Click
Expandto open the job definition editor - Edit
nos_job_def/nosana_mastra.jsonwith your Docker image:{ "image": "yourusername/agent-challenge:latest" } - Copy and paste the edited job definition
- Select a GPU
- Click
Deploy
npm install -g @nosana/cli
nosana job post --file ./nos_job_def/nosana_mastra.json --market nvidia-3090 --timeout 30Submissions evaluated on 4 key areas (25% each):
- Originality of agent concept
- Creative use of AI capabilities
- Unique problem-solving approach
- Code quality and organization
- Proper use of Mastra framework
- Efficient tool implementation
- Error handling and robustness
- Successful deployment on Nosana
- Resource efficiency
- Stability and performance
- Proper containerization
- Practical use cases
- Potential for adoption
- Clear value proposition
- Demonstration quality
Top 10 submissions will be rewarded:
- π₯ 1st Place: $1,000 USDC
- π₯ 2nd Place: $750 USDC
- π₯ 3rd Place: $450 USDC
- π 4th Place: $200 USDC
- π 5th-10th Place: $100 USDC each
For more information, check out the following resources:
- Nosana Documentation
- Mastra Documentation - Learn more about Mastra and its features
- CopilotKit Documentation - Explore CopilotKit's capabilities
- Next.js Documentation - Learn about Next.js features and API
- Docker Documentation
- Nosana CLI
- Mastra Agents Overview
- Build an AI Stock Agent Guide
- Mastra Tool Calling Documentation
- Discord: Join Nosana Discord
- Dedicated Channel: Builders Challenge Dev Chat
- Twitter: Follow @nosana_ai for live updates
- Fork this repository
- Build your AI agent
- Deploy to Nosana
- Present your creation
Good luck, builders! We can't wait to see the innovative AI agents you create for the Nosana ecosystem.
Happy Building! π
Want access to exclusive builder perks, early challenges, and Nosana credits? Subscribe to our newsletter and never miss an update.
π Join the Nosana Builders Newsletter
Be the first to know about:
- π§ Upcoming Builders Challenges
- πΈ New reward opportunities
- β Product updates and feature drops
- π Early-bird credits and partner perks
Join the Nosana builder community today β and build the future of decentralized AI.
