pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
翻譯準備中
探索來源設施紀錄、馬德雅邦基礎建設與可解釋的研究單元。繪製精確邊界並比較證據。
AI 翻譯
Explore sourced facility records, Madhya Pradesh infrastructure and explainable research cells. Draw exact boundaries and compare the evidence.
資料Python · JavaScriptGitHub @not-vibhu上線中營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證代理平台,用於 AI 資料中心站點選擇。涵蓋電力、水、氣候、土地、連線、法規、社群與供應鏈等 59 個因素——每個數字皆附帶其證據層級。
AI 翻譯
Agent harness for AI data center site selection. 59 factors across power, water, climate, land, connectivity, regulation, community and supply chain — every number carries its evidence tier.
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
An evidence-backed diligence system for AI data center siting.
Give it a coordinate, a parcel, a county, or a whole region. It runs a multi-agent
analysis across 59 decision factors — power, water, climate, land, connectivity,
regulation, community, supply chain — and answers one question:
Can this site support a profitable data center, and what must be verified next?檢視完整 README ↗An evidence-backed diligence system for AI data center siting.
Give it a coordinate, a parcel, a county, or a whole region. It runs a multi-agent analysis across 59 decision factors — power, water, climate, land, connectivity, regulation, community, supply chain — and answers one question:
Can this site support a profitable data center, and what must be verified next?
The answer is a decision, not a score: PROCEED, PROCEED WITH CONDITIONS, NO-GO,
or — most often, and most usefully — NOT PROVEN, with the specific open questions
that are preventing a decision, each priced in score points and addressed to the
counterparty who can close it.
dcgeo analyze --at "39.0437,-77.4875" --radius 25 --profile hyperscale_training
dcgeo brief run_0031 # the decision, blockers, and what to verify next
dcgeo compare run_0006 run_0008 # why each site wins and loses, not just a rank
dcgeo scan --bbox 31.5,-102.5,33.0,-100.0
dcgeo rerun run_0031 --assume "grid_upgrade_2029=true" --weight water=0.5
Or, inside Claude Code:
/dc-analyze 39.0437,-77.4875
/dc-scan "Telangana, India" --min-mw 500
/dc-recommend run_0031
Open the live map · Discover the platform · Public datasets and agent access
The web app now starts in Madhya Pradesh, with drill-down between India, MP and the detailed Bhopal view. Explore the sourced facility directory, switch infrastructure layers, inspect satellite imagery, and draw or edit exact site boundaries. Saved boundaries stay in this browser and export as GeoJSON for the analysis engine.
python3 -m http.server 8765 --bind 127.0.0.1 --directory site
# Open http://127.0.0.1:8765
uv run dcgeo analyze --boundary boundary.geojson --profile hyperscale_training
The India heatmap shows facility density. MP adds statewide mapped substations, power lines, water bodies and industrial land; Bhopal retains a finer research grid and its substation-proximity display. Both are exploration signals. A national investment suitability surface is not yet implemented. Current adapters still measure around an interior reference point even when an exact boundary is supplied.
The app uses committed, attributed source snapshots and keeps its map and boundary tools usable if a snapshot fails to load. No paid API keys are required for this research workspace. Existing scoring reports remain accessible from Analysis reports.
The statewide release adds explainable 10 km MP cells alongside the 2 km Bhopal grid, mapped-water review cells and national directory-coverage cells. Click a cell for its measurements, source IDs, model version and missing evidence. These are explicit research heuristics, not validated investment criteria. Facility records distinguish listings, source-reported types and operating facts; conflicting claims remain visible.
Draw or import a boundary and choose Check this exact boundary for geometric water/industrial intersections, source coverage, facility points and substation proximity. Select 2–5 saved boundaries to compare the same checks. Exported assessments retain geometry and provenance. These local checks are separate from the CLI's full diligence workflow. MP checks use the mapped state coverage boundary; a bounding box alone does not make an out-of-state parcel covered.
Public regional guides and the directory are delivered as ordinary HTML with
canonical URLs, structured metadata and a sitemap. Agents can download
data/catalog.json, data/infrastructure.json and data/screening.json using the documented read-only contract
in openapi.json. See discovery and indexing,
screening methodology and
Bhopal source review.
See the atlas workflow, data contracts and expansion plan.
Site selection for AI infrastructure is currently done with spreadsheets, broker relationships, and 6-month consulting engagements. The data needed to make the decision is public — it is just scattered across ISO interconnection queues, county GIS portals, PUC dockets, satellite rasters, and local news archives, in a hundred incompatible formats.
This repo makes that analysis reproducible, auditable, and fast enough to run on a thousand candidate sites instead of three.
Roughly 15 of the 59 factors can be measured precisely from open APIs — climate, terrain, flood, seismic, fiber routes, grid carbon. The factors that actually decide deals cannot: interconnection queue position, whether a utility will really serve a 500 MW load, land price, whether the county board will approve it.
So every metric in this system carries an evidence tier:
| Tier | Meaning | Example |
|---|---|---|
| A | Machine API, reproducible, versioned | Wet-bulb hours from ERA5 |
| B | Bulk file or structured scrape | ISO interconnection queue XLSX |
| C | Agent web research with citations | County board sentiment on prior applications |
| D | Modeled, analogized, or estimated | Land price from regional comparables |
A site scoring 82 on Tier-A/B evidence is a completely different asset from one scoring 82 on Tier-C/D evidence. The system never hides that difference: every score ships with a confidence band and an evidence ledger.
Tier answers how was this obtained. It does not answer is it still true, so every datapoint also carries its retrieval timestamp, and is discounted against its source's declared refresh window. A Tier-A number three years past its TTL reports lower confidence than the same number measured yesterday, and widens the ± band accordingly.
This tool does not replace due diligence. It tells you which twenty sites out of two thousand deserve due diligence, and what to ask when you get there — which is what the verification queue is: a ranked, addressed list of the questions that would settle the decision.
┌──────────────┐
region or ─────▶│ PROSPECTOR │ generates candidate sites from first principles
coordinate └──────┬───────┘ (power corridors ∩ land ∩ fiber ∩ climate)
│
┌──────▼───────┐
│PARCEL RESOLVER│ coordinate → AOI polygon, tiles, admin context
└──────┬───────┘
│
┌──────────┬───────┼───────┬──────────┬──────────┐
▼ ▼ ▼ ▼ ▼ ▼
POWER WATER CLIMATE LAND CONNECT. REGULATORY ← 8 domain analysts
ANALYST ANALYST ANALYST ANALYST ANALYST ANALYST run in parallel
│ │ │ │ │ │
└──────────┴───────┼───────┴──────────┴──────────┘
│ evidence ledger (every claim + source + tier)
┌──────▼───────┐
│ RED TEAM │ adversarial: tries to kill the site
└──────┬───────┘
┌──────▼───────┐
│ SCORER │ gates → profile weights → confidence bands
└──────┬───────┘
┌──────▼───────┐
│ RECOMMENDER │ gap → intervention → cost estimate
└──────┬───────┘
▼
site_analysis.json + report.md + site.geojson
Read ARCHITECTURE.md for the full design.
A weighted average will happily tell you a site is "78/100" when it has no path to power before 2032. That is worse than useless — it is confidently wrong.
So scoring runs in three stages:
NO-GO,
full stop, regardless of every other factor.hyperscale_training, inference_edge, and retrofit_colo. These weight water,
latency, land size and power density completely differently. A West Texas mega-site
that's brilliant for training is useless for edge inference.A gate whose input is unmeasured does not quietly pass. It is reported as undecidable, which is a different and more honest state than satisfied: the knockout check ran against nothing, so its result is not evidence. Likewise a domain with no measurements at all drops out of the weighted mean entirely — the system says so rather than letting the headline quietly describe a smaller model than advertised.
Scoring is the middle of the pipeline, not the end. Four things turn it into something
somebody can act on, all of them deterministic and all in dcgeo/diligence.py:
config/verification.yaml).dcgeo brief run_0006 # decision, blockers, swing factors, queue
dcgeo brief run_0006 --json # the same, machine-readable
A ranked list of scores is the least useful thing this system can output.
dcgeo compare reports why each site wins and loses — the factors where it beats
the field, in weighted score points contributed — and refuses to present an ordering
when the confidence bands overlap:
Not separable: 1 adjacent pair overlap within their confidence bands
(run_0006 / run_0008). The ordering is not supported by the evidence —
compare them on the win/lose reasons below, not on the score.
Hanover Ashland VA (APPROVED 2024)
+ Organized opposition risk +80 vs field +1.77 pts C
+ Zoning and entitlement status +27 vs field +0.60 pts C
- Transmission line proximity -4 vs field -0.10 pts A
It also reports shared blind spots — factors unmeasured for every candidate, which are the questions the comparison silently assumes away equally, and therefore the ones most likely to be wrong in the same direction for all of them.
uv sync
cp .env.example .env # optional: all core sources work with zero keys
uv run dcgeo doctor # checks which data sources are reachable
Every Tier-A/B source used by default is free and keyless or free-with-registration.
Paid adapters (Earth Engine, Planet, S&P Global, CoStar) have written interfaces in
dcgeo/adapters/paid/ and are skipped cleanly when no key is present.
| Path | What's in it |
|---|---|
.claude/agents/ | The 14 subagent definitions |
.claude/skills/ | Slash-command workflows (/dc-analyze, /dc-scan, …) |
factors/ | 59 factor specs — formula, thresholds, sources, gate, weights |
config/ | Profiles, gates, source registry, verification routing |
dcgeo/ | Python: scoring engine, diligence layer, evidence ledger, adapters |
site/ | India map workspace, boundary editor and evidence reports; attributed basemap tiles |
data/reference/ | Validation set: known data centers + negative controls |
docs/ | Methodology, evidence tiers, scoring math, source catalog |
crons/ | Scheduled global sweep specs |
Early. The architecture and factor framework are complete; adapter coverage is
partial and marked per-factor in dcgeo doctor. See ROADMAP.md.
Licensed MIT. Contributions welcome — a new factor is one YAML entry and one adapter function; see CONTRIBUTING.md.