Hybrid Human Agentic Intelligence

Open Data
Research Platform

APIs . RAG Catalog . Toolchains . AI Agents

HHAI is an open platform where human expertise and AI agents work together. Browse curated data sources, build agent workflows, run live API queries, and explore how hybrid intelligence transforms research, design, and urban systems.

Platform Modules
Resource Library
33 curated resources -- APIs, PDFs, repos, datasets
API / Skill / RAG Catalog
Agent-ready classification and ingestion notes
AI Agents
6 agents powered by Grok-4.5 -- chat, build, critique
Toolchains
6 workflow-ready stacks with alternates and use notes
33Curated Resources
8Live APIs
12Downloadable Items
6AI Agents
6Toolchain Stacks
5Data Categories

API & Open Data Resources

Live APIs and datasets from Hong Kong government open-data portals, ready for student projects and agent workflows.

RAG & Skill Resources

Policy PDFs, curated repos, and notebooks structured for RAG pipelines and agent skill building.


What's in the Commons

API-Ready
Open APIs & Datasets
Live government APIs and downloadable datasets covering buildings, transport, air quality, and spatial data -- call them directly from code or agents.
RAG-Ready
Policy PDFs & Repos
Smart city blueprints, open-data plans, and curated reading lists structured for retrieval-augmented generation (RAG) pipelines and agent context.
Skill-Ready
Repos, Postman & Notebooks
BIM repositories, Postman collections, and Jupyter notebooks ready for agent skill extraction and tool definition.
Context / Precedent
Articles & Case Studies
Digital twin precedents, urban AI case studies, and planning-tech reading maps for background research and agent context.
Accreditation / Policy
Standards & Policy Documents
Accreditation criteria, professional assessment pages, and policy documents for studio alignment and RAG ingestion.
Internal / Upload
Manual Upload Placeholders
Reserved slots for private documents and instructor-provided files to be uploaded manually. Clearly marked, not publicly accessible.

Six Resource Stacks

Resources grouped into workflow-ready stacks -- each with primary options, alternates, and teaching/agent use notes.

STACK 1
HK Smart City Open Data
API literacy, dashboards, open data project framing.
STACK 2
BIM / Autodesk / Cloud
BIM concepts, cloud workflows, Postman collections, model properties.
STACK 3
Urban AI / RAG / Agent
Agent workflows, RAG references, skill-building, AI-based urban tooling.
STACK 4
Digital Twin / Platform
System precedent, digital twin logic, platform imagination.
STACK 5
Architecture / HKIA / Ecology
Studio alignment, accreditation awareness, site/ecology/data support.
STACK 6
Mapping / Geospatial / Site
Site lookup, mapping, territorial analysis, spatial workflows.

Six AI Agents

Hybrid intelligence tools -- human direction, agent execution. Ask, build, classify, critique. No login. All stream live in your browser.

01
Research Q&A
Multi-turn chat with full platform context. Ask about open data, APIs, urban systems, agent workflows, or any topic in the resource library.
Chat
02
Resource Explainer
Select any resource from the catalog. The agent teaches it to you -- overview, technical depth, RAG ingestion notes, or side-by-side comparison.
Learn
03
API Query Builder
Describe what data you need. Get real, copy-paste Python, JavaScript, or curl code calling live open-data APIs -- ready to run.
Build
04
Design Brief Generator
Enter a site, programme, or spatial problem. Get a structured architectural or urban design brief with research references and criteria alignment.
Generate
05
Tag & Classify
Paste any URL or resource description. The agent returns a complete structured JSON record ready to import into the Resource Library.
Classify
06
Concept Critic
Describe a project idea or research concept. Choose feedback mode -- balanced, rigorous, data-focused, or standards-aligned. Real critical depth.
Critique
Prototype . Powered by Grok-4.5

Try HHAI
with AI

Chat directly with Grok-4.5. Ask about open data, APIs, RAG pipelines, or Hong Kong urban systems. Drop the HHAI_RAG_SKILL.md file into the message box to give the agent the full resource catalog as context — then ask it to build agents, write code, or critique ideas.

