# Track OKRs Automatically with AI Intelligence

> Monitor objectives and key results in real-time with AI-powered insights and automated tracking. Get custom dashboards, predictive analytics, and automatic progress updates from all your data sources. Make data-driven decisions faster with intelligent alerts and recommendations.

Canonical: https://okr.do/

## In code

```ts
import { OKR } from 'okr.do'

// Track OKRs with AI-powered updates
const okrs = OKR({ tracking: 'automatic', reporting: 'weekly' })

on.Metric.updated($ => {
  okrs.update.KeyResults({ metric: $.name, value: $.value })
  if ($.value < $.target * 0.7) $.Slack.send.Alert({ kr: $.name })
})

// Weekly reports with AI insights
OKR.every.monday($ => $.Email.send.Report($.AI.generate.OKRReport()))
```

## Frequently asked questions

### How does okr.do automatically track OKR progress?

Okr.do connects to all your data sources (databases, analytics, CRM, etc.) and uses AI to correlate metrics with key results. The system automatically updates progress as new data arrives, calculates confidence scores, and detects when KRs are off-track. No manual updates required—progress is computed in real-time from your actual business metrics. Support for custom formulas, weighted averages, and complex calculations across multiple data sources.

### Can I create custom OKR dashboards and reports?

Yes. Build custom dashboards with drag-and-drop widgets, SQL queries, TypeScript transformations, and visual components. Create executive views, team-specific dashboards, and individual contributor progress pages. Share reports with stakeholders, schedule automated emails, and export data to PDF, Excel, or other formats. Full API access for embedding dashboards in external tools. AI generates natural language summaries and insights for each report.

### How does AI help with OKR planning and tracking?

AI agents automatically analyze trends, detect anomalies, predict completion likelihood, and suggest optimizations. Get natural language insights like 'Revenue KR is trending 15% below target due to conversion rate drop in EU region' with root cause analysis and recommended actions. AI suggests new key results based on historical performance, identifies dependencies between OKRs, and recommends resource allocation. Predictive analytics forecast completion probability with 95% confidence intervals.

### What about data privacy and compliance for business metrics?

GDPR, CCPA, and SOC 2 compliant by default. Automatic PII detection, user consent management, and data deletion workflows. Full audit logs for compliance reporting with immutable history. Data never leaves your designated regions—choose US, EU, or other regions for storage. Role-based access control ensures sensitive OKRs are only visible to authorized users. Support for SSO, SAML, and enterprise authentication.

### Can I connect OKRs to external BI tools and data warehouses?

Yes. Native integrations with Tableau, Looker, Power BI, Metabase, and other BI platforms. Real-time data sync to Snowflake, BigQuery, Redshift, and other data warehouses. Semantic models and optimized queries for fast dashboard loading. Use .do as your single source of truth for all OKR metrics with bidirectional sync to existing systems. Webhook support for custom integrations with any tool.

## Part of Platform.do

okr.do is one of the primitives of Platform.do, in the Business layer (goals, plans and the work itself). Every .do shares one grammar, Business-as-Code, and one SDK.

- What is Business-as-Code? https://platform.do/business-as-code
- Platform.do: https://platform.do/
- Docs: https://docs.platform.do
