Agents query your database for real-time metrics during deliberation
Connect PostgreSQL, MySQL, or any database via a read-only API wrapper. Agents run predefined queries to pull live metrics — revenue, usage, inventory, conversion rates — exactly when they need them to support their arguments.
Agents call your data API: GET /api/data/query/monthly_revenue → receives current numbers. No raw SQL — you define safe, parameterized queries as tools.
Council deliberates: "Should we launch the premium tier this quarter?"
GET /api/data/query/mrr_trend?months=6 → MRR: $42K→$67K (+59%)Strong growth trajectory. Premium tier could accelerate.
GET /api/data/query/power_users → 312 users hitting plan limits312 users would be immediate premium candidates — $23K/mo TAM.
GET /api/data/query/churn_by_plan → Pro churn: 8.2%, free: 42%Pro retention is good but 8.2% still bleeds. Premium adds retention lever.
RECOMMENDATION: Launch premium Q2. TAM is $23K/mo from power users alone. But fix Pro churn first — 8.2% means 1 in 12 Pro users leaves monthly.
A simple service with predefined queries: /api/data/query/{query_name}. No raw SQL exposed.
{"name": "company_data", "type": "http", "base_url": "https://internal.api/data", "auth": "Bearer $DATA_TOKEN"}Each query is a named endpoint with parameters. Agents can't write or run arbitrary SQL.
REVENUE-01 gets access to financial queries. USAGE-01 gets product metrics. Least privilege.