← Back to home

AI agent PhalaN

PythonNext.js

AI agent built on Phala Network to make payments autonomously

Screenshots

AI agent PhalaN screenshot 1
AI agent PhalaN screenshot 2
AI agent PhalaN screenshot 3

Problem Statement

I have recently accomplished AI2WEB3 bootcamp. Now I am trying to put my knowledge into practice. Phala Network allows the implementation AI agents in Web3 space. What I am trying to build is an AI agent that connects with ETH blockchain and can make payments using prompts. It is a basic functionality that I plan to build. Moreover, if I have time I would like to add voice recognition to the agent.

Solution

Integrating the Phala Network SDK with Python and Next.js.Phala Network SDK Phala Network has documentation and SDK to understand how to interact with it. I used it to install SDK and dependencies.Setting Up Python I am using Python to create your backend service. I use frameworks like Flask to build APIs that interact with the Phala SDK.Creating APIsSetting Up Next.js I use Next.js application using create-next-app.Connecting Frontend to Backend Using Fetch API in Next.js to make requests to your Python backend.Deployment I am using Vercel to deploy a project

Hackathon

ETHGlobal San Francisco

2024

Contributors