Data handling
What GitAgent processes
GitAgent processes:- The user’s input (the prompt sent to the agent)
- Skill inputs and outputs (data passed to and returned from your skills)
- LLM prompts and responses (sent to your configured model provider)
- Memory contents (if memory is enabled)
- Send data to Lyzr’s servers unless you explicitly configure the Lyzr memory provider or LangShip telemetry
- Store any data without explicit configuration
- Log sensitive data unless telemetry is enabled
Data residency
GitAgent runs entirely on your infrastructure. By default:- No data leaves your environment
- Model API calls go directly from your infrastructure to your chosen model provider
- Memory is stored locally or in a database you control
provider: lyzr), memory data is stored in Lyzr’s cloud. For full data residency, use provider: local or a custom memory backend connected to your own database.
Access control
Filesystem access
Skills run as the same OS user as the GitAgent process. Restrict filesystem access using OS-level permissions. For tighter control, set allowed paths inagent.yaml:
Outbound HTTP
Restrict which URLs skills can call:Skill-level permissions
Require confirmation before executing sensitive skills:Audit logging
Enable structured audit logs for all skill calls:PII and data redaction
Redact sensitive patterns from skill inputs/outputs before they’re logged or sent to telemetry:Input validation
Block unsafe inputs at the agent boundary using hooks:Environment secrets
Never put secrets directly inagent.yaml. Use environment variables:
.env files.
Self-hosting checklist
For production self-hosted deployments:- Run GitAgent as a dedicated non-root OS user
- Set
tools.http.block_private_ips: trueto prevent SSRF - Configure
tools.file_ops.allowed_pathsto restrict filesystem access - Enable audit logging with
audit.enabled: true - Use a secrets manager for API keys
- Enable telemetry to a self-hosted LangShip instance for observability
- Set
execution.timeoutto bound maximum run time - Set
execution.max_iterationsto bound the agent loop - Disable
code_execunless explicitly needed