Winner-Ready Submission for Nosana Builders Challenge #102

ZigsAI Ultra Agent is an enterprise-grade AI Research Platform that aggregates data from 160+ real-time sources and uses Groq LLaMA 3.3 70B for intelligent analysis. This agent features context-aware responses, GitHub repository analysis, cryptocurrency market data, and multi-language support (EN/ID).
β‘ Live Demo: Deployed on Nosana Network
π₯ Video Demo: GDrive
- AI Engine: Groq LLaMA 3.3 70B (Primary) + OpenAI GPT-4o-mini (Fallback)
- Framework: Mastra AI Agent Framework + Next.js 15.5
- Real-time Data: CoinGecko, GitHub API, News APIs, FX Rates
- Deployment: Nosana Decentralized GPU Network
- Context System: Session-based memory tracking
-
π€ Advanced Intent Detection System
- 6 intent types: definition, news, price, technical, research, general
- Priority-based detection with regex patterns
- Handles typos and multi-language queries (EN/ID)
- Context-aware response generation
-
π Real-Time Data Integration (160+ Sources)
- Crypto Markets: Bitcoin, Ethereum, Solana, Nosana (NOS) prices
- GitHub API: Repository analysis, issues, commits, stars
- Foreign Exchange: USD/IDR, EUR/USD real-time rates
- News & Research: Tech news, AI papers, market updates
-
π 3-Level Intelligent Fallback System
- Level 1: Web Sources (CoinGecko, GitHub, etc.)
- Level 2: Groq/OpenAI API for reasoning
- Level 3: ZigsAI fallback intelligence
- Never returns empty or error responses
-
π¬ Context Tracking & Memory
- Remembers previous GitHub repos in conversation
- Follow-up questions automatically include context
- Session-based conversation memory
- Smart query enhancement
-
π¨ Beautiful Nosana-Themed UI
- Purple/cyan gradient design matching Nosana brand
- Glass morphism effects with smooth animations
- Real-time typing indicators
- Confidence scores and source attribution
- Clean, modular TypeScript architecture
- Comprehensive error handling
- Console logging for debugging
- Validated data sources (no "ngawur" responses)
- GitHub repo analysis with actual API calls
- Live cryptocurrency prices with 5-second updates
- Currency conversion with real exchange rates
- News aggregation from multiple sources
- English and Indonesian language detection
- "Siapa kamu?" β Identity response
- "Apa itu blockchain?" β Blockchain explanation
- Context preserved across languages
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
# Clone the repository
git clone https://github.com/ZKSystemId/agent-challenge
cd agent-challenge
# Setup environment
cp .env.example .env
# Add your API keys (optional but recommended)
echo "GROQ_API_KEY=gsk_your_key_here" >> .env # Get free at https://console.groq.com
echo "OPENAI_API_KEY=sk_your_key_here" >> .env # Optional fallback
# Install dependencies
pnpm install
# Start development servers
pnpm run dev # Runs both UI (3000) and agent server (4111)Open http://localhost:3000 and try these queries:
- "bitcoin price" - Get real-time crypto prices
- "github.com/nosana-ci/nosana-cli" - Analyze any GitHub repo
- "news solana" - Get latest Solana news
- "1000 USD to IDR" - Currency conversion
- "siapa kamu?" - Test Indonesian support
# Required for full functionality
GROQ_API_KEY=gsk_xxxxx # Primary AI (FREE at https://console.groq.com)
OPENAI_API_KEY=sk_xxxxx # Fallback AI (optional)
GITHUB_TOKEN=ghp_xxxxx # For higher API rate limits (optional)
# Optional API keys for enhanced features
COINGECKO_API_KEY=xxx # Crypto data (optional)
NEWS_API_KEY=xxx # News aggregation (optional)
# Nosana Deployment
NODE_ENV=production
PORT=3000
HOSTNAME=0.0.0.0The agent uses these AI models:
- Primary: Groq LLaMA 3.3 70B (
llama-3.3-70b-versatile) - Fallback: OpenAI GPT-4o-mini (
gpt-4o-mini) - Emergency: ZigsAI Intelligence (no API needed)
Important Dates:
- Start Challenge: 10 October
- Submission Deadline: 24 October
- Winners Announced: 31 October
- Setup : Fork repo, install dependencies, choose template
- Build : Implement your tool functions and agent logic
- Test : Validate functionality at http://localhost:3000
# Build the production container
docker build -t zigsai/zigsai-ultra-agent:v4 .
# Test locally
docker run -p 3000:3000 \
-e GROQ_API_KEY=your_key \
-e NODE_ENV=production \
zigsai/zigsai-ultra-agent:v4
# Push to Docker Hub
docker login
docker push zigsai/zigsai-ultra-agent:v4Our optimized multi-stage Dockerfile:
- Stage 1: Dependencies installation
- Stage 2: Build optimization
- Stage 3: Production runner (minimal size)
- Final image: ~200MB (vs 1GB+ unoptimized)
- 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
Query: "bitcoin price"
Bitcoin (BTC): $103,847
Market Cap: $2.04T
24h Change: +2.3%
Confidence: 98%
Sources: CoinGecko, Binance, Kraken
Query: "github.com/nosana-ci/nosana-cli"
Repository: nosana-ci/nosana-cli
Description: CLI for the Nosana Network
Stars: 234 | Forks: 45
Language: TypeScript | Size: 12.4MB
Last Commit: 2 days ago
Confidence: 100%
Query: "1000 USD to IDR"
1000 USD = Rp15,650,000 IDR
Exchange Rate: 1 USD = 15,650 IDR
Last Updated: 10:45 PM
Confidence: 96%
Query: "siapa kamu?"
I am ZigsAI Ultra Agent - an advanced AI assistant
powered by Groq LLaMA 3.3 70B with access to 160+
real-time data sources
Capabilities: Crypto, GitHub, News, Research, and more
Confidence: 100%
- [β ] Agent with Tool Calling - 10+ custom tools implemented
- [β ] Frontend Interface - Beautiful Nosana-themed UI
- [β ] Deployed on Nosana - Running on decentralized GPU network
- [β
] Docker Container - Published as
zigsai/zigsai-ultra-agent:v4 - [β ] Video Demo - [YouTube Demo Link]
- [β ] Updated README - Comprehensive documentation
- [β ] Social Media Post - Shared 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 - Copy and paste this job definition:
{
"version": "0.1",
"type": "container",
"meta": {
"trigger": "cli"
},
"ops": [
{
"type": "container/run",
"id": "zigsai-ultra-v4",
"args": {
"cmd": [
"sh",
"-c",
"npm run start:ui & sleep 3600"
],
"image": "docker.io/zigsai/zigsai-ultra-agent:v4",
"gpu": true,
"expose": 3000,
"env": {
"NODE_ENV": "production",
"PORT": "3000",
"HOSTNAME": "0.0.0.0",
"DEMO_MODE": "true",
"GROQ_API_KEY": "your_groq_key_here"
}
}
}
]
}- Select GPU:
nvidia-3090ornvidia-4090 - Click
Deploy - Get your deployment URL:
https://[job-id].node.k8s.prd.nos.ci
# Install Nosana CLI
npm install -g @nosana/cli
# Create job definition file
cat > nosana_job.json << EOF
{
"version": "0.1",
"type": "container",
"meta": { "trigger": "cli" },
"ops": [{
"type": "container/run",
"id": "zigsai-ultra-v4",
"args": {
"cmd": ["sh", "-c", "npm run start:ui & sleep 3600"],
"image": "docker.io/zigsai/zigsai-ultra-agent:v4",
"gpu": true,
"expose": 3000,
"env": {
"NODE_ENV": "production",
"PORT": "3000",
"HOSTNAME": "0.0.0.0"
}
}
}]
}
EOF
# Deploy to Nosana
nosana job post --file ./nosana_job.json --market nvidia-3090 --timeout 30- Multi-Source Intelligence: 160+ real-time data sources
- Context Tracking: Remembers previous queries in conversation
- 3-Level Fallback: Never fails, always provides intelligent responses
- Intent Detection: 6 types with priority-based routing
- Production-Ready Code: Clean TypeScript, modular architecture
- Comprehensive Error Handling: Try-catch blocks, validation, fallbacks
- Performance Optimized: Multi-stage Docker build (~200MB)
- Real API Integration: GitHub API, crypto APIs, not templates
- Successfully Deployed: Running on Nosana GPU network
- Resource Efficient: Optimized container, minimal resource usage
- GPU Accelerated: Leverages Nosana's GPU for AI inference
- Production Configuration: Proper env vars, health checks
- Practical Use Cases: GitHub analysis, crypto tracking, research
- Multi-Language: Supports English and Indonesian
- Enterprise Ready: Can be integrated into business workflows
- Clear Documentation: Comprehensive README and inline comments
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.
