Detailed Architecture


Users Profile
Users may access the feature of the app by using the <strong> Internet Identity </strong> from ICP. This enables us to assign the user a public key for it to be used inside the application. The Internet Identity of the user is stored as a text within our storage canister and will be used as a key to access information such as the user's farm, and any other information.
Frontend as Asset
The app uses NextJS as the frontend framework for the application, the whole application uses static rendering and gets data from the backend and ai canisters using the Webpack[**https://webpack.js.org/**] framework bundled from the backend canister.
Backend Canister
The backend canister stores all user and ai data, all of the user's queries and updates are managed by the backend canister using the Rust IC Canister Development Kit.
AI Canister
The AI Canister handles all the AI logic such as document processing and AI chatbot processing. The AI canister uses a pretrained Claude Anthropic for faster and smarter responses. This canister is managed by the backend; therefore, it is not connected to the frontend.
Last updated