A decentralized science platform powered by Flow blockchain and the specialized RegenReef AI Agent GPT (g-68688d70f9288191bcaf63f961032e06), offering comprehensive coral reef decision support for marine conservation with enterprise-grade MPC security.
- AI-Powered Reef Analysis: Advanced coral reef health assessment using LLMs
- Restoration Planning: Intelligent restoration strategy generation
- Flow Blockchain Integration: Decentralized AI agent management
- Real-time Monitoring: Live reef health tracking and alerts
- Stakeholder Collaboration: Multi-stakeholder engagement platform
- MPC Security: Multi-Party Computation for secure AI interactions
- Enterprise Encryption: End-to-end encrypted communications
- RegenReef AI Agent GPT: Specialized AI assistant (g-68688d70f9288191bcaf63f961032e06) for coral reef conservation
- Coral Health Analyzer: Advanced reef health assessment using expert AI analysis
- Restoration Planner: Evidence-based restoration strategy development
- Ecosystem Monitor: Comprehensive biodiversity and ecosystem monitoring
- Expert Consultation: Direct access to specialized coral reef expertise
- Secure MPC Gateway: Privacy-preserving AI interactions
- Agent NFTs: AI agents as Flow blockchain resources
- Decentralized Governance: Community-driven decision making
- Transparent Operations: All agent activities recorded on-chain
- Stakeholder Rewards: Token incentives for conservation efforts
- Secure Sessions: Cryptographically verified user sessions
- Node.js 18+
- Flow CLI (for contract deployment)
- Anthropic API key (optional, for fallback)
- OpenAI API key (for RegenReef AI Agent integration)
-
Clone the repository
git clone https://github.com/your-org/regenreef-desci-agent.git cd regenreef-desci-agent -
Install dependencies
npm install
-
Environment Setup
cp .env.example .env # Edit .env with your API keys -
Start the development server
npm run dev
-
Start all services (backend)
npm run dev:all
Or start services individually:
# Terminal 1: Frontend npm run dev # Terminal 2: Backend API npm run start:backend
Create a .env file with the following variables:
# Backend
PRIVATE_KEY=your_flow_private_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
OPENAI_API_KEY=your_openai_api_key_here
PORT=3001
# Frontend
VITE_API_URL=http://localhost:3001/api
VITE_FLOW_ACCESS_NODE=https://rest-testnet.onflow.org
VITE_FLOW_DISCOVERY_WALLET=https://fcl-discovery.onflow.org/testnet/authn- Dashboard: Overview of global reef health
- Reef Analyzer: AI-powered reef health analysis
- Restoration Planner: Intelligent restoration planning
- Agent Manager: Flow blockchain agent management
- Analytics: Comprehensive reef data visualization
- Stakeholder Hub: Collaboration and resource sharing
- AgentKit Integration: Onchain agent management
- RegenReef AI Agent: Specialized GPT integration (g-68688d70f9288191bcaf63f961032e06)
- LLM Services: Multiple AI model support (Claude, GPT-4)
- API Endpoints: RESTful services for reef analysis
- Event Handling: Blockchain event processing
- AIAgentManager: Core agent management contract
- Agent Resources: NFT-based AI agents
- Collection Management: User agent collections
- Event Emission: Activity tracking and logging
POST /api/analyze-reef
Content-Type: application/json
{
"location": "Great Barrier Reef - Heron Island",
"temperature": 26.5,
"coralCover": 75,
"threats": ["Coral Bleaching", "Ocean Acidification"],
"additionalData": "Recent cyclone activity, increased tourism",
"aiModel": "regenreef"
}POST /api/restoration-plan
Content-Type: application/json
{
"reefData": {
"location": "Maldives - North MalΓ© Atoll",
"currentHealth": 60,
"threats": ["Climate Change", "Tourism"],
"size": 150
},
"goals": "Increase coral coverage by 25%",
"timeline": "18 months",
"budget": "$500,000 USD",
"stakeholders": ["Local Communities", "Government Agencies"],
"aiModel": "regenreef"
}POST /api/regenreef-expert
Content-Type: application/json
{
"query": "What are the latest techniques for coral transplantation?",
"expertiseArea": "coral restoration"
}flow accounts create
flow project deploy --network testnetimport { FlowService } from './services/flowService';
// Create a new AI agent
const txId = await FlowService.mintAgent('https://api.anthropic.com/v1/messages');// Get user's agents
const agents = await FlowService.getUserAgents(userAddress);
// Activate an agent
const txId = await FlowService.activateAgent(agentId);import { mpcService } from './services/mpcService';
// Create secure session
await mpcService.initializeSecureSession(userId);const response = await mpcService.secureQueryRegenReef({
query: "What are the best coral restoration techniques?",
context: "Research project in Maldives",
userId: "user123"
});
console.log('Security Level:', response.securityLevel);
console.log('MPC Verified:', response.verified);
console.log('Response:', response.response);const status = await mpcService.getNetworkStatus();
console.log('MPC Network:', status.network);
console.log('RegenReef Agent:', status.regenReefAgent);We welcome contributions from marine biologists, developers, and conservation enthusiasts!
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
- Marine Science: Reef health algorithms and indicators
- AI/ML: Enhanced LLM prompts and analysis
- Blockchain: Smart contract improvements
- UI/UX: User interface enhancements
- Data: Reef monitoring datasets
- Security: MPC protocol improvements
- Cryptography: Advanced encryption schemes
- NOAA Coral Reef Watch: Satellite monitoring data
- Global Coral Reef Monitoring Network: Field observations
- Ocean Health Index: Ecosystem health metrics
- IUCN Red List: Species conservation status
- API Key Management: Secure environment variable handling
- Blockchain Security: Audited smart contracts
- Data Privacy: GDPR-compliant data handling
- Access Control: Role-based permissions
- β Core platform development
- β Flow blockchain integration
- β Basic AI agent functionality
- β Reef analysis tools
- π Advanced ML models
- π Mobile application
- π Real-time data feeds
- π Community governance
- π IoT sensor integration
- π Satellite data processing
- π Global reef network
- π Carbon credit marketplace
This project is licensed under the MIT License - see the LICENSE file for details.
- Flow Blockchain: For providing the decentralized infrastructure
- Anthropic: For Claude AI capabilities
- OpenAI: For GPT-4 and RegenReef AI Agent access
- Marine Conservation Organizations: For domain expertise
- Open Source Community: For tools and libraries
- Platform: https://benevolent-meerkat-ceaef3.netlify.app
- RegenReef AI Agent: https://chatgpt.com/g/g-68688d70f9288191bcaf63f961032e06-regenreef-aiagent
- GitHub: https://github.com/regenreef/desci-agent-platform
RegenReef DeSci Agent Platform - Empowering stakeholders with specialized AI-driven coral reef decision support powered by the RegenReef AI Agent GPT (g-68688d70f9288191bcaf63f961032e06) with enterprise-grade MPC security for a sustainable ocean future. RegenReef DeSci Agent Platform - Empowering stakeholders with specialized AI-driven coral reef decision support powered by the RegenReef AI Agent GPT (g-68688d70f9288191bcaf63f961032e06) for a sustainable ocean future.