Create weather-research.py with the code below, or save it directly from your editor.
import osfrom dotenv import load_dotenvfrom bindu.penguin.bindufy import bindufyfrom agno.agent import Agentfrom agno.tools.duckduckgo import DuckDuckGoToolsfrom agno.models.openrouter import OpenRouterload_dotenv()agent = Agent( instructions="You are a weather research assistant. When asked about weather, provide a clear, concise weather report with current conditions, temperature, and forecast. Focus on the most relevant information and present it in an organized, easy-to-read format. Avoid showing multiple search results - synthesize the information into a single coherent response.", model=OpenRouter( id="openai/gpt-oss-120b", api_key=os.getenv("OPENROUTER_API_KEY") ), tools=[DuckDuckGoTools()],)config = { "author": "bindu.builder@getbindu.com", "name": "weather_research_agent", "description": "Research agent that finds current weather and forecasts for any city worldwide", "deployment": { "url": "http://localhost:3773", "expose": True, "cors_origins": ["http://localhost:5173"] }, "skills": ["skills/weather-research-skill"],}def handler(messages: list[dict[str, str]]): if messages: latest_message = messages[-1].get('content', '') if isinstance(messages[-1], dict) else str(messages[-1]) result = agent.run(input=latest_message) if hasattr(result, 'content'): return result.content elif hasattr(result, 'response'): return result.response else: return str(result) return "Please provide a location for weather information."bindufy(config, handler)#bindufy(config, handler, launch=True)# This will create a tunnel to your agent and expose it on port 3773
# Weather Research Skill# Advanced weather research with comprehensive meteorological analysisid: weather-research-skillname: weather-research-skillversion: 1.0.0author: bindu.builder@getbindu.comdescription: | Advanced weather research skill that provides comprehensive weather information, forecasts, and meteorological analysis for any location worldwide. Features: - Real-time weather data via search - Multi-day forecasting with confidence levels - Historical weather pattern analysis - Travel recommendations based on weather - Severe weather alerts - Climate information and trends Uses DuckDuckGo search to find current weather conditions and provides detailed analysis with both metric and imperial units.tags: - weather - forecast - meteorology - research - climate - travelinput_modes: - application/jsonoutput_modes: - application/jsonexamples: - "Get current weather conditions for New York City" - "Provide 5-day weather forecast for London" - "Analyze weather patterns for Tokyo" - "What's the weather like in Dehradun?" - "Give travel recommendations for Paris this weekend"capabilities_detail: weather_research: supported: true description: "Comprehensive weather research and forecasting capabilities" search_integration: supported: true description: "Real-time weather data search via DuckDuckGo" forecasting: supported: true description: "Multi-day weather forecasts with confidence levels" analysis: supported: true description: "Weather pattern analysis and trends"
# Clone the Bindu repositorygit clone https://github.com/GetBindu/Bindu# Navigate to frontend directorycd frontend# Install dependenciesnpm install# Start frontend development servernpm run dev