Shield
Semantic firewall
Traditional access control works at the document level. Shield works at the meaning level—blocking sensitive topics from reaching unauthorized users, regardless of where the data lives.
Semantic Rules
Define policies based on meaning, not keywords. Block "confidential financial data" regardless of how it's phrased.
Topic Boundaries
Create semantic perimeters around sensitive topics. Prevent leakage across team boundaries.
Dynamic Filtering
Rules are applied in real-time during queries. No need to pre-classify all your data.
Audit Trail
Every blocked query is logged with explanation. Full visibility for compliance teams.
Policy Templates
Pre-built templates for HIPAA, SOX, GDPR, and common enterprise requirements.
Integration with Shield
Works with Unlearn for semantic deletion and Vault for immutable compliance logs.
import { Metalogue } from '@metalogue/sdk';
const client = new Metalogue({ apiKey: 'mtlg_...' });
// Create semantic firewall rules
await client.shield.createPolicy({
name: 'financial-data-protection',
rules: [
{
block: 'financial projections AND internal',
except: ['finance-team', 'executives'],
reason: 'Internal financial data restricted'
},
{
block: 'salary OR compensation details',
except: ['hr-team'],
reason: 'HR-only information'
}
]
});
// Queries are automatically filtered
const results = await client.query({
question: 'Q4 revenue projections',
user: 'user_marketing' // Blocked by Shield
});
// Returns: { blocked: true, reason: 'Internal financial...' }