-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
144 lines (132 loc) · 3.47 KB
/
Copy pathpyproject.toml
File metadata and controls
144 lines (132 loc) · 3.47 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# momex pin: v0.2.2
[project]
name = "koa"
version = "0.1.1"
description = "A personal AI agent framework with state-driven agents and ReAct orchestration"
readme = "README.md"
license = {text = "BSL-1.1"}
requires-python = ">=3.12"
authors = [
{ name = "Koa Contributors" }
]
keywords = [
"agent",
"llm",
"ai",
"workflow",
"orchestration",
"state-machine",
"multi-agent",
"framework",
"zero-code",
"yaml",
"openai",
"anthropic",
"claude",
"gpt",
"streaming"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: Other/Proprietary License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
# Core dependencies
dependencies = [
"pydantic>=2.0",
"pyyaml>=6.0",
"asyncpg>=0.27",
"httpx>=0.25",
"croniter>=2.0",
"python-dateutil>=2.8",
"fastapi>=0.100",
"uvicorn>=0.20",
"momex @ git+https://github.com/xiaoyu-work/momex.git@v0.2.2",
"jinja2>=3.1",
"litellm>=1.40",
"trafilatura>=2.0",
"alembic>=1.12",
"sqlalchemy>=2.0",
"psycopg2-binary>=2.9",
"supabase>=2.0",
"jsonschema>=4.20",
# Optional — observability / security extras
"cryptography>=42.0",
]
[project.optional-dependencies]
openai = ["openai>=1.0"]
anthropic = ["anthropic>=0.18"]
gemini = ["google-generativeai>=0.3"]
mcp = ["mcp>=1.2"]
observability = [
"prometheus-client>=0.19",
"opentelemetry-api>=1.23",
"opentelemetry-sdk>=1.23",
"opentelemetry-exporter-otlp>=1.23",
]
redis = ["redis>=5.0"]
all = [
"openai>=1.0",
"anthropic>=0.18",
"google-generativeai>=0.3",
"mcp>=1.2",
"prometheus-client>=0.19",
"opentelemetry-api>=1.23",
"opentelemetry-sdk>=1.23",
"redis>=5.0",
]
[project.scripts]
koa = "koa.server:main"
[project.urls]
Homepage = "https://github.com/withkoi/koa"
Documentation = "https://withkoi.github.io/koa"
Repository = "https://github.com/withkoi/koa"
Issues = "https://github.com/withkoi/koa/issues"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["koa"]
[tool.black]
line-length = 100
target-version = ["py312", "py313"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.12"
warn_return_any = false
warn_unused_configs = true
ignore_missing_imports = true
disable_error_code = [
"attr-defined",
"no-any-return",
"assignment",
"union-attr",
"import-untyped",
"annotation-unchecked",
"arg-type",
"return-value",
"call-arg",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"integration: end-to-end tests using a real LLM (requires INTEGRATION_TEST_API_KEY)",
"communication: agents in the communication domain (email, slack, discord, twitter, linkedin)",
"productivity: agents in the productivity domain (calendar, todo, briefing, notion, google_workspace, cloud_storage, github, cron)",
"lifestyle: agents in the lifestyle domain (expense, smarthome, shipping, spotify, youtube, image)",
"travel: agents in the travel domain (trip_planner, maps)",
]