beadle 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ .env
2
+ logs/
3
+ employees/*/runs/
4
+ employees/*/journal.jsonl
5
+ employees/*/claims.jsonl
6
+ employees/*/inbox.jsonl
7
+ employees/*/baseline.json
8
+ employees/*/gate.jsonl
9
+ employees/*/snapshots/
10
+ employees/*/seen.json
11
+ .deliver-failures.jsonl
12
+ __pycache__/
13
+ *.pyc
14
+ .DS_Store
beadle-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Agentropic
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
beadle-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,76 @@
1
+ Metadata-Version: 2.4
2
+ Name: beadle
3
+ Version: 0.1.0
4
+ Summary: Build an AI employee without building an agent platform — deterministic checks, one-shot judgment, and a gate that keeps the model out of the loop on quiet days.
5
+ Project-URL: Homepage, https://github.com/agentropicai/beadle
6
+ Project-URL: Source, https://github.com/agentropicai/beadle
7
+ Author: Agentropic
8
+ License: MIT License
9
+
10
+ Copyright (c) 2026 Agentropic
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+ License-File: LICENSE
30
+ Keywords: agents,ai,automation,claude,cron,llm,monitoring
31
+ Classifier: Development Status :: 4 - Beta
32
+ Classifier: Environment :: Console
33
+ Classifier: Intended Audience :: Developers
34
+ Classifier: License :: OSI Approved :: MIT License
35
+ Classifier: Programming Language :: Python :: 3
36
+ Classifier: Topic :: System :: Monitoring
37
+ Classifier: Topic :: Utilities
38
+ Requires-Python: >=3.9
39
+ Description-Content-Type: text/markdown
40
+
41
+ # Beadle
42
+
43
+ **Build an AI employee without building an agent platform.**
44
+
45
+ Most of any job is *noticing*, not thinking — scanning, comparing against a baseline, concluding
46
+ nothing changed. Noticing is constant and answerable in SQL. Judgment is rare, expensive, and the
47
+ only part a model is good at. Most agent systems fuse the two and pay judgment prices for
48
+ noticing. Beadle keeps them apart.
49
+
50
+ ```
51
+ pip install beadle
52
+ beadle init my-employees
53
+ cd my-employees
54
+ ./beadle doctor
55
+ ./beadle run example-site-watch uptime-check
56
+ ```
57
+
58
+ Every task is the same five steps:
59
+
60
+ ```
61
+ GATHER deterministic — SQL, an API call, a shell command. No model.
62
+ GATE plain Python. Did anything happen? If not, stop here — silently.
63
+ JUDGE one model call. Tools disabled, max-turns 1.
64
+ DELIVER gated. Silence is the correct output most days.
65
+ RECORD journal, archive.
66
+ ```
67
+
68
+ There is no agent loop. On the production fleet this was extracted from — 21 live tasks —
69
+ 10 never call a model at all, 18 can exit before the model is invoked, and the busiest task runs
70
+ 144 times a day for zero tokens.
71
+
72
+ Beadle is a workspace you own and edit, not a library you import. `beadle init` fetches it and
73
+ gets out of the way. Full docs, four working example employees, and a complete worked build
74
+ (including the bug hit along the way) are in the workspace itself.
75
+
76
+ MIT · https://github.com/agentropicai/beadle
beadle-0.1.0/PYPI.md ADDED
@@ -0,0 +1,36 @@
1
+ # Beadle
2
+
3
+ **Build an AI employee without building an agent platform.**
4
+
5
+ Most of any job is *noticing*, not thinking — scanning, comparing against a baseline, concluding
6
+ nothing changed. Noticing is constant and answerable in SQL. Judgment is rare, expensive, and the
7
+ only part a model is good at. Most agent systems fuse the two and pay judgment prices for
8
+ noticing. Beadle keeps them apart.
9
+
10
+ ```
11
+ pip install beadle
12
+ beadle init my-employees
13
+ cd my-employees
14
+ ./beadle doctor
15
+ ./beadle run example-site-watch uptime-check
16
+ ```
17
+
18
+ Every task is the same five steps:
19
+
20
+ ```
21
+ GATHER deterministic — SQL, an API call, a shell command. No model.
22
+ GATE plain Python. Did anything happen? If not, stop here — silently.
23
+ JUDGE one model call. Tools disabled, max-turns 1.
24
+ DELIVER gated. Silence is the correct output most days.
25
+ RECORD journal, archive.
26
+ ```
27
+
28
+ There is no agent loop. On the production fleet this was extracted from — 21 live tasks —
29
+ 10 never call a model at all, 18 can exit before the model is invoked, and the busiest task runs
30
+ 144 times a day for zero tokens.
31
+
32
+ Beadle is a workspace you own and edit, not a library you import. `beadle init` fetches it and
33
+ gets out of the way. Full docs, four working example employees, and a complete worked build
34
+ (including the bug hit along the way) are in the workspace itself.
35
+
36
+ MIT · https://github.com/agentropicai/beadle
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "beadle"
7
+ version = "0.1.0"
8
+ description = "Build an AI employee without building an agent platform — deterministic checks, one-shot judgment, and a gate that keeps the model out of the loop on quiet days."
9
+ readme = "PYPI.md"
10
+ requires-python = ">=3.9"
11
+ license = { file = "LICENSE" }
12
+ authors = [{ name = "Agentropic" }]
13
+ keywords = ["agents", "ai", "automation", "cron", "llm", "monitoring", "claude"]
14
+ classifiers = [
15
+ "Development Status :: 4 - Beta",
16
+ "Environment :: Console",
17
+ "Intended Audience :: Developers",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Programming Language :: Python :: 3",
20
+ "Topic :: System :: Monitoring",
21
+ "Topic :: Utilities",
22
+ ]
23
+
24
+ [project.urls]
25
+ Homepage = "https://github.com/agentropicai/beadle"
26
+ Source = "https://github.com/agentropicai/beadle"
27
+
28
+ [project.scripts]
29
+ beadle = "beadle:main"
30
+
31
+ [tool.hatch.build.targets.wheel]
32
+ packages = ["src/beadle"]
33
+
34
+ [tool.hatch.build.targets.sdist]
35
+ include = ["src/beadle", "PYPI.md", "LICENSE"]
@@ -0,0 +1,88 @@
1
+ """Beadle — build an AI employee without building an agent platform.
2
+
3
+ This package is a thin installer. Beadle itself is a workspace you own and edit, not a library
4
+ you import: employees are folders, tasks are scripts you change. So `beadle init` fetches the
5
+ starter workspace into a directory and then gets out of your way.
6
+
7
+ pip install beadle
8
+ beadle init my-employees
9
+ cd my-employees && ./beadle doctor
10
+
11
+ Everything after that is documented in the workspace itself — README.md, QUICKSTART.md and
12
+ EXAMPLE.md. Source: https://github.com/agentropicai/beadle
13
+ """
14
+ __version__ = "0.1.0"
15
+
16
+ import os
17
+ import shutil
18
+ import subprocess
19
+ import sys
20
+ import tempfile
21
+
22
+ REPO = "https://github.com/agentropicai/beadle"
23
+
24
+ USAGE = """beadle — fetch the Beadle starter workspace.
25
+
26
+ beadle init [directory] create a workspace (default: ./beadle)
27
+ beadle --version
28
+
29
+ Beadle is a workspace, not a library. Once `init` has run, use the ./beadle script inside it:
30
+
31
+ cd <directory>
32
+ ./beadle doctor
33
+ ./beadle run example-site-watch uptime-check
34
+ ./beadle new my-first-employee
35
+
36
+ Docs: %s
37
+ """ % REPO
38
+
39
+
40
+ def _init(target):
41
+ dest = os.path.abspath(target)
42
+ if os.path.exists(dest) and os.listdir(dest):
43
+ sys.exit("%s already exists and is not empty" % dest)
44
+ if not shutil.which("git"):
45
+ sys.exit("git is required to fetch the workspace. Install it, or clone %s by hand." % REPO)
46
+
47
+ with tempfile.TemporaryDirectory() as tmp:
48
+ staging = os.path.join(tmp, "beadle")
49
+ r = subprocess.run(["git", "clone", "--depth", "1", "--quiet", REPO, staging],
50
+ capture_output=True, text=True)
51
+ if r.returncode != 0:
52
+ sys.exit("could not fetch the workspace:\n" + (r.stderr or "")[:400])
53
+ # The workspace is yours from here — drop our history so your first commit is your own.
54
+ shutil.rmtree(os.path.join(staging, ".git"), ignore_errors=True)
55
+ shutil.rmtree(os.path.join(staging, "src"), ignore_errors=True)
56
+ for name in ("pyproject.toml",):
57
+ f = os.path.join(staging, name)
58
+ if os.path.exists(f):
59
+ os.remove(f)
60
+ shutil.copytree(staging, dest, dirs_exist_ok=True)
61
+
62
+ os.chmod(os.path.join(dest, "beadle"), 0o755)
63
+ rel = os.path.relpath(dest)
64
+ print("Created %s\n" % rel)
65
+ print(" cd %s" % rel)
66
+ print(" ./beadle doctor # do the pieces work?")
67
+ print(" ./beadle run example-site-watch uptime-check # a real employee, no config needed")
68
+ print(" ./beadle new my-first-employee # now write your own")
69
+ print("\nRead EXAMPLE.md for a full worked build, bug included.")
70
+
71
+
72
+ def main(argv=None):
73
+ argv = list(sys.argv[1:] if argv is None else argv)
74
+ if not argv or argv[0] in ("-h", "--help", "help"):
75
+ print(USAGE)
76
+ return 0
77
+ if argv[0] in ("-V", "--version", "version"):
78
+ print("beadle %s" % __version__)
79
+ return 0
80
+ if argv[0] == "init":
81
+ _init(argv[1] if len(argv) > 1 else "beadle")
82
+ return 0
83
+ print(USAGE)
84
+ return 1
85
+
86
+
87
+ if __name__ == "__main__":
88
+ raise SystemExit(main())