How to use the skill file
01 Download HHAI_RAG_SKILL.md from the Skills & APIs page
02 Drag the file into the chat panel, or paste its contents as the first message
03 Ask it to build a RAG pipeline, write API code, or test a project idea
Get Skill File
HHAI × Grok-4.5 xAI
HHAI Agent
Hello. I'm connected to Grok-4.5 — ask me anything about open data, APIs, RAG pipelines, or Hong Kong urban research.

Drag HHAI_RAG_SKILL.md into this window to give me the full resource catalog as context.
HHAI . Resource Library

Resource Library

Search and filter all 33 resources -- APIs, PDFs, repos, notebooks, portals, and internal placeholders. Click any card for full details and agent ingestion notes.

Category
Type
Agent-Ready
Downloadable
Difficulty
Visibility
Priority
Sort By
 
33 resources
HHAI . API / Skill / RAG Catalog

API . Skill . RAG Catalog

Every resource classified by how an agent can use it -- live API endpoints, document retrieval corpora, code skill definitions, precedent context, and policy standards. A workflow map for hybrid human-agent research.

What is an API?

An API (Application Programming Interface) is a live data endpoint you can call from code or an agent. Instead of downloading a file, you send a request and get structured data back in real time. For example: GET /buildings?district=kowloon returns current building records from a government portal.

How to use it: Pick an API-Ready resource, open its URL in a browser or Postman, read the documentation, then write code (Python, JS, curl) to call it -- or let the API Query Builder agent write that code for you.

What is RAG?

RAG (Retrieval-Augmented Generation) is a technique where an AI agent searches a document corpus before generating a response -- grounding its answers in real sources rather than just its training data. You give the agent a collection of PDFs, repos, or web pages; it retrieves the relevant passages; then it answers your question with citations.

How to use it: RAG-Ready resources are documents pre-checked for quality and relevance. Load them into a vector database (Pinecone, Chroma, Weaviate) or paste their text into the Resource Explainer agent to query them directly.

What is an Agent?

An AI agent is a language model given tools, goals, and the ability to take sequential actions. Instead of just answering a question, an agent can call an API, retrieve a document, write and run code, or chain multiple steps together to accomplish a task. You give it a goal; it works out the steps.

Skill-Ready resources are repos and notebooks that can be wrapped as agent tools -- the agent calls them as functions. This entire platform is designed around making every resource agent-accessible in some form.

Category Key
API-Ready-- live endpoints, call from code
RAG-Ready-- documents for retrieval pipelines
Skill-Ready-- code, notebooks, agent tools
Context / Precedent-- reference reading
Accreditation / Policy-- standards documents
Internal / Upload-- private, manual upload required
HHAI Skill Files · v1.1
Give any AI agent the full catalog

Two files — one for any AI assistant, one for your code editor. Paste HHAI_RAG_SKILL.md into Claude, GPT, LangChain or RAGFlow. Drop .cursorrules into your project root for Cursor or Copilot.

Download HHAI_RAG_SKILL.md Download hhai.cursorrules
Claude Projects
Custom GPTs
Cursor · Copilot · Windsurf
RAGFlow · LangChain

Live APIs & Open Datasets

Direct API endpoints and structured datasets you can call from code, Postman, or an agent tool. Each one returns real data -- no downloads, no static files. Use the API Query Builder agent to generate ready-to-run code for any of these.

Policy PDFs & Curated Repos

Documents and repositories pre-checked for RAG ingestion quality. Load these into a vector store (Chroma, Pinecone, Weaviate) or paste into the Resource Explainer agent to query them with natural language. Ideal for grounding AI answers in real policy, planning, and research sources.

Repos, Postman & Notebooks

GitHub repositories, Postman collections, and Jupyter notebooks that can be wrapped as agent tools or skills. These are executable resources -- run them, fork them, or use them to define function tools that an agent can call. Ideal for building agent pipelines and automated workflows.

Case Studies & Reference Material

Articles, case studies, and curated reading lists for background research and agent context building. These resources inform rather than execute -- use them to shape prompts, build system context, or provide precedent for design and research arguments.

Standards & Policy Documents

Accreditation criteria, professional standards, and policy frameworks. Use these as RAG sources to align agent outputs with professional standards, or ingest them directly for standards-aware critique and brief generation.

