Credentials
The CLI reads.env.local (then .env) in the current directory:
result --url <url> --key <key> <command>.
result init
Run this once per project, first. It:
- Verifies the credentials against the live backend.
- Writes the backend rules into
AGENTS.md(creating or updating a marked section - safe to re-run). - Creates
CLAUDE.mdpointing atAGENTS.mdif you don’t have one.
AGENTS.md and knows the SDK,
the CLI, and the rules without being told.