One platform layer
Agency OS owns connections, permissions, context, capabilities, evidence, visibility, and audit rather than duplicating them in each interface.
Working product and operating vision
The intended Agency OS destination: governed access to agency platforms, role-specific workspaces, safe human delivery, and a resilient production operating model.
Agency OS is the agency's governed operating layer. It centrally connects platforms, client and prospect context, intelligence, work, evidence, permissions, and audit. Consultants and their agents use those capabilities within bounded authority; clients, sales, management, and administrators receive purpose-built views over the same controlled system.
Agency OS owns connections, permissions, context, capabilities, evidence, visibility, and audit rather than duplicating them in each interface.
Each user sees the decisions and workflows needed for their role without inheriting another role's access or internal detail.
AI prepares analysis and recommendations; accepted delivery work moves into Asana for accountable human execution.
Future state This page records intended direction and requirements. It does not claim these interfaces, permissions, backups, or recovery procedures are live today.
| Surface | Primary job | Intended scope |
|---|---|---|
| Consultant agent gateway | Let a consultant use their preferred AI agent with Agency OS capabilities. | Short-lived, consultant-scoped authority limited by assigned clients, allowed platforms, action class, risk, cost, and approval policy. |
| Consultant workspace | Operate a portfolio and drill into each client. | Client health, connected data, strategy, reports, recommendations, work requests, review, visibility decisions, and conversion of accepted recommendations into Asana delivery. |
| Client dashboard | Create confidence, alignment, and useful service visibility. | Only consultant-approved reports, performance views, strategy, completed work, priorities, caveats, and next steps. No raw agent activity or internal commentary. |
| Sales workspace | Research prospects and progress opportunities. | Prospect intelligence, reports, call lists, pipeline, pitch preparation, follow-up, and controlled conversion from prospect to onboarding. |
| Management workspace | See agency delivery, commercial, capacity, and client risk. | Hours against retainers, over/under-servicing, client performance, delivery progress, workload, retention risk, exceptions, and explainable intervention signals. |
| Admin workspace | Control the system rather than deliver client work. | Identities, assignments, connections, permissions, capabilities, approval policy, costs, data health, audit, incidents, offboarding, and recovery controls. |
Example: a consultant may read Google Ads performance for assigned clients while campaign, budget, targeting, deletion, and publishing actions remain unavailable.
The consultant requests work from a client workspace, such as a GA4 report and prioritised recommendations.
Agency OS checks identity, client assignment, available sources, permissions, cost, risk, and required approvals.
The selected agent or workflow gathers data, preserves provenance, and creates a versioned report or recommendation artifact.
The consultant accepts, edits, rejects, supersedes, or approves selected material for client visibility.
Accepted recommendations requiring human work become structured Asana tasks with evidence, ownership, timing, and traceability.
Agency OS tracks completion, resulting performance, hours consumed, and what should be visible to the client and management.
Production was intentionally used during discovery so real client data could validate the domain shape. Before routine staff use, development must move to isolated resources.
| Environment | Data | Permitted use |
|---|---|---|
| Local and CI | Fixtures and mocks only. | Fast development, unit/contract tests, migration replay, security checks, and deterministic failure cases. |
| Staging | Synthetic or approved anonymised data in separate Workers, D1, R2, Queues, Workflows, Durable Objects, and secrets. | End-to-end testing, migration verification, permission tests, recovery drills, and candidate acceptance. |
| Production | Real client and prospect data with production-only credentials. | Human-approved releases from the exact accepted main commit, production-safe canaries, and monitored operation. |
Use D1 and SQLite Durable Object point-in-time recovery, release bookmarks, kill switches, write quarantine, and compatible Worker rollback.
Export D1 to a dedicated R2 backup bucket with unique keys, manifests, checksums, retention policy, and bucket locks against overwrite or deletion.
Keep encrypted critical backups and infrastructure manifests outside the production account, with separately controlled credentials and a tested rebuild path.
| State class | Recovery expectation | Design rule |
|---|---|---|
| Source and configuration | Rebuild from accepted Git history and a versioned infrastructure manifest. | Production must not depend on one laptop or undocumented dashboard configuration. |
| D1 control-plane data | Point-in-time recovery plus scheduled exports retained beyond the platform PITR window. | Restore is destructive and human-gated; quarantine writes and preserve the pre-restore bookmark. |
| R2 evidence and artifacts | Content-addressed objects, retention policy, bucket locks, integrity manifests, and protected backup copies. | Provider durability does not protect against authorised deletion or account compromise. |
| In-flight agents and workflows | Reconcile from durable D1/R2 intent, result, and outbox records. | Queues, sessions, and workflow execution are never the only system of record for committed work. |
| Secrets and provider access | Recreate from the approved secret manager and rotate after compromise. | Secret values do not belong in database exports, source, docs, logs, or generated artifacts. |
Initial recovery objective: no more than one hour of data loss and service restoration within four hours, proven by a restore drill rather than assumed from documentation.
Create isolated staging, remove live preview bindings, replace Basic Auth, automate protected backups, and prove the first restore.
Expose assigned clients, read-only capabilities, structured requests, report history, recommendations, and review decisions.
Create human delivery tasks only from accepted recommendations, preserving client, source, artifact, scope, capacity, and approval lineage.
Add curated client visibility, prospect workflows, pipeline and call lists, hours, client health, performance, capacity, and intervention views.
Expand selected users and capabilities from read to draft and controlled execution only after measured quality, audit, recovery, and approval evidence.