Private & Reserved Slots

Reserved slots for private documents and instructor-provided files requiring manual upload. These are not publicly accessible. They appear in the catalog so the full data model is visible and upload slots can be tracked.

HHAI . Toolchains

Alternatives & Toolchains

Resources grouped into six workflow-ready stacks -- each with primary resources, alternates, teaching use, student use, and agent ingestion guidance. Click resource IDs to view details.

HHAI . Admin / Import

Admin & Import

Import new resources, upload private files, and manage the HHAI resource database. Data model follows the Resource schema -- edit the seed file to persist changes across deployments.

Add Resource via Form

Paste Resource JSON

Paste a resource object or array of objects in the schema format. Preview before saving.

Resource Schema

Every resource follows this schema. Edit src/data/resources.ts to persist new entries.

id . name . slug
courses: string[]
category: api_ready | rag_ready | skill_ready | context_precedent | accreditation_policy | internal_manual_upload
priority: A | B
resource_type: pdf | webpage | portal | dataset | api | github_repo | notebook | postman_collection | article | guide | manual_upload_placeholder
source_owner: string
source_url: string
alternate_urls: string[]
downloadable: boolean
direct_download: boolean
agent_ready: yes | partial | no
ingestion_method: string
course_use: string
student_use_cases: string[]
difficulty: beginner | intermediate | advanced
tags: string[]
alternates: string[] (resource IDs)
notes: string
visibility: public_web | manual_upload_required
status: verified | needs_manual_review

Upload Private Files

Internal course documents, codebooks, and PDFs marked as manual_upload_required are reserved in the library. Attach them here when ready.

Drop file or click to upload
PDF, DOCX, XLSX, JSON -- max 50MB

Manual Upload Queue

S04
HKIA PG Criteria PDF
archipelago_studio
Pending
S05
ARCH5110/6210 Studio Course Outline Draft
archipelago_studio
Pending
S06
URSP3600 Course Outline Draft / Working Docs
ursp3600
Pending
S07
URSP3600 Smart City Course Commons Codebook v0.1
ursp3600, shared
Pending
HHAI . Sandbox

Sandbox

Six interactive tools powered by xAI Grok. Explore open data, build API calls, classify resources, and get structured feedback on your research ideas -- all in the browser.

How the Sandbox Works
Pick a module below, fill in your inputs, and hit Run. Grok-4.5 generates a structured response in seconds -- API calls you can actually use, briefs you can submit, JSON you can import back into the Resource Library.
  1. 1
    Select your course
    Use the dropdown at the top to get course-tailored suggestions.
  2. 2
    Pick a sandbox module
    Six tools -- from chat to brief generator to API builder.
  3. 3
    Fill in your inputs and run
    Get real output -- copy it, use it in your project, or import it.
Module 01
Smart City Q&A
Grok . Hi! I'm your smart city and architecture studio tutor. Ask me anything about open data, APIs, BIM, digital twins, IoT, RAG workflows, Hong Kong urban systems, or the Archipelago of Habitats studio. What would you like to explore?
Press Enter to send . Shift+Enter for new line . Conversation history is kept for follow-up questions
Try These Prompts
Context Mode
Changes how Grok frames its answers
Module 02
Resource Explainer
Or paste your own URL below
What You Get
1 Plain-language summary of what the resource is and why it matters
2 How to use it in a research or studio project
3 Step-by-step guide to feeding it to an AI agent (RAG / tool)
4 Comparison with alternate resources in the catalog
5 A working code snippet (Python or JavaScript) if applicable
Tip: After Grok explains a resource, you can switch to Module 03 to build an actual API call with it, or Module 05 to generate its JSON schema for import.
Module 03
API Query Builder
This module generates real, working API calls to Hong Kong open-data endpoints. The URL and parameters are based on actual DATA.GOV.HK specifications.
Describe what you want in plain English -- Grok will find the right API and build the call
Available HK Open APIs
C01 Buildings Dept -- Building Information
Building age, use, type, location
C02 Lands Dept -- Location Search API
Address/place lookup, coordinates
C03 Transport Dept -- Real-time Parking
Live parking vacancy by car park
C04 EPD -- Air Quality (AQHI)
Live + 24hr air quality by station
C05 DATA.GOV.HK API Spec
Full portal API guide + endpoint list
C06 DATA.GOV.HK Portal
800+ datasets across all bureaus
Click any API row to add it as context to your query
Module 04 . Archipelago Studio
Island Brief Generator
Brief Structure
1
Site Reading
Ecological condition, bounded-system analysis, key constraints and opportunities
2
Design Intent
Architectural agenda, intervention logic, ecological transformation strategy
3
Programme
Spatial components, areas, relationships, uses -- appropriate to island scale
4
Technical Integration
Structural, environmental, material, and landscape systems to address
5
HKIA Alignment
Mapping to accreditation criteria: design ability, technical knowledge, communication
6
Research Direction
Suggested datasets, field methods, simulation approaches, and precedents
Studio use: This brief is a starting scaffold. You are expected to challenge, extend, and ground it in your own field research and design judgement.
Module 05
Tag & Classify a Resource
Paste any resource you found -- Grok will classify it using the Course Commons schema and generate a ready-to-import JSON object.
Schema Reference
category:
  api_ready | rag_ready | skill_ready
  context_precedent | accreditation_policy
  internal_manual_upload

