OpsGraph1.0.0

Read-only database AI for PostgreSQL Find what
went wrong.
Show the evidence.

Use database AI to investigate missing records, failed payments and stuck jobs in PostgreSQL. Ask a question, then inspect the SQL and saved results behind the answer.

One operator. Read-only queries. Your choice of model.

PRACTICE CASE / 001Saved evidence

Why are payments failing?

50failed payments
out of 1,000 practice payments

fastpay · gateway_timeout
The grouped results record 50 failures for this processor. They do not establish why the gateway timed out.

Captured grouped counts
ProcessorStatusCount
fastpayfailed50
fastpaysucceeded450
steadypaysucceeded500
SQL + records + limitsInspect before acting

Illustrative summary of the included practice dataset. Run the case with your selected model to inspect its actual answer.

PostgreSQL stays read-onlyAccess is explicitly approvedResults stay inspectableApache-2.0 licensed

01 / From setup to a first answer

Start small.
See the whole flow.

You do not need to write SQL or edit configuration files for the guided setup. First, try database AI with practice data before connecting a database you care about.

Before you start
Install Git and Python 3.9 or newer. Practice data also needs local PostgreSQL 15–18 tools or Docker Desktop. Bring a model API key, or a running local model with its model files already downloaded.

Open Terminal. Run these three lines.
git clone https://github.com/Arittra-Bag/opsgraph.git
cd opsgraph
python3 Start.py --no-code

  1. 1
    Choose practice data or your database

    Practice mode creates a separate database with invented orders and payments. Your existing databases stay separate.

  2. 2
    Choose your model and review the settings

    Enter your model name and key if needed. External processing requires your permission. No model files are downloaded automatically.

  3. 3
    Open the browser and verify the connection

    Approve the tables and small test read. In Settings, test the real model connection. Then ask your first question.

Already cloned? Run only python3 Start.py --no-code from the repository. Use the same command to reopen your saved no-code workspace. Prefer an offline bundle? Download 1.0.0 and read its installation guide ↗

02 / The actual workspace

Database AI.
A visible trail of evidence.

Keep follow-up questions in the same conversation. Each investigation turn keeps its SQL, captured records and limits. Export a readable Markdown report when another engineer needs the details.

OpsGraph / saved investigationView full screenshot ↗
OpsGraph database AI investigation with conversation turns, recorded SQL, findings and inspectable evidence
Real workspace captured during 1.0 validation using test data. Model findings still require your review.
01

Ask a concrete question

Pick a source and describe the issue. Add the tenant, time range and business definitions that matter.

02

Read within approved limits

Your model proposes SQL. OpsGraph checks table access, read-only rules and query limits before running it.

03

Check the work

Inspect the actual query and captured rows. A citation identifies evidence. It does not prove a conclusion.

04

Continue or share

Test another explanation in the same conversation, or export the selected evidence and findings as a report.

03 / A useful first question

Try an incident
you can check.

Choose Try with practice data during setup. Once source and model checks pass, paste this question into a new investigation.

The expected grouped results contain 50 fastpay failures with gateway_timeout, 450 fastpay successes and 500 steadypay successes. Compare the model's answer with its captured SQL results.

Included practice dataset

Count payments by processor, status and error_code. Which processor has failed payments, how many are there, and what error is recorded? Cite the evidence.

Invented data, not a live service or a model accuracy benchmark.

04 / Bring your own database

PostgreSQL,
where you run it.

Local or hosted, use a dedicated login that can read only approved tables. The setup guide changes with your hosting choice. Every connection must pass its actual checks.

Local / self-hostedSupabaseNeonAWS RDSGoogle Cloud SQLAzureDigitalOcean

Have a connection string?

Choose Connect my database, select where it runs, then paste the connection string. Its password is hidden. Discover tables, choose what may be read and verify access.

Need help finding it?

Select Show setup steps or type ? in the visible connection menu. You will see provider steps, an example and the official guide. You can also finish database setup later.

Need a read-only login?

Ask your database administrator to create it. Sources includes a role guide and a scoped SQL script for them to review. OpsGraph does not use an owner account to create access for itself.

Remote connections verify the server certificate. Hosted guidance is not certification of every endpoint or network. Read the provider connection guide ↗

Clear expectations

Before you connect.

What does the setup do automatically?

With your approval, it installs OpsGraph and locked dependencies, prepares an isolated practice database if you choose that route, saves private settings and opens your local browser. It may download a compatible Python runtime. It does not install a model service or model files. You supply the model connection.

Can I keep everything local?

Yes, with an already installed local model service and a local PostgreSQL database. Hosted models require explicit permission before evidence leaves the backend. Model keys and database credentials stay on your OpsGraph backend.

Does it change my database?

Investigation queries are read-only. Approved table scope, SQL validation, query limits and read-only transactions are enforced by the application. Your database role must also prevent writes. Database repairs and automatic remediation are not included.

Can I bring another dataset, including a large one?

Yes, connect a PostgreSQL database using a dedicated read-only login. You do not upload the full database to OpsGraph. Queries have row, time and count limits. Explain the data's meaning and start with a narrow question. Large datasets may need indexes and tighter filters.

Does browser login to Supabase connect my database?

No. Provider OAuth is not implemented. You need a PostgreSQL connection string and a dedicated read-only database login. A Supabase API key or a provider browser session is not a database password.

What should I review before sharing a report?

Reports do not automatically redact sensitive records. Choose which sections to include, inspect the SQL and findings, and remove anything you should not share. Model conclusions are not independently verified. Missing business definitions can change the interpretation.

How does OpsGraph compare with DB-GPT and database AI tools?

OpsGraph uses database AI for read-only PostgreSQL incident investigations with retained query evidence. Other tools serve broader data analysis and application workflows. Read the database AI guide and DB-GPT comparison.

Who is this release designed for?

One trusted operator in a private, self-hosted workspace. Keep it on loopback or a private network. Team accounts, other database engines and automatic database tuning are outside the current scope. The support matrix separates real database checks, provider fixtures and model quality validation.

Read the support matrix ↗

Start with something you can verify

A question.
The query.
The evidence.

Try database AI with the practice case. Inspect the records, then bring your own database when you are ready.

Start the guided setup →