Documentation
Everything you need to build with PAPPAP
Getting Started
Learn the basics of PAPPAP and create your first personal AI
API Reference
Complete API documentation for developers
P-ASM Protocol
Deep dive into constitutional rule execution
Security
Security best practices and guidelines
Popular Tutorials
Code Examples
Create a Personal AI
const response = await fetch('http://localhost:3001/claim_genesis', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
access_key: 'your_access_key'
})
});
const data = await response.json();
console.log('Your AI:', data);Chat with Your AI
const response = await fetch('http://localhost:3001/chat', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
egg_id: 'your_egg_id',
message: 'Hello PAPPAP!'
})
});
const reply = await response.json();
console.log('AI Response:', reply);