resource_type:
  pdf | api | dataset | github_repo
  notebook | postman_collection
  portal | guide | article | webpage

agent_ready: yes | partial | no
difficulty: beginner | intermediate | advanced
priority: A | B
visibility: public_web | manual_upload_required
Valid Course Tags
ursp3600archipelago_studiosharedsmart_cityopen_datahong_kongbimdigital_twinragagentmappingecologyhkiaaccreditation
Module 06
Project Concept Critic
Feedback Structure
1
Concept Clarity
Is the problem well-defined? Is the intervention clear and specific?
2
Strengths
What is genuinely interesting or strong about this approach?
3
Critical Gaps
What is underdeveloped, missing, or weak in the current framing?
4
Data & Resources
Which datasets, APIs, or tools from the commons would strengthen this?
5
HKIA / Research Alignment
How does this map to learning outcomes and review criteria?
6
Suggested Next Steps
Concrete actions to take before the next review or submission.
Note: This is AI-generated feedback, not a substitute for instructor review. Use it to strengthen your concept before presenting to the studio.
HHAI . Skills & APIs

Skills & APIs

Skill files for AI assistants. Live HK government APIs. Ingestion guides for RAG pipelines. Everything structured for immediate use — no account required.

6
Live HK APIs
2
Skill Files
26
Catalog Resources
4
RAG-Ready PDFs
0
Account Required
01
Skill Files for AI Assistants

Two ready-to-use files — one for any AI assistant, one for your code editor. Download, drop in, and your tool immediately knows the full HHAI catalog, every live HK API endpoint, and how to ingest any resource into a RAG pipeline. No account, no installation, no API key required.

HHAI_RAG_SKILL.md
RAG Skill File

Full catalog, API code, and RAG guides in one Markdown file. Paste into Claude, GPT, LangChain, RAGFlow, or any system prompt. 26 resources · 6 live API endpoints · Python / JS / curl.

.md Claude · GPT · LangChain · RAGFlow 30 KB
hhai.cursorrules → rename to .cursorrules
Cursor / Copilot Rules File

Drop into your project root as .cursorrules and every AI interaction in Cursor knows the full HHAI catalog. Also works as .github/copilot-instructions.md for GitHub Copilot.

