
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@agentuity/keyvalue
Advanced tools
A standalone package for the Agentuity Key-Value storage service.
npm install @agentuity/keyvalue
import { KeyValueClient } from '@agentuity/keyvalue';
const client = new KeyValueClient();
// Set a value with optional TTL
await client.set('my-namespace', 'user:123', { name: 'John', email: 'john@example.com' }, {
ttl: 3600 // expires in 1 hour
});
// Get a value
const result = await client.get('my-namespace', 'user:123');
if (result.exists) {
console.log('Found:', result.data);
console.log('Content-Type:', result.contentType);
}
// Delete a value
await client.delete('my-namespace', 'user:123');
// Get namespace statistics
const stats = await client.getStats('my-namespace');
console.log(`${stats.count} keys, ${stats.sum} bytes`);
// Search for keys
const results = await client.search('my-namespace', 'user');
The client can be configured with options:
const client = new KeyValueClient({
apiKey: 'your-api-key', // or set AGENTUITY_SDK_KEY
url: 'https://api.agentuity.com', // or set AGENTUITY_KV_URL
logger: customLogger, // optional custom logger
});
| Variable | Description | Default |
|---|---|---|
AGENTUITY_SDK_KEY | API key for authentication | Required |
AGENTUITY_REGION | Region for API endpoints | usc |
AGENTUITY_KV_URL | Override KV API URL | Auto-detected |
Keys can have an optional TTL:
// Key expires in 1 hour
await client.set('ns', 'key', value, { ttl: 3600 });
// Key never expires
await client.set('ns', 'key', value, { ttl: null });
// Key uses namespace default TTL
await client.set('ns', 'key', value);
Apache-2.0
FAQs
Unknown package
The npm package @agentuity/keyvalue receives a total of 301 weekly downloads. As such, @agentuity/keyvalue popularity was classified as not popular.
We found that @agentuity/keyvalue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.