conduct-cli 0.2.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.
- conduct_cli/__init__.py +0 -0
- conduct_cli/api.py +100 -0
- conduct_cli/guard.py +421 -0
- conduct_cli/main.py +1154 -0
- conduct_cli-0.2.0.dist-info/METADATA +108 -0
- conduct_cli-0.2.0.dist-info/RECORD +9 -0
- conduct_cli-0.2.0.dist-info/WHEEL +5 -0
- conduct_cli-0.2.0.dist-info/entry_points.txt +2 -0
- conduct_cli-0.2.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: conduct-cli
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: CLI for Conduct AI — install agents, manage projects, run tests
|
|
5
|
+
Author-email: Conduct AI <hello@conductai.ai>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://conductai.ai
|
|
8
|
+
Project-URL: Repository, https://github.com/sseshachala/conductai
|
|
9
|
+
Project-URL: Bug Tracker, https://github.com/sseshachala/conductai/issues
|
|
10
|
+
Keywords: ai,agents,automation,devops,cli
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
21
|
+
Requires-Python: >=3.9
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
Requires-Dist: pyyaml>=6.0
|
|
24
|
+
|
|
25
|
+
# conduct-cli
|
|
26
|
+
|
|
27
|
+
Official CLI for [Conduct AI](https://conductai.ai) — install AI agents, manage projects, and run end-to-end tests from the terminal.
|
|
28
|
+
|
|
29
|
+
## Install
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
pip install conduct-cli
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Quick start
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# Authenticate (one-time)
|
|
39
|
+
conduct login \
|
|
40
|
+
--server https://api.conductai.ai \
|
|
41
|
+
--api-key cond_live_xxx \
|
|
42
|
+
--workspace <workspace-id>
|
|
43
|
+
|
|
44
|
+
# Browse available agents
|
|
45
|
+
conduct playbooks
|
|
46
|
+
|
|
47
|
+
# Create a project and install all agents in one shot
|
|
48
|
+
conduct install-all --project DevOps --repo owner/repo
|
|
49
|
+
|
|
50
|
+
# List installed agents
|
|
51
|
+
conduct agents
|
|
52
|
+
|
|
53
|
+
# Run a test trigger on any agent
|
|
54
|
+
conduct test "PR Reviewer"
|
|
55
|
+
conduct test --all
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Commands
|
|
59
|
+
|
|
60
|
+
| Command | Description |
|
|
61
|
+
|---------|-------------|
|
|
62
|
+
| `conduct login` | Save connection config to `~/.conduct/config.json` |
|
|
63
|
+
| `conduct projects` | List all projects |
|
|
64
|
+
| `conduct create project <name>` | Create a project |
|
|
65
|
+
| `conduct delete project <name>` | Delete a project and all its agents |
|
|
66
|
+
| `conduct reset project <name>` | Delete all agents in a project (clean slate) |
|
|
67
|
+
| `conduct playbooks` | Browse available playbooks |
|
|
68
|
+
| `conduct playbooks <slug>` | Show required inputs for a playbook |
|
|
69
|
+
| `conduct install <slug>` | Install one agent from a playbook |
|
|
70
|
+
| `conduct install-all` | Install all 12 playbooks into a project |
|
|
71
|
+
| `conduct agents` | List all installed agents |
|
|
72
|
+
| `conduct test <name>` | Fire test trigger on an agent and stream results |
|
|
73
|
+
| `conduct test --all` | Test every playbook-based agent |
|
|
74
|
+
|
|
75
|
+
## Authentication
|
|
76
|
+
|
|
77
|
+
Generate an API key from **Settings → API Keys** in the Conduct AI dashboard. Keys start with `cond_live_` and are stored as SHA-256 hashes — the plaintext is shown only once.
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
conduct login --server https://api.conductai.ai --api-key cond_live_xxx --workspace <id>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Install all agents
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
# Installs all 12 playbooks into a project, pointed at your GitHub repo
|
|
87
|
+
conduct install-all --project DevOps --repo myorg/myrepo
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
If the project doesn't exist it's created automatically. Use `--input key=value` to override any playbook input.
|
|
91
|
+
|
|
92
|
+
## Test agents
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# Test a single agent (fires synthetic test payload, streams run events)
|
|
96
|
+
conduct test "Autopilot Quick"
|
|
97
|
+
|
|
98
|
+
# Test all playbook-based agents in sequence
|
|
99
|
+
conduct test --all
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Exit code is `0` if all pass, `1` if any fail — works in CI.
|
|
103
|
+
|
|
104
|
+
## Links
|
|
105
|
+
|
|
106
|
+
- Dashboard: [conductai.ai](https://conductai.ai)
|
|
107
|
+
- Docs: [conductai.ai/docs](https://conductai.ai/docs)
|
|
108
|
+
- Issues: [github.com/sseshachala/conductai/issues](https://github.com/sseshachala/conductai/issues)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
conduct_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
conduct_cli/api.py,sha256=O8yqEElAz3kzbafxR_P3nLWL88FJBa5wPCpmscB4A-Y,3328
|
|
3
|
+
conduct_cli/guard.py,sha256=nDRyVRdgR9R5WAPGvVYUrkQng_Py2QI5CRNHC4zCL0o,14212
|
|
4
|
+
conduct_cli/main.py,sha256=WaabK4qRPlJw5RDh-aRE4ByUrz97qkzTzjxUw6SV-LU,47401
|
|
5
|
+
conduct_cli-0.2.0.dist-info/METADATA,sha256=2Z0R5MJnccHG6Vs6GSBANm9jk54oUkYr_RGxaFjEInc,3546
|
|
6
|
+
conduct_cli-0.2.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
7
|
+
conduct_cli-0.2.0.dist-info/entry_points.txt,sha256=68-I6G0K3jZK1C8LEkIg6DgFzqtvOFMK_LBFnocHbwo,50
|
|
8
|
+
conduct_cli-0.2.0.dist-info/top_level.txt,sha256=6xcTgyhr2zcu52iNgWpYhyMcPEIYj33u28nioXI-Vw0,12
|
|
9
|
+
conduct_cli-0.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
conduct_cli
|