You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8a6959f
Browse filesBrowse the repository at this point in the historyBrowse files
Contributions are welcome! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
731
731
732
+
## ❓ FAQ
733
+
734
+
### General
735
+
736
+
**What is Gitclaw?**
737
+
Gitclaw (formerly GitAgent) is a git-native AI agent framework where the agent IS a git repository. Identity, rules, memory, tools, and skills are all version-controlled files, enabling "agents as repos" paradigm.
738
+
739
+
**How does Gitclaw differ from other agent frameworks?**
740
+
Unlike frameworks that scatter configuration across application code, Gitclaw makes the agent itself a git repo:
741
+
- Fork an agent → inherit personality, rules, tools
742
+
- Branch → create alternate personality versions
743
+
- `git log`→ see agent's memory evolution
744
+
- Diff → track rule changes over time
745
+
746
+
**What is the "agents as repos" concept?**
747
+
Your agent lives in a git repository with structured files:
748
+
- `agent.yaml`— model, tools, runtime config
749
+
- `SOUL.md`— personality and identity
750
+
- `RULES.md`— behavioral constraints
751
+
- `memory/`— git-committed memory with full history
752
+
- `tools/`— declarative YAML tool definitions
753
+
- `skills/`— composable skill modules
754
+
- `hooks/`— lifecycle hooks
755
+
756
+
### Installation & Setup
757
+
758
+
**What are the requirements?**
759
+
Node.js 18+ (or 20+ recommended), npm, and git. Install globally with `npm install -g gitclaw`.
Hooks are lifecycle scripts or programmatic handlers in `hooks/` directory. They trigger on agent events like tool execution, session start/end, or memory updates.
798
+
799
+
### Development
800
+
801
+
**How do I create custom tools?**
802
+
Define tools in `tools/` directory using declarative YAML format. Each tool specifies name, description, parameters, and execution logic.
803
+
804
+
**How do I add skills?**
805
+
Create skill modules in `skills/` directory. Skills are composable and can be imported from installed packages or defined locally.
806
+
807
+
**What telemetry options are available?**
808
+
OpenTelemetry integration for observability:
809
+
- Set `OTEL_EXPORTER_OTLP_ENDPOINT` for auto-enable
810
+
- Use `OTEL_TRACES_EXPORTER=console` for local debugging
811
+
- Jaeger quickstart with Docker
812
+
813
+
### Troubleshooting
814
+
815
+
**Why is my agent not responding?**
816
+
- Check API key is set (`OPENAI_API_KEY` or equivalent)
817
+
- Verify network connectivity to LLM provider
818
+
- Use `--verbose` flag for detailed logs
819
+
- Check `agent.yaml` model configuration
820
+
821
+
**How do I debug agent behavior?**
822
+
- Use console exporter: `OTEL_TRACES_EXPORTER=console gitclaw -p "test"`
823
+
- Check spans in Jaeger: `docker run -p 16686:16686 -p 4318:4318 jaegertracing/all-in-one`
0 commit comments