Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (90 loc) · 4.05 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (90 loc) · 4.05 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
# The distribution is `boundflow-charter`; the package, the CLI and the config's
# apiVersion stay `charter`. PyPI refuses the bare name, and the prefix is how this
# is branded anyway.
name = "boundflow-charter"
version = "0.3.0"
description = "Declarative, governed agents on BoundFlow — objective, tools, and policy as YAML."
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
license-files = ["LICENSE"]
keywords = ["agents", "llm", "deepagents", "mcp", "governance", "control-plane"]
classifiers = [
# Pre-alpha, and the configuration format is expected to change.
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
dependencies = [
# The floor is what CI tests: the SDK from PyPI against `:latest` in
# deploy/local.compose.yml. An older SDK may work and nobody checks.
"boundflow>=0.7.4",
# The harness, and required rather than optional. Charter is the
# use-an-existing-harness product: an install that can't run deepagents isn't a
# smaller Charter, it's a Charter that does nothing. BoundFlow keeps these
# optional for the opposite and equally correct reason — it governs whatever
# loop you bring, so it must not care which one that is.
"deepagents>=0.7.7",
"langchain-core>=1.5",
"langgraph>=1.2",
# A separate distribution from langgraph: `langgraph.checkpoint.postgres` and
# `langgraph.store.postgres`.
"langgraph-checkpoint-postgres>=3.1",
# langgraph-checkpoint-postgres only pulls in bare `psycopg`, which has no working driver without an extra.
"psycopg[binary]>=3.2",
# `init_chat_model` lives here, and it is how `llm.provider` gets built, so any
# provider LangChain supports works. Declared rather than inherited from
# deepagents: we import it directly.
"langchain>=1.0",
# Anthropic is the only integration installed by default, because a default has
# to be something. Any other provider is an extra, or install its package.
"langchain-anthropic>=0.3",
# OCI artifacts: `charter push` publishes an agent version to the customer's
# own registry, and the worker pulls one. Their registry, their `docker login`,
# their retention — none of it ours to build.
"oras>=0.2",
# The MCP client, and the adapter that turns a server's tools into the
# harness's. `anthropic` arrives via boundflow.
"langchain-mcp-adapters>=0.1",
"mcp>=1.0",
"pydantic>=2.0",
"pyyaml>=6.0",
"typer>=0.12",
]
[project.optional-dependencies]
dev = ["pytest", "pytest-asyncio", "pytest-timeout"]
# `charter ui` serves BoundFlow's console. The extra is theirs — starlette and
# uvicorn arrive through it, so the two consoles can never want different ones.
ui = ["boundflow[ui]"]
# `trace_sink: {kind: otel}` builds an OTLP exporter. Theirs again, so the sink and
# the exporter can never disagree about the OTel version.
otel = ["boundflow[otel]"]
# Model providers. `llm.provider` takes anything LangChain can build; these are
# just the integration packages, so you can name one instead of looking it up.
openai = ["langchain-openai>=0.2"]
google = ["langchain-google-genai>=2.0"]
bedrock = ["langchain-aws>=0.2"]
ollama = ["langchain-ollama>=0.2"]
groq = ["langchain-groq>=0.2"]
[project.urls]
Homepage = "https://github.com/boundflow/charter"
Source = "https://github.com/boundflow/charter"
Issues = "https://github.com/boundflow/charter/issues"
[project.scripts]
charter = "charter.cli:main"
[tool.setuptools.packages.find]
include = ["charter*"]
[tool.pytest.ini_options]
# e2e is excluded by default: it needs a running control plane. `pytest tests/e2e`
# opts in.
testpaths = ["tests"]
# No test should take minutes. A control-plane call with no deadline hangs forever
# otherwise: one did, for 1h46m, until the CI job was cancelled by hand.
timeout = 180
addopts = "--ignore=tests/e2e"
asyncio_mode = "auto"