cgl-interagentmail 1.1.0__py3-none-any.whl
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.
- cgl_interagentmail-1.1.0.dist-info/METADATA +131 -0
- cgl_interagentmail-1.1.0.dist-info/RECORD +11 -0
- cgl_interagentmail-1.1.0.dist-info/WHEEL +5 -0
- cgl_interagentmail-1.1.0.dist-info/entry_points.txt +5 -0
- cgl_interagentmail-1.1.0.dist-info/licenses/LICENSE +21 -0
- cgl_interagentmail-1.1.0.dist-info/top_level.txt +5 -0
- iam_codex_bridge.py +656 -0
- iam_mcp_server.py +150 -0
- iam_orchestrator.py +585 -0
- iam_service.py +219 -0
- interagentmail.py +671 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cgl-interagentmail
|
|
3
|
+
Version: 1.1.0
|
|
4
|
+
Summary: File-backed local mail, MCP tools, and push delivery for Codex project agents
|
|
5
|
+
Author: Cerberus Game Labs
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://cerberusgamelabs.xyz
|
|
8
|
+
Project-URL: Repository, https://github.com/cerberusgamelabs/cgl-interagentmail
|
|
9
|
+
Project-URL: Documentation, https://github.com/cerberusgamelabs/cgl-interagentmail/blob/main/docs/INSTALL.md
|
|
10
|
+
Project-URL: Issues, https://github.com/cerberusgamelabs/cgl-interagentmail/issues
|
|
11
|
+
Project-URL: Changelog, https://github.com/cerberusgamelabs/cgl-interagentmail/blob/main/CHANGELOG.md
|
|
12
|
+
Keywords: codex,mcp,agents,mailbox,automation
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
17
|
+
Classifier: Operating System :: MacOS
|
|
18
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
25
|
+
Requires-Python: >=3.10
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
Requires-Dist: mcp<3,>=2.0
|
|
29
|
+
Requires-Dist: websockets<16,>=14
|
|
30
|
+
Provides-Extra: release
|
|
31
|
+
Requires-Dist: build<2,>=1.2; extra == "release"
|
|
32
|
+
Requires-Dist: twine<7,>=6; extra == "release"
|
|
33
|
+
Dynamic: license-file
|
|
34
|
+
|
|
35
|
+
# InterAgentMail
|
|
36
|
+
|
|
37
|
+
InterAgentMail gives local Codex project agents durable mailboxes, MCP tools, and automatic wake-up delivery. Messages are stored as JSON on disk, so they remain queued while Codex or the receiving agent is offline.
|
|
38
|
+
|
|
39
|
+
One shared Codex app-server and one background InterAgentMail supervisor manage every registered project. Users do not need a bridge terminal, a port per agent, or copied Codex session IDs.
|
|
40
|
+
|
|
41
|
+
## Requirements
|
|
42
|
+
|
|
43
|
+
- Python 3.10 or newer
|
|
44
|
+
- The OpenAI Codex CLI installed, available on `PATH`, and signed in
|
|
45
|
+
- Windows, macOS, or Linux; background operation is tested most heavily on Windows
|
|
46
|
+
|
|
47
|
+
## Install
|
|
48
|
+
|
|
49
|
+
Install the isolated command-line application with `pipx`:
|
|
50
|
+
|
|
51
|
+
```console
|
|
52
|
+
pipx install cgl-interagentmail
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Register one or more Codex projects, then start delivery:
|
|
56
|
+
|
|
57
|
+
```console
|
|
58
|
+
iam setup "C:\Projects\MainApp" "C:\Projects\SecurityReviewer" "C:\Projects\UXReviewer"
|
|
59
|
+
iam start
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Open the correct agent from any registered project:
|
|
63
|
+
|
|
64
|
+
```console
|
|
65
|
+
cd C:\Projects\SecurityReviewer
|
|
66
|
+
iam open
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
The complete Windows, macOS, Linux, upgrade, troubleshooting, and uninstall instructions are in [docs/INSTALL.md](docs/INSTALL.md).
|
|
70
|
+
|
|
71
|
+
Source code, releases, and issue tracking are hosted at <https://github.com/cerberusgamelabs/cgl-interagentmail>.
|
|
72
|
+
|
|
73
|
+
## Everyday commands
|
|
74
|
+
|
|
75
|
+
```console
|
|
76
|
+
iam status
|
|
77
|
+
iam open [PROJECT]
|
|
78
|
+
iam restart
|
|
79
|
+
iam stop
|
|
80
|
+
iam stop --all
|
|
81
|
+
iam unregister [PROJECT ...]
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
- `iam status` shows services, projects, and pinned thread IDs.
|
|
85
|
+
- `iam open` resumes the exact thread owned by the current or named project.
|
|
86
|
+
- `iam stop` stops mail delivery but leaves the shared app-server running.
|
|
87
|
+
- `iam stop --all` stops both IAM-managed background services.
|
|
88
|
+
- `iam unregister` removes IAM's managed MCP block and project registration while preserving mailbox data.
|
|
89
|
+
|
|
90
|
+
## Setup behavior
|
|
91
|
+
|
|
92
|
+
`iam setup` is safe to run again. It:
|
|
93
|
+
|
|
94
|
+
1. Initializes the project's durable mailbox.
|
|
95
|
+
2. Records its project directory and safety policy.
|
|
96
|
+
3. Adds a clearly marked `mcp_servers.interagentmail` block to `.codex/config.toml`.
|
|
97
|
+
4. Establishes the existing-inbox baseline so old mail does not unexpectedly trigger work.
|
|
98
|
+
|
|
99
|
+
Use `iam setup --process-existing` when existing inbox messages should be delivered immediately.
|
|
100
|
+
|
|
101
|
+
Installed releases keep data under `%LOCALAPPDATA%\InterAgentMail` on Windows or `~/.local/share/interagentmail` on macOS/Linux. Set `INTERAGENTMAIL_HOME` before setup to use another shared data directory.
|
|
102
|
+
|
|
103
|
+
## Safety
|
|
104
|
+
|
|
105
|
+
New agents use `workspace-write` with `on-request` approvals. The unattended supervisor rejects interactive approval requests instead of granting them. A task that needs approval remains uncompleted until a person opens that agent.
|
|
106
|
+
|
|
107
|
+
Only for a trusted project that genuinely requires unrestricted filesystem and network access:
|
|
108
|
+
|
|
109
|
+
```console
|
|
110
|
+
iam setup "C:\Projects\SecurityReviewer" --full-access
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
InterAgentMail is a local coordination mechanism, not an authentication boundary. Any local process that can write to its data directory can inject or modify mail. Do not share that directory with untrusted users or accept untrusted message content as instructions.
|
|
114
|
+
|
|
115
|
+
## Sending mail
|
|
116
|
+
|
|
117
|
+
Agents normally use the project-bound InterAgentMail MCP tools. People and fallback workflows can use the CLI:
|
|
118
|
+
|
|
119
|
+
```console
|
|
120
|
+
interagentmail send --project-root "C:\Projects\MainApp" --to SecurityReviewer --subject "Security review" --body "Review the current release and send back actionable findings."
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
The receiving supervisor wakes the correct Codex thread. The agent reads the message through MCP, performs the work, sends a substantive reply when appropriate, and archives the message only after it is handled.
|
|
124
|
+
|
|
125
|
+
Protocol and low-level bridge details are in [SYSTEM.md](SYSTEM.md). Release history is in [CHANGELOG.md](CHANGELOG.md).
|
|
126
|
+
|
|
127
|
+
## License
|
|
128
|
+
|
|
129
|
+
InterAgentMail is open-source software released under the [MIT License](LICENSE). Use it, modify it, distribute it, and build on it. Copyright 2026 Cerberus Game Labs.
|
|
130
|
+
|
|
131
|
+
Contributions are welcome; see [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
iam_codex_bridge.py,sha256=4jXJCUlpVywr_MXnxckl2c7g4gr8Ko5-gaUb3WSGHPo,26557
|
|
2
|
+
iam_mcp_server.py,sha256=8LVSmYmKEHpdilZvW9ftRRqwz-wQv11zyhPt90Fm9mg,4630
|
|
3
|
+
iam_orchestrator.py,sha256=PvOLWSfdnusWWEdJa1BHR92Qe7e8s_Scl4xS0OtK3uw,21850
|
|
4
|
+
iam_service.py,sha256=gZ2UEwxW_2buQTs0jSrfumAf52Um1WuSI6zK4RgGb6g,8604
|
|
5
|
+
interagentmail.py,sha256=sRAA4AxrHAlKf0rHYsfwtyWlmT0JUPGVS2aWLxAVBRw,25938
|
|
6
|
+
cgl_interagentmail-1.1.0.dist-info/licenses/LICENSE,sha256=767lYEjJtOZCywiuXf_wJc8ojBtmn3YK53iyxxYa1Ns,1075
|
|
7
|
+
cgl_interagentmail-1.1.0.dist-info/METADATA,sha256=6cBTkVRWeyZeQgDBiodEMN2WQO2PNBFMFq-VXJnekSw,5567
|
|
8
|
+
cgl_interagentmail-1.1.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
9
|
+
cgl_interagentmail-1.1.0.dist-info/entry_points.txt,sha256=RuLSzBLHMk8gIxl6PkVv1al4ZWpmqW6wC9rZdXQ5MI0,154
|
|
10
|
+
cgl_interagentmail-1.1.0.dist-info/top_level.txt,sha256=P4tyYGK0HGGaeaahDesDCZNPrZb47lCmJNioua1ssf8,76
|
|
11
|
+
cgl_interagentmail-1.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Cerberus Game Labs
|
|
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.
|