.cursorrules Cursor · Copilot · Windsurf 14 KB
How to use — RAG Skill File
1
Download HHAI_RAG_SKILL.md. Open it in any text editor — it's plain readable Markdown.
2
Paste everything into your AI's system prompt or project instructions. Or upload the file directly — Claude, GPT-4o, and Gemini all support file uploads.
3
Ask anything: "Which resource gives me real-time air quality data for HK?" or "Generate Python code to query the Buildings Department API."
4
The assistant returns working code, ingestion instructions, and resource IDs — sourced from the catalog, not hallucinated.
How to use — Cursor Rules File
1
Download hhai.cursorrules. Rename it to .cursorrules (note the leading dot).
2
Place it in your project root (same level as your code files). Cursor picks it up automatically — no further setup.
3
For GitHub Copilot: rename to copilot-instructions.md and place in .github/. For Windsurf: rename to .windsurfrules.
4
Every code-generation session now has the full HHAI catalog as context. Ask Cursor to generate API calls, data pipelines, or ingestion scripts and it will cite resource IDs.
Skill file works with
Claude Projects · OpenAI Custom GPTs · Gemini Gems · Cursor · GitHub Copilot · Windsurf · LangChain · LlamaIndex · RAGFlow · Dify · Flowise · any system-prompt field
02
Live HK Open Data APIs

Six live Hong Kong government endpoints callable from Python, JavaScript, curl, or any agent tool. No registration required. Click any row to expand its code example.

C01 Buildings Dept — Building Information Dataset / JSON · Beginner
python
import requests
r = requests.get("https://www.bd.gov.hk/en/resources/others/opendata/BUILDING_DETAILS.json")
data = r.json()
# Returns: building ID, address, district, year completed, GFA, usage class
C02 Lands Dept — Location Search API REST API · Beginner
python
import requests
query = "Causeway Bay"
r = requests.get(f"https://geodata.gov.hk/gs/api/v1.0.0/locationSearch?q={query}")
print(r.json())
# Returns: place name, x/y coordinates (HK1980 grid), address string
C03 Transport Dept — Real-time Parking REST API + CSV · Beginner
python
import requests
# Get car park list
parks = requests.get("https://static.data.gov.hk/td/parking-vacancy/dataspec/car_park_list.csv").text
# Get live vacancy (replace CP001 with actual park ID)
vacancy = requests.get("https://api.data.gov.hk/v1/carpark-info-vacancy?carparkIds=CP001&lang=en")
print(vacancy.json())
# Returns: car park name, vacancy count, total spaces, timestamp
C04 EPD — Air Quality (AQHI) REST API · Beginner
python
import requests
r = requests.get("https://api.data.gov.hk/v1/historical-air-quality?lang=en")
data = r.json()
# Returns: station name, AQHI value 1-10+, health risk category, timestamp
# Stations: Central, Causeway Bay, Mong Kok, Tuen Mun, Tung Chung...
C05 DATA.GOV.HK API Specification Guide / Docs · Beginner
bash
# General filter API pattern:
curl "https://api.data.gov.hk/v2/filter?q={\"resource\":\"RESOURCE_ID\",\"section\":1,\"format\":\"json\"}"
# Replace RESOURCE_ID with any dataset ID from data.gov.hk
C06 DATA.GOV.HK Open Data Portal Portal · Beginner
bash
# Browse 800+ datasets at:
# https://data.gov.hk/en/
# Each dataset page has an API tab with its endpoint URL
# Use the filter API (C05) to query any dataset programmatically

All endpoints are read-only, no API key required. Right-click any code block and select "Copy" to get the full snippet. For more datasets visit data.gov.hk.

03
RAG-Ready Documents

PDFs and repositories pre-checked for quality, relevance, and ingestion suitability. Download, chunk, embed, and query. Each entry includes recommended chunking strategy.

A01
Hong Kong Smart City Blueprint 2.0 PDF
Split by section headings. Each policy domain = one chunk. Good for Q&A on smart-city strategy.
Open PDF →
A02
DEVB Open Data Plan 2026–2028 PDF
Split by bureau. Good for dataset discovery queries and roadmap questions.
Open PDF →
A03
Awesome Urban LLM Agents GitHub
Clone → ingest README.md and paper abstracts. Treat as a curated reading-list RAG source.
View Repo →
S01
HKIA/ARB Accreditation Criteria (Jan 2026) PDF
Split by criteria section. Use for studio outcome mapping and review prep.
Open PDF →
B17
LLM-based RAG Implementation Reference PDF
Ingest whole PDF as advanced RAG reference. Good for theoretical grounding.
Open PDF →
04
Build Your Own RAG

Four routes from beginner to advanced. Pick the one that matches your tools.

