stellar-app-logo
Solution

BYOK AI Agents for Business Analysis

How bring-your-own-key AI agents read ERP records, what the 15 business agents actually produce, and how to keep output advisory.

8 min readUpdated 18 November 2026

Why BYOK

BYOK means bring your own key. Instead of buying AI through the software vendor, you connect a provider key you control. In Stellar, that is a Google Generative AI key stored in the deployment environment.

The practical benefits are cost transparency and provider control. Requests run on your provider account, and the provider bills you directly. Stellar does not resell tokens or mark up usage.

How the agents work

Each agent is an on-demand analysis. When you open it and ask a question, the application queries the relevant ERP records, builds a context, and sends that context to the model. The reply is streamed back as text.

Agents do not run in the background, send alerts, or change records. They are not scheduled jobs. The output is a written summary or recommendation that you verify against the underlying invoices, payments, expenses, and reports.

What the 15 agents cover

The business agents cover executive summaries, cash and runway, pricing review, sales and quote review, customer risk, expense anomalies, payment and invoice summaries, spend variance, collections, and forecasting.

The scope is deliberately tied to records the ERP already stores. For example, the CFO Agent calculates cash in, cash out, burn rate, runway, and overdue exposure. The Pricing Intelligence Agent reviews product prices, discounts, and an estimated revenue-at-risk figure. The Anomaly Detection Agent flags expense spikes and payment outliers above thresholds.

  • Executive: CEO Dashboard, CFO, BI Narrator, Forecasting
  • Revenue: Sales Coach, Pricing Intelligence, Upsell, Quotation
  • Risk: Anomaly Detection, Regulatory, Spend Variance, Churn Prediction
  • Operations: Bank Reconciliation, Collections, Expense

What the agents do not do

They do not automatically reconcile bank feeds, approve expenses, send customer emails, or make decisions. They do not read data that is not in the workspace, and they do not fetch market or competitor data.

KPI figures shown on the public agent pages are illustrative examples, not measured results. Treat every agent response as a draft analysis that needs review.

Setting up a key

Add GOOGLE_GENERATIVE_AI_API_KEY to the deployment environment and restart the app. Each agent page then works against your records. The optional AI Image Studio uses REPLICATE_API_TOKEN and is separate from the business agents.

Keep keys out of source control. In production, use Railway dashboard variables or your host's secret manager. Rotate keys if they are exposed.

A sensible adoption path

Start with one question you already answer manually each week, such as cash position or overdue invoices. Compare the agent summary with the report you trust. Once the context and output match your expectations, add a second agent in a different domain.

Do not use agent output as the only input for financial decisions. Keep the report PDFs and ERP records as the source of truth.

Frequently asked questions

Do I need a Replicate key for the business agents?

No. Business agents use Google Generative AI. Replicate is only used by the separate AI Image Studio for social image generation.

Does Stellar keep my agent prompts or outputs?

The app sends context to the provider you configure and streams the response back. It does not add a separate analytics pipeline for prompts. Your provider's terms govern the request.

Can agents write to my ERP records?

No. The current agents are read-only analysis tools. They return text; you make changes in the ERP modules.

Keep reading

Run the core on your own infrastructure

Deploy the free core, connect Supabase, and add AI agents with your own Google key when you are ready.

Free self-hosted core • BYOK or managed AI • stellarapp.site