A Next.js application that provides blockchain-based auditing for AI agent financial intents through integration with Bhindi.io. This system creates an immutable audit trail for financial decisions made by autonomous AI agents.
- Bhindi Agent Integration: Full compliance with Bhindi agent development specifications
- Blockchain Audit Trail: Immutable logging of financial intents on Base network
- Real-time Monitoring: Dashboard for tracking agent activities and status
- Data Integrity Verification: Cryptographic verification of logged intents
- Financial Intent Recognition: Structured parsing and categorization of financial actions
The application implements the required Bhindi agent endpoints:
Returns available tools for financial intent logging and auditing.
Executes specific tools with the following available operations:
logFinancialIntent: Log financial actions to blockchainupdateIntentStatus: Update status of existing intentsgetAuditTrail: Retrieve complete audit historyverifyIntentIntegrity: Verify data integrity against blockchain
Provides contextual information about user environment and preferences.
All agent endpoints require:
- API Key:
x-api-keyheader for server authentication - OAuth Token: Optional
Authorization: Bearer <token>for user-specific access
- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env
# Edit .env with your configuration- Start the development server:
npm run dev- Access the application:
- Main Dashboard: http://localhost:5000/dashboard
- Testing Interface: http://localhost:5000/testing
BHINDI_API_KEY: API key for Bhindi agent authenticationNEXT_PUBLIC_BASE_RPC_URL: Base network RPC endpointCONTRACT_ADDRESS: Deployed audit contract addressDEFAULT_USER_ADDRESS: Default wallet address for testing
- Frontend: Next.js with TypeScript and TailwindCSS
- Blockchain: Base network for immutable audit logging
- Agent Interface: RESTful API following Bhindi specifications
- Authentication: API key and OAuth token support
Use the testing dashboard at /testing to:
- Test Bhindi agent tool endpoints
- Simulate financial intent logging
- Verify blockchain integration
- Monitor agent execution history
The application is ready for deployment on Replit with automatic build and hosting configuration.