A stateless agent forgets everything between calls; this stores values it can read back later.
A tiny key-value store so a stateless agent can remember things across calls. Store any JSON value under a key, read it back later, optionally with a time-to-live.
Store a JSON value under a key for this account, optionally with a TTL. Overwrites an existing key.
Key to store under.
Any JSON value.
Optional expiry in hours.
curl -X POST "https://skill.askfaro.com/skills/kv/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Remember that the last processed id was 4821"
}
}'askfaro describe kv/kv.set
Install pip install askfaro-cli, then askfaro auth login.
curl -X POST "https://skill.askfaro.com/skills/kv/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Forget the saved config"
}
}'askfaro describe kv/kv.delete
Install pip install askfaro-cli, then askfaro auth login.
curl -X POST "https://skill.askfaro.com/skills/kv/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "What was the last processed id?"
}
}'askfaro describe kv/kv.get
Install pip install askfaro-cli, then askfaro auth login.