Agyn Demo Agent

May 6, 2026 · View on GitHub

Terraform configuration that provisions a demo set of Agyn agents:

  • data_engineer — senior data engineer with access to a ClickHouse cluster via MCP
  • marketing — marketing specialist (demo mode, returns realistic mocked answers)
  • support — customer support manager (demo mode, returns realistic mocked answers)

All agents use an OpenAI-backed model defined in llm.tf.

Prerequisites

  • Terraform installed
  • An Agyn account
  • An OpenAI API key

Getting started

1. Get your Agyn credentials

You need an API token and your organization ID from the Agyn dashboard:

  • API token — open the user menu, go to API Tokens, and click Create token.
  • Organization ID — currently only available from the URL. Open the Agyn dashboard and copy the organization ID segment from the address bar.

2. Create terraform.tfvars

Copy the example file and fill in your values:

cp terraform.tfvars.example terraform.tfvars

Then edit terraform.tfvars:

organization_id = "<your-agyn-organization-id>"
api_token       = "<your-agyn-api-token>"
openai_token    = "<your-openai-api-key>"

3. Apply the configuration

terraform init
terraform apply

Layout

FilePurpose
providers.tfAgyn provider configuration
variables.tfInput variables (tokens, ClickHouse defaults)
llm.tfOpenAI LLM provider and model
agent_analytic.tfdata_engineer agent + ClickHouse MCP
agent_marketing.tfmarketing agent
agent_support.tfsupport agent
modules/Reusable modules: standard_volumes, files_mcp, clickhouse_mcp