1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Committed Resources Setup Example
#
# This example shows AGPM configuration where resources ARE COMMITTED to
# version control for team sharing. Resources are part of the codebase.
#
# Use this when:
# - Team members share AI agent configurations via Git
# - Resources should be versioned alongside your code
# - You want manual control over .gitignore (not automatic management)
# - Everyone on the team uses the same AI resources
#
# Key behavior:
# - gitignore = false: AGPM won't modify .gitignore
# - Resources WILL BE COMMITTED: agpm.toml, agpm.lock, .claude/, etc.
# - Team collaboration: AI resources are shared via version control
#
# IMPORTANT: Setting gitignore = false means AGPM won't add entries to
# .gitignore, so resources WILL be committed to Git. This is intentional
# for team sharing scenarios.
#
# For personal customizations that shouldn't be shared:
# - Create agpm.private.toml for personal patches/overrides
# - Manually add to .gitignore:
# agpm.private.toml
# agpm.private.lock
# Don't let AGPM manage .gitignore - resources will be committed to Git
= false
# Use local private repositories
[]
# Local path to company's internal resource repository
= "../company-agpm-resources"
# Local path to personal resource collection
= "~/agpm/my-resources"
# Install resources from private sources
[]
# Company-specific agents from internal repository
= { = "internal", = "agents/code-reviewer.md", = "v2.1.0" }
= { = "internal", = "agents/security-scanner.md", = "v1.5.0" }
# Personal agents from local collection (consider using agpm.private.toml instead)
= { = "personal", = "agents/helper.md", = "v1.0.0" }
[]
# Company code snippets from internal repository
= { = "internal", = "snippets/rust-patterns.md", = "v3.0.0" }
= { = "internal", = "snippets/test-templates.md", = "v1.2.0" }
# Personal snippets (consider using agpm.private.toml instead)
= { = "personal", = "snippets/personal.md", = "v1.0.0" }
# Custom tool configuration
[]
# Install all agents to custom directory
= "claude-code"
# Override default installation paths
[]
= "tools/ai-agents"
= "code/snippets"
= "tools/commands"
# Project-specific variables for templates
[]
= "Acme Corp"
= "Platform Engineering"
= "rust"
= "cargo test"
# Team-wide patches (committed to version control)
[]
= "claude-3-sonnet"
= 0.7
= 4096
[]
= "medium"
= ["*.test.rs", "tests/"]
# Note: Create agpm.private.toml for personal customizations:
# [patch.agents.my-helper]
# api_key = "${MY_ANTHROPIC_KEY}"
# custom_prompt = "You are a helpful assistant for my specific workflow."