DAU is a protocol that allows automated systems to discover and invoke server-hosted functions over the web—without needing pre-registration, integration kits, or formal APIs.
DAU is for service providers and solution integrators who want to make their capabilities easily accessible to AI-based bots and agents—casually, just-in-time, and without formal contracts. Bots interpret services based on descriptions, not hard-coded logic.
A DAU-compatible server exposes callable functions grouped into libraries. Each library provides:
/dau?op=list?tag=math, ?id=library1/dau?op=get&id=library1invoke URL provided in the manifest with GET or JSON POST.humor : https://kwiver.com/dau?op=list&tag=humorlibrary1 : https://kwiver.com/dau?op=get&id=library1library2 : https://kwiver.com/dau?op=get&id=library2get_meaning_of_life: https://kwiver.com/dau/libraries/library1?function=get_meaning_of_lifeget_lie: https://kwiver.com/dau/libraries/library2?function=get_lie{
"dau_version": "1.0",
"library_id": "yourlibrary",
"name": "Descriptive Name",
"description": "What this library offers.",
"version": "1.0.0",
"date": "2025-05-06",
"tags": ["tag1", "tag2"],
"functions": [
{
"name": "your_function_name",
"description": "What this function does.",
"parameters": {
"type": "object",
"properties": {
"param1": {
"type": "string",
"description": "Explain param1"
}
},
"required": ["param1"]
},
"invoke": "/dau/libraries/yourlibrary/"
}
]
}
<?php
header('Content-Type: application/json; charset=utf-8');
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
\$func = \$_GET['function'] ?? null;
\$params = \$_GET;
unset(\$params['function']);
} else {
\$input = json_decode(file_get_contents('php://input'), true);
\$func = \$input['function'] ?? null;
\$params = \$input['parameters'] ?? [];
}
switch (\$func) {
case 'your_function_name':
echo json_encode([
"result" => [ "message" => "Stub response from your_function_name" ]
]);
break;
default:
echo json_encode([
"error" => [ "message" => "Unknown or unsupported function." ]
]);
break;
}
?>
This server implements DAU version 1.0.