Complete project showcase and developer guide for building AI applications with APUS
apus-chat-attestation-example/ βββ ao_agent.lua # AI chat agent on AO network βββ frontend/ # Frontend application β βββ src/ β β βββ components/ # React components β β βββ hooks/ # Custom hooks β β βββ utils/ # Utility functions β βββ package.json βββ README.md
ao_agent.lua
-- Core logic for handling messages Handlers.message = function(msg) -- 1. Validate message format -- 2. Call AI inference -- 3. Generate response -- 4. Send response end
# Clone example project git clone https://github.com/apuslabs/apus-chat-attestation-example cd apus-chat-attestation-example # Install dependencies npm install
Prompt: "Please analyze this AO Agent code and explain its architecture and key functions"
Prompt: "Please analyze this frontend code and explain how to call AO Agent"
Prompt: "Based on this example, help me design a [Your Project Type]"