Skip to main content
An agent writing and executing SQL against production data is only useful if it is safe and correct. CosmiQ builds that in at several layers, on top of StarTree Cloud’s platform-wide security controls.

Read-only by design

CosmiQ is read-only. It executes only SELECT queries and does not modify, insert, or delete data.
Every Space defaults to read_only policy. INSERT, UPDATE, DELETE, DROP, and ALTER are banned outright — not just discouraged in the prompt.

Guardrails

Data handling

Reasoning stays in your AWS boundary

CosmiQ’s agent runs on Claude via AWS Bedrock, using the Claude Agent SDK. There is no external LLM dependency — prompts and reasoning do not leave AWS. An optional LiteLLM gateway can sit in front of Bedrock for centralized spend metering without changing how the agent processes data.

Storage

Spaces, verified queries, and feedback are stored in a file backend for local development and MariaDB in production. Rendered Space contexts are cached for 5 minutes by default to avoid re-processing on every question — the cache holds rendered context, not raw query results.

Authentication

Platform compliance

CosmiQ runs within StarTree Cloud infrastructure and inherits platform certifications:
  • SOC 2 Type 2
  • ISO 27001
  • HIPAA readiness
For full platform security details, see Security and Compliance.

CosmiQ Overview

What CosmiQ is, how Spaces work, and the deployment architecture.

API Reference

REST endpoints, authentication, and system defaults.