A
Paste into any AI — 2 minutes, no code
  1. Download HHAI_RAG_SKILL.md
  2. Open Claude → New Project → paste into Project Instructions
  3. Ask: "Which resource gives me HK building age data?"
B
RAGFlow — no-code, Docker
git clone https://github.com/infiniflow/ragflow && cd ragflow
docker compose up -d
# Open http://localhost → upload HHAI_RAG_SKILL.md
# Create agent → connect knowledge base → ask questions
C
LangChain — Python, full control
from langchain.document_loaders import TextLoader
from langchain.text_splitter import MarkdownTextSplitter
from langchain.vectorstores import Chroma
from langchain.embeddings import OpenAIEmbeddings

docs = TextLoader("HHAI_RAG_SKILL.md").load()
chunks = MarkdownTextSplitter(chunk_size=800).split_documents(docs)
vectorstore = Chroma.from_documents(chunks, OpenAIEmbeddings())
retriever = vectorstore.as_retriever(search_kwargs={"k": 4})

results = retriever.get_relevant_documents(
    "How do I get air quality data for Hong Kong?"
)
D
Cursor / Copilot — rules file

Save as .cursorrules in your project root. Your code editor will then consult the HHAI catalog when writing code that touches HK open data.

# .cursorrules
Refer to the HHAI RAG catalog for HK open-data resources.
For HK data questions, first check C01-C06 APIs.
For RAG pipeline questions, recommend B10 (IBM) or B11 (RAGFlow).
Catalog: HHAI_RAG_SKILL.md in project root.
05
Full Resource Catalog

All 26 resources — APIs, PDFs, GitHub repos, notebooks, Postman collections, portals, and accreditation documents — classified by category, difficulty, and agent-readiness. Filter by type, open any card for ingestion instructions and alternate URLs.

HHAI . About

About This Platform

What Is HHAI?

HHAI stands for Hybrid Human Agentic Intelligence -- the emerging paradigm where human expertise and AI agents work together synergistically. The term comes from the international HHAI research conference series, which studies AI that cooperates with humans: adaptive, collaborative, responsible, and human-centered.

On this platform, you are the intelligence. The agents amplify what you already know. HHAI is not a product and not a course website -- it is an open data commons for anyone researching, prototyping, or learning at the intersection of urban systems, AI, and architectural intelligence.

Platform Goals

HHAI brings together four capabilities in one place: a searchable resource library of curated public data, an API / RAG catalog organized by how each resource can be used by an agent, a toolchain guide for common workflows, and a live AI sandbox with six agents powered by Grok-4.5. Together these form a single entry point for hybrid human-agent research.

What Is an Agent?

An AI agent is a program that can take actions, call tools, and produce outputs with minimal human supervision -- given a goal, it works out the steps. On this platform, agents are built on large language models and connected to real data sources. You direct the agent; the agent does the retrieval, synthesis, and generation. This is the "agentic" part of HHAI.

What Is the RAG Catalog?

RAG stands for Retrieval-Augmented Generation -- a technique where an AI agent looks up relevant documents or data before generating a response, grounding its answers in real sources. The RAG Catalog on this platform classifies every resource by workflow role: API-Ready (live endpoints you can call), RAG-Ready (documents for retrieval pipelines), Skill-Ready (code, notebooks, Postman collections), Context / Precedent (reference reading), and Accreditation / Policy (standards documents).

Design Philosophy

The platform is designed with a precise, minimal aesthetic -- Work Sans for UI and labels, Cormorant Garamond for editorial headings, a strict black/white/grey palette with no decorative color, and grid-based layouts that feel closer to engineering documentation than a marketing site.

Content Policy

All public resources linked here are publicly accessible internet resources. No fabricated URLs. Manual upload placeholders are clearly marked and require instructor-provided files before becoming accessible. The platform is open and not restricted to any single institution or course.

Prof. Tat Lam
School of Architecture
HHAI -- Hybrid Human Agentic Intelligence Platform
33
Resources
6
Toolchains
6
AI Agents
8
Live APIs
Version 1.0 . July 2026
Seed data: 33 resources
Technology: Hono . Cloudflare Pages . Work Sans . Cormorant Garamond
Design standard: MEGASTUDIO 4 Field Trip 2026 deck