nano SIEM
Settings

pivt AI Settings

Configure nano's AI assistant — providers, models, per-agent settings, usage credits, and organizational guidance

pivt AI Settings

pivt is nano's built-in AI assistant, powered by Claude and routed through Cloudflare AI Gateway. It handles parser generation, query building, detection engineering, search summarization, investigation timelines, dashboards, and interactive chat.

How It Works

All AI requests route through Cloudflare AI Gateway, which provides:

  • Multi-provider support — Anthropic (Claude), OpenAI, Google Gemini, Azure OpenAI, and AWS Bedrock
  • Usage analytics — per-deployment request tracking and cost monitoring
  • Rate limiting — protects against runaway usage
  • Failover — switch providers without code changes

On managed deployments, the AI gateway and provider credentials are pre-configured — you don't need to set up anything. On BYOC/self-hosted deployments, you configure your own provider credentials.

AI Credits

Every AI request consumes credits from your monthly allowance. Credit costs depend on the model used:

Model ClassExamplesCost per Request
LiteClaude Haiku, Gemini Flash Lite2 credits
FullClaude Sonnet, Claude Opus, GPT-410 credits

Per-Tier Limits

TierMonthly CreditsModel TierEquivalent Full Requests
Hobby6,000Economy (Lite models only)600
Startup20,000Standard (Lite + Sonnet)2,000
Growth50,000Full (all models)5,000
Team100,000Full10,000
Business300,000Full30,000
ProUnlimitedFullUnlimited
EnterpriseUnlimitedFullUnlimited

Monitoring Usage

Navigate to Settings > pivt > Usage tab to see:

  • Credits consumed this month vs. your limit
  • Breakdown by model class (lite vs. full)
  • Monthly reset date

Settings Tabs

The pivt settings page is at Settings > pivt and has six tabs:

Providers

Configure which AI providers nano can use. Each provider needs an API key.

ProviderModels AvailableNotes
AnthropicClaude Haiku, Sonnet, OpusRecommended — best for security analysis
OpenAIGPT-4o, GPT-4, GPT-3.5Good alternative
GoogleGemini Pro, FlashCost-effective for high volume
Azure OpenAIGPT-4, GPT-3.5 (your deployment)For Azure-committed orgs
AWS BedrockClaude (via Bedrock)For AWS-committed orgs

For each provider you can:

  • Add or update the API key
  • Enable or disable the provider
  • Validate the connection

Models

View and manage the available model catalog. Models are synced from configured providers. You can see which models are available, their provider, and deprecation status.

Agent Models

Override which model each AI agent uses. By default, all agents use the same model, but you can assign different models per agent for cost optimization:

AgentDefault Use CaseRecommendation
ParserGenerate VRL parsers from log samplesSonnet (accuracy matters)
QueryNatural language to nPL queriesSonnet
DetectionCreate and tune detection rulesSonnet
SummarizeAnalyze search resultsHaiku (cost-effective)
TimelineInvestigation timelinesHaiku
DashboardGenerate dashboardsSonnet
Notebook ChatInteractive multi-turn analysisSonnet
Query CorrectionFix failed queriesHaiku
Query Best PracticesOptimize query performanceHaiku

Per-agent settings include temperature, max tokens, and timeout overrides.

Guidance

Provide organizational context so pivt gives more relevant responses:

  • Priority Threats — tell pivt what your org cares about most (e.g., "ransomware, insider threats, cloud misconfigurations")
  • Custom Instructions — organization-specific guidance (e.g., "our domain is corp.local, always check for lateral movement to 10.0.0.0/8")
  • Agent toggles — apply guidance to specific agents: Chat, Query, Detection, Parser, Dashboard

This context is injected into every AI request for the selected agents, so pivt understands your environment without you repeating it.

Usage

Monitor your AI credit consumption:

  • Credits used this month — current usage vs. tier limit
  • Model tier — which model classes are available on your tier
  • Monthly reset — credits reset at the start of each calendar month

Monitoring

Health monitoring for configured AI providers:

  • Health check toggle — tests provider connectivity every 5 minutes
  • Status alerts — notifies admins when a provider goes down
  • Connection history — see recent health check results

AI Agents

pivt includes specialized agents, each tuned for a specific task:

AgentWhat It Does
ParserGenerates VRL parsers from sample logs with UDM field mapping
Parser EditIteratively refines parsers based on feedback
QueryConverts natural language to nPL queries
Query CorrectionFixes failed or invalid queries
Query Best PracticesReviews and optimizes query performance
DetectionCreates detection rules with MITRE ATT&CK mapping
TuningReduces false positives by analyzing historical matches
SummarizeAnalyzes search results and generates narrative summaries
TimelineCreates chronological investigation timelines
DashboardGenerates dashboards from descriptions
Notebook ChatMulti-turn interactive analysis in notebooks
Shadow InvestigationAutonomous threat hunting on case creation

Managed vs. BYOC

AspectManagedBYOC / Self-Hosted
Provider configPre-configured, lockedYou configure providers and API keys
Model selectionPlatform-managedYou select per-agent
CreditsPer your tierPer your tier
Settings accessGuidance + Usage tabs onlyAll 6 tabs
GatewayPlatform Cloudflare gatewayYour own gateway or direct provider access

Security

  • Credentials — provider API keys are encrypted at rest using AES-256-GCM
  • Data in transit — all AI gateway communication uses TLS 1.2+
  • Data retention — Cloudflare AI Gateway and upstream providers do not retain request data after processing
  • Permissions — AI features are RBAC-controlled (settings:ai, melod:chat, melod:query, melod:detection, melod:parser, melod:summarize)

Next Steps

On this page

On this page