Add loan-advisor-agent
Browse files
loan-advisor-agent/pyproject.toml
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[project]
|
| 2 |
+
name = "loan-advisor-agent"
|
| 3 |
+
version = "0.1.0"
|
| 4 |
+
description = ""
|
| 5 |
+
authors = [
|
| 6 |
+
{name = "Your Name", email = "your@email.com"},
|
| 7 |
+
]
|
| 8 |
+
dependencies = [
|
| 9 |
+
"google-adk>=1.15.0,<2.0.0",
|
| 10 |
+
"opentelemetry-instrumentation-google-genai>=0.1.0,<1.0.0",
|
| 11 |
+
"gcsfs>=2024.11.0",
|
| 12 |
+
"google-cloud-logging>=3.12.0,<4.0.0",
|
| 13 |
+
"google-cloud-aiplatform[evaluation,agent-engines]>=1.130.0",
|
| 14 |
+
"protobuf>=6.31.1,<7.0.0",
|
| 15 |
+
]
|
| 16 |
+
requires-python = ">=3.11,<3.14"
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
[dependency-groups]
|
| 20 |
+
dev = [
|
| 21 |
+
"pytest>=8.3.4,<9.0.0",
|
| 22 |
+
"pytest-asyncio>=0.23.8,<1.0.0",
|
| 23 |
+
"nest-asyncio>=1.6.0,<2.0.0",
|
| 24 |
+
]
|
| 25 |
+
|
| 26 |
+
[project.optional-dependencies]
|
| 27 |
+
eval = [
|
| 28 |
+
"google-adk[eval]>=1.15.0,<2.0.0",
|
| 29 |
+
]
|
| 30 |
+
lint = [
|
| 31 |
+
"ruff>=0.4.6,<1.0.0",
|
| 32 |
+
"ty>=0.0.1a0",
|
| 33 |
+
"codespell>=2.2.0,<3.0.0",
|
| 34 |
+
]
|
| 35 |
+
|
| 36 |
+
[tool.ruff]
|
| 37 |
+
line-length = 88
|
| 38 |
+
target-version = "py311"
|
| 39 |
+
|
| 40 |
+
[tool.ruff.lint]
|
| 41 |
+
select = [
|
| 42 |
+
"E", # pycodestyle
|
| 43 |
+
"F", # pyflakes
|
| 44 |
+
"W", # pycodestyle warnings
|
| 45 |
+
"I", # isort
|
| 46 |
+
"C", # flake8-comprehensions
|
| 47 |
+
"B", # flake8-bugbear
|
| 48 |
+
"UP", # pyupgrade
|
| 49 |
+
"RUF", # ruff specific rules
|
| 50 |
+
]
|
| 51 |
+
ignore = ["E501", "C901", "B006"] # ignore line too long, too complex
|
| 52 |
+
|
| 53 |
+
[tool.ruff.lint.isort]
|
| 54 |
+
known-first-party = ["app", "frontend"]
|
| 55 |
+
|
| 56 |
+
[tool.ty]
|
| 57 |
+
# ty is Astral's Rust-based type checker (same team as ruff/uv)
|
| 58 |
+
# See: https://docs.astral.sh/ty/
|
| 59 |
+
|
| 60 |
+
[tool.ty.environment]
|
| 61 |
+
python-version = "3.10"
|
| 62 |
+
|
| 63 |
+
[tool.ty.src]
|
| 64 |
+
exclude = [".venv/**"]
|
| 65 |
+
|
| 66 |
+
[tool.ty.rules]
|
| 67 |
+
# Ignore common issues with third-party libraries and dynamic code patterns
|
| 68 |
+
unresolved-import = "ignore"
|
| 69 |
+
unresolved-attribute = "ignore"
|
| 70 |
+
invalid-argument-type = "ignore"
|
| 71 |
+
invalid-assignment = "ignore"
|
| 72 |
+
invalid-return-type = "ignore"
|
| 73 |
+
possibly-missing-attribute = "ignore"
|
| 74 |
+
not-subscriptable = "ignore"
|
| 75 |
+
deprecated = "ignore"
|
| 76 |
+
|
| 77 |
+
[tool.codespell]
|
| 78 |
+
ignore-words-list = "rouge"
|
| 79 |
+
skip = "./locust_env/*,uv.lock,.venv,./frontend,**/package-lock.json"
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
[build-system]
|
| 83 |
+
requires = ["hatchling"]
|
| 84 |
+
build-backend = "hatchling.build"
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
[tool.pytest.ini_options]
|
| 88 |
+
pythonpath = "."
|
| 89 |
+
asyncio_default_fixture_loop_scope = "function"
|
| 90 |
+
|
| 91 |
+
[tool.hatch.build.targets.wheel]
|
| 92 |
+
packages = ["app","frontend"]
|
| 93 |
+
|
| 94 |
+
[tool.agents-cli]
|
| 95 |
+
# Generation metadata - enables CLI commands to understand project context
|
| 96 |
+
# These fields allow any generated project to work as a remote template
|
| 97 |
+
name = "loan-advisor-agent"
|
| 98 |
+
description = "Simple ReAct agent"
|
| 99 |
+
base_template = "adk"
|
| 100 |
+
agent_directory = "app"
|
| 101 |
+
|
| 102 |
+
# Generation context
|
| 103 |
+
generated_at = "2026-06-26T04:12:03.319279+00:00"
|
| 104 |
+
acli_version = "0.1.3"
|
| 105 |
+
|
| 106 |
+
[tool.agents-cli.create_params]
|
| 107 |
+
# Parameters used during project creation
|
| 108 |
+
deployment_target = "agent_runtime"
|
| 109 |
+
session_type = "none"
|
| 110 |
+
cicd_runner = "skip"
|
| 111 |
+
include_data_ingestion = false
|
| 112 |
+
|
| 113 |
+
datastore = "none"
|
| 114 |
+
|