Project folders and generated files
An Agentic Development Kit (ADK) workspace contains two organizational levels: the project root and individual Web Viewer application directories.
Workspace structure
my-project/ # Project root
├── AGENTS.md
├── adk.json # File and app registry
├── package.json # Workspace root
├── pnpm-workspace.yaml
├── vendor/@adk/fmdapi/ # Shared ADK JavaScript library
└── webviewer-apps/
├── dashboard/ # App directory
│ ├── adk.config.json # Typegen configuration
│ ├── package.json
│ └── src/
└── reports/ # Additional app directory
├── adk.config.json
├── package.json
└── src/
Project root: Manages configuration and file registration. adk.json records connected FileMaker files and registered web applications. Projects initialized with adk init contain no npm dependencies until the first Web Viewer app is added.
App directories: Contain web application source code. React components, TypeScript files, Tailwind CSS stylesheets, and build settings live in webviewer-apps/<app>/src/.
Note Configuration file roles: adk.json resides at the project root and registers connected files and applications. adk.config.json resides inside each app folder and configures Typegen layout schemas.
Adding an app
Prompt your coding agent from any directory within the project:
Add a web viewer app called dashboard to this project.
When creating the initial app, ADK initializes the workspace root (package.json, workspace configuration, and the vendored @adk/fmdapi library). Subsequent apps reuse these shared assets. See Multiple apps.
Shared workspace resources
Applications within a project operate as pnpm workspace members and share:
-
The vendored library: Committed at
vendor/@adk/fmdapirather than managed as an npm registry package. Update it usingadk update. -
The workspace root: A single
package.jsonand lockfile managing dependencies across all apps. -
The file registry:
adk.jsontracks connected databases accessible to workspace applications.
Each app maintains its own adk.config.json, generated clients, and dist/index.html build output.
Command execution paths
While coding agents run adk commands automatically, commands must execute from the appropriate working directory:
| Command | Working directory |
|---|---|
adk init
|
Parent directory (or target folder using adk init .) |
adk connect
|
Any project directory |
adk components apply / status / reconcile / remove |
Any project directory |
adk doctor
|
Any project directory (or globally for system checks) |
adk app add
|
Any project directory |
adk layout add
|
Any project directory |
adk typegen
|
App directory (reads adk.config.json) |
adk update
|
App directory |
pnpm dev, pnpm build, pnpm check |
App directory |
Version control guidelines
adk init initializes a Git repository by default:
-
vendor/is tracked: Storing vendored source ensures project data access remains pinned to tested library versions. -
node_modules/is ignored: Managed dynamically by pnpm and excluded from version control.
See GitHub workflow for Git collaboration practices.
Related topics
-
Preview and edit an app—Manage iterative development workflows.
-
Use a typed data client—Work with generated Data API clients.
-
Multiple apps—Configure multiple applications in a workspace.