summaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 7632cab14237475197e68b18e39d22d5c7886329 (plain)
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "agentux"
version = "0.1.0"
description = "A terminal-native, provider-agnostic AI coding agent"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "Agentux contributors" }]
keywords = ["ai", "agent", "cli", "llm", "openai-compatible", "ollama", "tools"]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Environment :: Console",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Topic :: Software Development :: Code Generators",
]

# Deliberately minimal: an HTTP client, terminal rendering, and a prompt
# toolkit. Pydantic is used for the message/tool schemas, which is where
# validation actually earns its keep. No agent framework is required to build
# an agent.
#
# Spinners, colour and markdown come from rich, which is already here -- a
# separate spinner/colour library would be a second way to do one job.
# prompt_toolkit (via InquirerPy) provides tab-completion and the model picker.
# Both are optional at runtime: Agentux falls back to a plain prompt and a
# numbered table when they are missing.
dependencies = [
    "httpx>=0.27.0",
    "pydantic>=2.6.0",
    "rich>=13.0.0",
    "prompt_toolkit>=3.0.0",
    "InquirerPy>=0.3.4",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0.0",
]

[project.urls]
Homepage = "https://github.com/agentux/agentux"
Issues = "https://github.com/agentux/agentux/issues"

[project.scripts]
agentux = "agentux.cli:cli"
agentux-solo = "agentux.cli:solo_main"

[tool.setuptools.packages.find]
where = ["src"]

[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
# Test the working tree, not whatever copy happens to be installed. Without
# this, a stale non-editable install in site-packages shadows src/ and the
# suite fails on imports that the source plainly satisfies.
pythonpath = ["src"]