actx init
actx init
Section titled “actx init”Initialize AgentCTX in the current project directory.
actx initWhat It Does
Section titled “What It Does”-
Creates the
.context/directory structure:.context/├── actx.yaml # Gateway configuration├── objects/ # Content-addressed object store├── refs/ # Reference pointers├── translations/ # Signed sidecar translations└── logs/ # Operation audit logs -
Generates an Ed25519 signing keypair at
.context/.keys/:.context/.keys/├── ed25519.key # Private key└── ed25519.pub # Public key -
Generates a project salt for convergent encryption:
- With
OP_SERVICE_ACCOUNT_TOKENset: fetches salt from 1Password vault - Without it: generates a local
project.saltfile (with a security warning)
- With
-
Creates a default
actx.yamlconfiguration with all seven planes enabled
Default Configuration
Section titled “Default Configuration”version: "0.1.0"project: my-project-namebackends: []planes: tools: enabled: true knowledge: enabled: true sources: ["docs/", "src/"] skills: enabled: true sources: [".agent/"] memory: enabled: trueEnvironment Variables
Section titled “Environment Variables”| Variable | Effect |
|---|---|
OP_SERVICE_ACCOUNT_TOKEN | If set, fetches project salt from 1Password vault instead of generating locally |
Example
Section titled “Example”$ cd my-project$ actx init🔧 Initializing AgentCTX...
✅ Created .context/ directory structure ✅ Generated Ed25519 signing keypair ✅ Generated project salt (scoped CE) ✅ Created actx.yaml configSee Also
Section titled “See Also”- actx add — register an MCP backend
- actx start — start the gateway
- Configuration — full config reference