How‑to guides for scopes
This page introduces the guides for building, testing, and running agent‑backed scopes in nullplatform. Use the links below to jump straight into the reviewed guides in our Tutorials section.
Quick links
- Tutorials hub
- Run a scope locally
- Set up a production‑ready Kubernetes scope
- Deploy a production‑ready scheduled task (CronJob)
Repositories used in the tutorials
We provide two public repositories to help you move smoothly from local experiments to production:
- Local setup scope repository — a minimal, hands‑on scope to try things locally and learn the basics.
- Scopes repository — production‑oriented templates (Kubernetes and more) you can adopt and extend.
Both follow a similar layout, so it’s easy to start locally and later switch to production with minimal changes.
Typical layout
scopes/
├── k8s/ # Kubernetes-specific implementation
│ ├── scope/ # Scope lifecycle actions
│ │ └── workflows/
│ │ ├── create.yaml
│ │ ├── update.yaml
│ │ └── delete.yaml
│ ├── deployment/ # Deployment strategies (initial, blue_green, ...)
│ │ └── workflows/
│ │ ├── initial.yaml
│ │ ├── blue_green.yaml
│ │ └── ...
│ └── ...
├── service # Routes actions based on NP_ACTION_CONTEXT
├── agent/ # Agent deployment scripts
├── configure # Configuration script
└── entrypoint # Main execution script
Looking for the detailed steps? Visit the Tutorials hub.