Agents as
code.

Define every agent, MCP tool and
team structure in HCL. Version-
control and redeploy your whole org.

Terraform
Version-controlled
GitOps
📄main.tf
📄agents.tf
📄tools.tf
📄variables.tf
Explorer
agyn-team
📄main.tf
📄agents.tf
📄tools.tf
📄variables.tf
prompts
📝manager.md
📝engineer.md
📝researcher.md
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
resource "agyn_agent" "manager" {
name = "Rowan Stein"
role = "Manager"
model = "claude-sonnet-4.6"
instructions = file("prompts/manager.md")
tools = [
agyn_mcp.github.id,
agyn_mcp.slack.id,
]
}
resource "agyn_agent" "engineer" {
name = "Casey Brooks"
role = "Engineer"
model = "gpt-4o"
skills = ["code_review", "testing"]
tools = [agyn_mcp.github.id]
}
resource "agyn_agent" "researcher" {
name = "Morgan Davis"
role = "Researcher"
model = "llama-3.3-70b"
tools = [agyn_mcp.browser.id]
}
resource "agyn_team" "dev_team" {
name = "Dev Team"
manager = agyn_agent.manager.id
members = [
agyn_agent.engineer.id,
agyn_agent.researcher.id,
]
}
Terminal
Problems
Output
$ terraform apply
Terraform will perform the following actions:
+ agyn_mcp.github will be created
+ agyn_mcp.slack will be created
+ agyn_agent.manager will be created
+ agyn_agent.engineer will be created
+ agyn_agent.researcher will be created
+ agyn_team.dev_team will be created
Apply complete! Resources: 6 added, 0 changed, 0 destroyed.