{"id":21250815,"url":"https://github.com/rss3-network/terraform-gcp-openagent","last_synced_at":"2026-02-03T08:02:35.103Z","repository":{"id":248495512,"uuid":"828848433","full_name":"RSS3-Network/terraform-gcp-openagent","owner":"RSS3-Network","description":"Terraform module to deploy OpenAgent on Google Cloud to leverage Vertex AI.","archived":false,"fork":false,"pushed_at":"2024-08-06T11:24:18.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-07T07:48:58.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RSS3-Network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["rss3-network"]}},"created_at":"2024-07-15T08:49:11.000Z","updated_at":"2024-08-06T11:23:52.000Z","dependencies_parsed_at":"2024-07-15T10:42:33.984Z","dependency_job_id":"9d814b3b-6c23-4ad1-a6d4-bd9dab835892","html_url":"https://github.com/RSS3-Network/terraform-gcp-openagent","commit_stats":null,"previous_names":["rss3-network/terraform-gcp-openagent"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/RSS3-Network/terraform-gcp-openagent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSS3-Network%2Fterraform-gcp-openagent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSS3-Network%2Fterraform-gcp-openagent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSS3-Network%2Fterraform-gcp-openagent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSS3-Network%2Fterraform-gcp-openagent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RSS3-Network","download_url":"https://codeload.github.com/RSS3-Network/terraform-gcp-openagent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSS3-Network%2Fterraform-gcp-openagent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29037745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T06:39:36.383Z","status":"ssl_error","status_checked_at":"2026-02-03T06:39:32.787Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T03:39:05.442Z","updated_at":"2026-02-03T08:02:35.085Z","avatar_url":"https://github.com/RSS3-Network.png","language":"HCL","funding_links":["https://github.com/sponsors/rss3-network"],"categories":[],"sub_categories":[],"readme":"# Terraform OpenAgent GCP Module\n\nThis module helps you deploy OpenAgent on Google Cloud Platform to leverage Vertex AI.\n\nThe resources/services/activations/deletions that this module will create/trigger are:\n\n- Create Cloud SQL PostgreSQL database\n- Create pgvector extension\n- Create Cloud Run service\n\n## Usage\n\n```terraform\nmodule \"openagent\" {\n  source = \"RSS3-Network/openagent/gcp\"\n\n  project = \"\u003cGCP_PROJECT_ID\u003e\"\n\n  oauth = {\n    OAUTH_GOOGLE_CLIENT_ID     = \"\u003cOAUTH_GOOGLE_CLIENT_ID\u003e\"\n    OAUTH_GOOGLE_CLIENT_SECRET = \"\u003cOAUTH_GOOGLE_CLIENT_SECRET\u003e\"\n  }\n}\n```\n\nThen perform the following steps:\n\n1. Run `terraform init` to get the necessary providers.\n2. Run `terraform plan` to create the execution plan.\n3. Run `terraform apply` to apply the execution plan.\n4. Run `terraform destroy` to destroy the resources created by the execution plan.\n\nMore examples can be found in the [examples](./examples) directory.\n\nBy default, OpenAgent uses Gemini 1.5 Pro provided by the Vertex AI within the same Google Cloud project, it does not require additional API Keys. You can change the LLM provider by modifying `gemini_api_key`, and `openai_api_key`.\n\n## Inputs\n\n| Name              | Description                                                                          | Type          | Default            | Required |\n|-------------------|--------------------------------------------------------------------------------------|---------------|--------------------|:--------:|\n| project           | GCP project ID                                                                       | `string`      | n/a                |   yes    |\n| region            | value of the region                                                                  | `string`      | `\"us-central1\"`    |    no    |\n| gemini_api_key    | API key for Gemini                                                                   | `string`      | \"\"                 |    no    |\n| openai_api_key    | API key for OpenAI                                                                   | `string`      | \"\"                 |    no    |\n| nftscan_api_key   | API key for NFTScan                                                                  | `string`      | \"\"                 |    no    |\n| tavily_api_key    | API key for Tavily                                                                   | `string`      | \"\"                 |    no    |\n| covalent_api_key  | API key for Covalent                                                                 | `string`      | \"\"                 |    no    |\n| rootdata_api_key  | API key for RootData                                                                 | `string`      | \"\"                 |    no    |\n| coingecko_api_key | API key for CoinGecko                                                                | `string`      | \"\"                 |    no    |\n| sql_tier          | CloudSQL Postgres tier                                                               | `string`      | `\"db-f1-micro\"`    |    no    |\n| sql_version       | CloudSQL Postgres version                                                            | `string`      | `\"POSTGRES_15\"`    |    no    |\n| image_repo        | The image repository                                                                 | `string`      | `\"rss3/openagent\"` |    no    |\n| image_tag         | The image tag                                                                        | `string`      | `\"v20240715.1\"`    |    no    |\n| oauth             | The oauth env for chainlit, refer to \u003chttps://docs.chainlit.io/authentication/oauth\u003e | `map(string)` | n/a                |   yes    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frss3-network%2Fterraform-gcp-openagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frss3-network%2Fterraform-gcp-openagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frss3-network%2Fterraform-gcp-openagent/lists"}