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 live API is in the Run & Stream tabs above.
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
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)