Welcome to the live demo. I'm running the AP Agent, I can analyze code, generate diffs, plan refactors, and help debug. Try a preset below or describe your task.Heads up, this chat returns canned example responses so you can feel the flow without a key. The Run & Stream tabs above show example output too, the one genuinely live call is the TRIPPYCOIN tab, which fetches the real on-chain price.
You've used all 3 free demo runs. Get full access with unlimited requests.
Refactor auth middlewareReview this function for bugsGenerate TypeScript types for this schemaMy Railway deploy is failing, help me debugAnalyze my repo structure
Heads up:apx_demo_key_12345
is a shared demo key that returns example output, bring your own key to run for real.
The TRIPPYCOIN tab is genuinely live (it fetches the real on-chain price from
GET /api/trippycoin/price);
the other tabs show illustrative example responses.
cURLNode.jsPythonGo
POST/api/agents/code-review-pro/run
Request
curl -X POST https://api.apxai.co/api/agents/code-review-pro/run \
-H "Authorization: Bearer apx_demo_key_12345" \
-H "Content-Type: application/json" \
-d '{
"input": "Review this function for security issues",
"context": { "language": "typescript" }
}'
const response = await fetch(
'https://api.apxai.co/api/agents/code-review-pro/run',
{
method: 'POST',
headers: {
'Authorization': 'Bearer apx_demo_key_12345',
'Content-Type': 'application/json'
},
body: JSON.stringify({
input: 'Review this function for security issues',
context: { language: 'typescript' }
})
}
)
const data = await response.json()
import requests
resp = requests.post(
'https://api.apxai.co/api/agents/code-review-pro/run',
headers={'Authorization': 'Bearer apx_demo_key_12345'},
json={
'input': 'Review this function for security issues',
'context': {'language': 'typescript'}
}
)
data = resp.json()
body := `{"input":"Review this function for security issues","context":{"language":"typescript"}}`
req, _ := http.NewRequest("POST",
"https://api.apxai.co/api/agents/code-review-pro/run",
strings.NewReader(body))
req.Header.Set("Authorization", "Bearer apx_demo_key_12345")
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, _ := client.Do(req)