APEX Developers

Client-Repo Conventions

How to structure the repository of an APEX-powered platform. These conventions come from running multiple venture builds on APEX; following them keeps your integration reviewable, your credentials safe, and your platform aligned with the engine as it evolves.

What belongs in your repo — and what does not

Apply the Engine/Client Split to the repository itself:

In your repo Not in your repo
Domain agents, prompts, and pipeline definitions Retrieval/search infrastructure
Your users, identity, and access model Document rendering or PDF engines
Workflow, stage gates, dashboards Claim-verification logic
Your API + backend-for-frontend that calls APEX Messaging-provider integrations
Thin, typed APEX client wrappers Vendor LLM SDKs (use the platform's agent execution / LLM dispatch so cost metering stays unified)

If you find yourself building a capability the product chapters already describe, stop and consume it instead.

The docs/apex-adr/ folder

Every APEX client platform carries a docs/apex-adr/ folder — the standing record of how this platform uses APEX:

Ask your platform contact for the reference template. This folder is what a new engineer — or an APEX support engineer — reads first.

Credentials and environments

Configuration over code

Models, channels, templates, and verification behaviour are tenant configuration held by Forge, not constants in your code. Consume them as runtime state: your application should tolerate entitlements appearing, changing, or disappearing between calls without a redeploy (Tenancy rules). Hardcoding a model name or channel list into your codebase is the most common way client platforms drift.

Contract pinning

Runtime discipline