Skip to content

Repository files navigation

agent-cloud-context-base (accb)

agent-cloud-context-base (accb) is a context-first foundation for generating and running assistant-friendly cloud-native backend repositories across serverless functions, managed containers, Kubernetes platforms, and explicit Infrastructure as Code surfaces.

Start Here By Goal

GoalRead firstDoc of the dayCLI command
Understand the baseAGENT.mddocs/context-boot-sequence.mdpython3 scripts/work.py resume
Generate a new repoAGENT.mddocs/usage/STARTING_NEW_PROJECTS.mdpython3 scripts/new_cloud_repo.py --help
Turn a workload scenario into a profilecontext/router/scenario-router.mdcontext/workflows/plan-scenario-derived-repo.mdpython3 scripts/accb_payload.py --help
Work inside a generated repo.accb/SESSION_BOOT.md in the derived repodocs/usage/ASSISTANT_BEHAVIOR_SPEC.mdpython3 .accb/scripts/accb_verify.py
Browse canonical examplesexamples/README.mdexamples/catalog.jsonpython3 scripts/verify_examples.py --family canonical-aws-lambda
Verify the repoverification/README.mddocs/ARCHITECTURE_MAP.mdpython3 scripts/run_verification.py --tier fast

What Problem It Solves

  • Assistant drift: context/accb/profile-rules.json, routers, and manifest bundles keep sessions tied to a declared provider, runtime tier, language, and IaC tool.
  • Repo intent rediscovery: scripts/work.py resume, checkpoints, and memory artifacts make session state explicit instead of forcing each assistant to infer the repo from scratch.
  • Pattern improvisation: canonical examples, scenario patterns, stack packs, and workflows point assistants at proven cloud patterns before they invent a new one.
  • Opaque generation: generated repos receive a .accb/ payload with profile selection, validation gates, specs, and a boot document that explains what was composed and why.

Canonical Examples

FamilyWhat it showsProvidersLanguagesIaC toolsCatalog entry
canonical-aws-lambdaAWS Lambda event and HTTP handlers with replay, secrets, and dev/test isolationawsgo, python, typescriptPulumi Go/Python/TypeScript, Terraformexamples/catalog.json
canonical-gcp-functionsGCP Cloud Functions for storage, HTTP, Pub/Sub, Eventarc, and Firebase triggersgcpgo, python, typescriptPulumi Go/Python/TypeScript, Terraformexamples/catalog.json
canonical-azure-functionsAzure Functions with Blob, Service Bus, Cosmos change feed, and Event Grid triggersazuredotnet-isolated, python, typescriptPulumi .NET/Python/TypeScript, Terraformexamples/catalog.json
canonical-cloud-runCloud Run APIs, workers, jobs, and sidecarsgcpgo, python, typescriptPulumi Go/Python/TypeScript, Terraformexamples/catalog.json
canonical-app-runnerApp Runner services with VPC connector and onboarding flowsawsgo, pythonPulumi Go/Python, Terraformexamples/catalog.json
canonical-container-appsAzure Container Apps APIs, workers, jobs, and Dapr binding patternsazuredotnet-aspnet, python, typescript-honoPulumi .NET/Python/TypeScript, Terraformexamples/catalog.json
canonical-eks, canonical-gke, canonical-aksMulti-role Kubernetes platforms with API, worker, job, cron, Helm, Kustomize, and IaCaws, gcp, azuredotnet, go, python, typescriptPulumi .NET/Go/Python/TypeScript, Terraformexamples/catalog.json
canonical-iac-terraformProvider-specific Terraform module starters with disjoint dev/test stateaws, azure, gcpterraformTerraformexamples/catalog.json
canonical-iac-pulumiPulumi starters across providers and languagesaws, azure, gcpdotnet, go, python, typescriptPulumi .NET/Go/Python/TypeScriptexamples/catalog.json
canonical-eventing, canonical-observability, canonical-secrets, canonical-promptsCross-cutting reference packs for eventing, telemetry, secrets, and prompt-first deliverymultimulti, textreferenceexamples/catalog.json

Detailed tier status lives in verification/example_registry.yaml.

Scenario Catalog

context/scenarios/ distills the excellent-cloud prompt catalogs into workload patterns. Start with context/scenarios/scenario-profile-map.yaml, route natural-language prompts through context/router/scenario-router.md, then execute context/workflows/plan-scenario-derived-repo.md to turn a scenario into a concrete profile.

First-Class Coverage

ProviderFunctionManaged containerKubernetesIaC
AWSLambda: Python, TypeScript, GoApp Runner: Python FastAPI, Go EchoEKS: Python, GoTerraform, Pulumi TypeScript/Python/Go
GCPCloud Functions: Python, TypeScript, GoCloud Run: Python FastAPI, Go Echo, TypeScript Hono, jobs, sidecarsGKE: Python, GoTerraform, Pulumi TypeScript/Python/Go
AzureAzure Functions: Python, TypeScript, .NET isolatedContainer Apps: Python FastAPI, .NET ASP.NET, TypeScript Hono, Dapr, jobsAKS: .NET, TypeScriptTerraform, Pulumi TypeScript/Python/.NET

See docs/provider-parity-matrix.md for the full support matrix and deferred cells.

Docs Index

AreaDocs
Architecture and designdocs/ARCHITECTURE_MAP.md, docs/architecture/ASSISTANT_RUNTIME_MODEL.md, docs/architecture/CONTEXT_ENGINEERING_GUIDE.md
Operator usagedocs/usage/STARTING_NEW_PROJECTS.md, docs/usage/SPEC_DRIVEN_ACCB_PAYLOADS.md, docs/usage/ADVANCED_ASSISTANT_OPERATIONS.md, docs/usage/ASSISTANT_BEHAVIOR_SPEC.md
Session startup and continuitydocs/session-start.md, docs/context-boot-sequence.md, docs/runtime-state-workflow.md, docs/memory-layer-overview.md
Arc overviewsdocs/functions-arc-overview.md, docs/containers-arc-overview.md, docs/kubernetes-arc-overview.md
Referencedocs/repo-purpose.md, docs/repo-layout.md, scripts/README.md, manifests/README.md, verification/README.md
Isolation and paritydocs/iac-isolation-contract.md, docs/provider-parity-matrix.md

Verification Commands

python3 scripts/validate_context.py
python3 scripts/validate_manifests.py
python3 scripts/validate_iac_isolation.py <iac-dir>
python3 scripts/run_verification.py --tier fast
python3 scripts/run_verification.py --tier medium --update-registry
python3 scripts/accb_payload.py --archetype cloud-function-repo \
--primary-stack aws-lambda-python --primary-language python \
--provider aws --runtime-tier function--iac-tool pulumi-python \
--manifest func-aws-lambda-python --output-dir /tmp/accb-smoke

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages