agentify-toolkit 0.4.3a1__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.
@@ -0,0 +1,345 @@
1
+ Metadata-Version: 2.4
2
+ Name: agentify_toolkit
3
+ Version: 0.4.3a1
4
+ Summary: Declarative AI toolkit
5
+ Author-email: Lewis Sheridan <lewis@backplane.dev>
6
+ License: Apache License
7
+ Version 2.0, January 2004
8
+ http://www.apache.org/licenses/
9
+
10
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
11
+
12
+ 1. Definitions.
13
+ "License" shall mean the terms and conditions for use, reproduction,
14
+ and distribution as defined by Sections 1 through 9 of this document.
15
+
16
+ "Licensor" shall mean the copyright owner or entity authorized by
17
+ the copyright owner that is granting the License.
18
+
19
+ "Legal Entity" shall mean the union of the acting entity and all
20
+ other entities that control, are controlled by, or are under common
21
+ control with that entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work.
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship.
43
+
44
+ "Contribution" shall mean any work of authorship, including
45
+ the original version of the Work and any modifications or additions
46
+ to that Work or Derivative Works thereof, that is intentionally
47
+ submitted to Licensor for inclusion in the Work by the copyright owner
48
+ or by an individual or Legal Entity authorized to submit on behalf of
49
+ the copyright owner.
50
+
51
+ "Contributor" shall mean Licensor and any individual or Legal Entity
52
+ on behalf of whom a Contribution has been received by Licensor and
53
+ subsequently incorporated within the Work.
54
+
55
+ 2. Grant of Copyright License.
56
+ Subject to the terms and conditions of this License, each Contributor
57
+ hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
58
+ royalty-free, irrevocable copyright license to reproduce, prepare
59
+ Derivative Works of, publicly display, publicly perform, sublicense,
60
+ and distribute the Work and such Derivative Works in Source or Object
61
+ form.
62
+
63
+ 3. Grant of Patent License.
64
+ Subject to the terms and conditions of this License, each Contributor
65
+ hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
66
+ royalty-free, irrevocable patent license to make, have made, use,
67
+ offer to sell, sell, import, and otherwise transfer the Work.
68
+
69
+ 4. Redistribution.
70
+ You may reproduce and distribute copies of the Work or Derivative
71
+ Works thereof in any medium, with or without modifications, provided
72
+ that You meet the following conditions:
73
+
74
+ (a) You must give any other recipients of the Work or
75
+ Derivative Works a copy of this License; and
76
+
77
+ (b) You must cause any modified files to carry prominent notices
78
+ stating that You changed the files; and
79
+
80
+ (c) You must retain, in the Source form of any Derivative Works,
81
+ all copyright, patent, trademark, and attribution notices.
82
+
83
+ 5. Submission of Contributions.
84
+ Unless You explicitly state otherwise, any Contribution intentionally
85
+ submitted for inclusion in the Work shall be under the terms and
86
+ conditions of this License.
87
+
88
+ 6. Trademarks.
89
+ This License does not grant permission to use the trade names,
90
+ trademarks, service marks, or product names of the Licensor.
91
+
92
+ 7. Disclaimer of Warranty.
93
+ Unless required by applicable law or agreed to in writing, Licensor
94
+ provides the Work on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
95
+ OF ANY KIND.
96
+
97
+ 8. Limitation of Liability.
98
+ In no event shall any Contributor be liable for any damages arising
99
+ from the use of the Work.
100
+
101
+ 9. Accepting Warranty or Additional Liability.
102
+ While redistributing the Work, You may choose to offer support or
103
+ warranty obligations on Your own behalf.
104
+
105
+ END OF TERMS AND CONDITIONS
106
+
107
+ Project-URL: Homepage, https://github.com/backplane-cloud/agentify-toolkit
108
+ Project-URL: Issues, https://github.com/backplane-cloud/agentify-toolkit/issues
109
+ Keywords: ai,agents,llm,openai,anthropic,bedrock
110
+ Classifier: License :: OSI Approved :: Apache Software License
111
+ Classifier: Programming Language :: Python :: 3.10
112
+ Classifier: Development Status :: 3 - Alpha
113
+ Classifier: Intended Audience :: Developers
114
+ Requires-Python: >=3.10
115
+ Description-Content-Type: text/markdown
116
+ License-File: LICENSE
117
+ License-File: NOTICE
118
+ Requires-Dist: pyyaml>=6.0
119
+ Requires-Dist: rich>=13.0
120
+ Requires-Dist: click>=8.1
121
+ Requires-Dist: openai>=1.0
122
+ Requires-Dist: anthropic>=0.25
123
+ Requires-Dist: boto3>=1.34
124
+ Requires-Dist: xai_sdk>=1.5.0
125
+ Requires-Dist: google-genai>=0.8
126
+ Requires-Dist: fastapi<1.0.0,>=0.128.0
127
+ Requires-Dist: uvicorn>=0.26
128
+ Requires-Dist: python-multipart>=0.0.6
129
+ Dynamic: license-file
130
+
131
+ # 📦 Agentify - Declarative AI Agent Toolkit
132
+
133
+ [![PyPI](https://img.shields.io/pypi/v/agentify)](https://pypi.org/project/agentify-toolkit/)
134
+ [![Python Version](https://img.shields.io/pypi/pyversions/agentify)](https://www.python.org/)
135
+ [![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)
136
+ [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/backplane-cloud/agentify-toolkit/blob/main/examples/notebooks/Agentify_Developer_Quickstart.ipynb)
137
+
138
+ **Build and experiment with AI agents using simple declarative specs.**
139
+
140
+ Agentify is a lightweight, declarative-first toolkit for prototyping AI agents. It lets you define agents as YAML specs and test them rapidly from the CLI or Python, without committing to a framework or model provider.
141
+
142
+ > Use YAML for declarative specs, or Python for full control - both use the same agent model.
143
+
144
+ > Note: Agentify is not a workflow orchestrator, runtime platform, or production framework. It’s for rapid Agent building, experimentation and prototyping.
145
+
146
+ ## Why Agentify ?
147
+
148
+ Most agent frameworks optimise for running agents - orchestration, routing, retries, supervision, cloud execution.
149
+
150
+ But before production comes a more important phase:
151
+ **figuring out what the agent should even do.**
152
+
153
+ Agentify optimises for that phase.
154
+
155
+ ### Designed For:
156
+
157
+ ✔ Rapid agent prototyping & ideation
158
+
159
+ ✔ Teams exploring internal AI use cases
160
+
161
+ ✔ Startups validating agent product ideas
162
+
163
+ ✔ Teaching & education (low cognitive overhead)
164
+
165
+ ✔ Provider portability (no early lock-in)
166
+
167
+ ## Quickstart
168
+
169
+ ### 1. Install
170
+
171
+ ```bash
172
+ pip install agentify-toolkit
173
+ ```
174
+
175
+ ### 2. Add an LLM Provider Key
176
+
177
+ ```bash
178
+ # anthropic | openai | xai | google | bedrock
179
+ agentify providers add <provider>
180
+ ```
181
+
182
+ Verify:
183
+
184
+ ```bash
185
+ agentify providers list
186
+ ```
187
+
188
+ Example Output:
189
+
190
+ ```bash
191
+ anthropic
192
+ env: ANTHROPIC_API_KEY
193
+ status: READY
194
+ ```
195
+
196
+ ### 3. Create an Agent (YAML)
197
+
198
+ ```yaml
199
+ name: claude
200
+ description: AI Engineer
201
+ version: 0.1.0
202
+ model:
203
+ provider: anthropic
204
+ id: claude-sonnet-4-5
205
+ api_key_env: ANTHROPIC_API_KEY
206
+ role: |
207
+ You are an AI Security Engineer.
208
+ Provide concise, practical answers with examples.
209
+ ```
210
+
211
+ ### 4. Run the Agent
212
+
213
+ ```bash
214
+ agentify run agent.yaml
215
+ ```
216
+
217
+ **You’ve just built your first AI agent with Agentify!**
218
+
219
+ > 💡 Tip: Running multiple agents
220
+
221
+ If you have multiple agents, put them in a single folder and run `agentify run <foldername>`. Agentify will provide an interactive menu so you can choose which agent you want to experiment with.
222
+
223
+ > 💡 Tip: Overriding the model
224
+
225
+ If you want to experiment with a different model, simply add `--provider=openai model=gpt-5-nano` to your call. Ensure you have registered the appropriate provider API key.
226
+
227
+ ```bash
228
+ agentify run agent.yaml --provider=openai --model=gpt-5-nano
229
+ ```
230
+
231
+ ## Core Ideas
232
+
233
+ ### 1. Declarative Agents (YAML-first)
234
+
235
+ Agents become artifacts:
236
+
237
+ - version controlled
238
+ - diffable
239
+ - shareable
240
+ - auditable
241
+
242
+ ### 2. Provider Abstraction Without Lock-in
243
+
244
+ Most ecosystems ask:
245
+
246
+ > “Am I building on OpenAI, Anthropic, Bedrock, XAI, or Google?”
247
+
248
+ Agentify flips it:
249
+
250
+ > “The agent spec stays the same - only the provider changes.”
251
+
252
+ ### 3. CLI-first Exploration
253
+
254
+ CLI interaction is fast, ergonomic, and repeatable:
255
+
256
+ ```bash
257
+ agentify run agent.yaml
258
+ ```
259
+
260
+ ### 4. Agent = Single File
261
+
262
+ Agents collapse to a spec, not a codebase
263
+
264
+ ### Key Features
265
+
266
+ - Declarative agent definitions via YAML
267
+
268
+ - Multi-provider LLM support (OpenAI, Anthropic, XAI, Gemini, Bedrock)
269
+
270
+ - Interactive CLI and TUI for exploring agents
271
+
272
+ - Programmatic API for custom workflows
273
+
274
+ - Lightweight: Click + Rich + PyYAML
275
+
276
+ ### Documentation & Notebooks
277
+
278
+ Prefer a guided walkthrough?
279
+
280
+ - Developer Quickstart (Notebook)
281
+ `examples/notebooks/Agentify_Developer_Quickstart.ipynb`
282
+
283
+ - YAML Deep Dive
284
+ `examples/notebooks/Agentify_YAML_Deep_Dive.ipynb`
285
+
286
+ ## Programmatic Usage
287
+
288
+ ```python
289
+ from agentify import Agent
290
+
291
+ agent = Agent(
292
+ name="Grok",
293
+ description="X's Grok Agent",
294
+ provider="x",
295
+ model_id="grok-4",
296
+ role="You are an AI Security Architect specialising in X AI Grok models"
297
+ )
298
+
299
+ response = agent.run("Which AI LLM is the best in 1 sentence?")
300
+ print(response)
301
+ ```
302
+
303
+ ### CLI Reference
304
+
305
+ | Action | Command |
306
+ | ------------------------- | ---------------------------- |
307
+ | Run from YAML | `agentify run agent.yaml` |
308
+ | Run folder of agents | `agentify run agents/` |
309
+ | List agents interactively | `agentify list agents` |
310
+ | Add a provider API key | `agentify providers add <p>` |
311
+ | List provider credentials | `agentify providers list` |
312
+
313
+ ## Supported Providers & Keys
314
+
315
+ | Provider | Env Var |
316
+ | ---------- | --------------------------------- |
317
+ | OpenAI | `export OPENAI_API_KEY=...` |
318
+ | Anthropic | `export ANTHROPIC_API_KEY=...` |
319
+ | Gemini | `export GEMINI_API_KEY=...` |
320
+ | XAI (Grok) | `export XAI_API_KEY=...` |
321
+ | Bedrock | `export AWS_BEARER_TOKEN_BEDROCK` |
322
+
323
+ Windows:
324
+
325
+ ```powershell
326
+ $env:OPENAI_API_KEY="..."
327
+ ```
328
+
329
+ Installation from PyPI:
330
+
331
+ ```bash
332
+ pip install agentify-toolkit
333
+ ```
334
+
335
+ From source:
336
+
337
+ ```bash
338
+ git clone https://github.com/backplane-cloud/agentify-toolkit.git
339
+ cd agentify-toolkit
340
+ pip install .
341
+ ```
342
+
343
+ ## License
344
+
345
+ Apache 2.0 - see LICENSE
@@ -0,0 +1,27 @@
1
+ agentify/__init__.py,sha256=oMcDK6mkYYs286ESmjEZZSR6GkuVAxOMBqHteADxChU,1086
2
+ agentify/agentify.py,sha256=ZYvvg6w8H_kg0JIVdqp7J0gvLi7f6FtLP7yAfKRcwfQ,2245
3
+ agentify/agents.py,sha256=PlNwnP29zxLjOFF9Bz_mnFMQmF8nZPe2qrRX5Gu7hkY,1148
4
+ agentify/cli.py,sha256=qJRHOazFh4Irl-moQUotjbneYG3lsa8KYOB-o5GNkbA,8852
5
+ agentify/cli_config.py,sha256=YAr-zMjmFsTz3GPEs1EUw9l0t4uhvbCDPvrp9HW_8H4,2189
6
+ agentify/cli_ui.py,sha256=sr7a8o19E0TbNIrQ2JXhV4czBAoxJzt631aewqp4Q-g,1349
7
+ agentify/runtime_client.py,sha256=HTMon6UyzjxBXLwx1qNqQlVxKD0Ne5lU6aU3fQUV8dI,702
8
+ agentify/specs.py,sha256=r9UBanXj_y_q7v1NPtWT7KaY5kBU0O6WOrXsE3EOsNQ,469
9
+ agentify/web.py,sha256=ax_aL6wOMXNgF2O0nskzavr9lUU5BpDHOhRxNKuvk5U,2485
10
+ agentify/providers/__init__.py,sha256=6tE9vC8Q3xUQhWhn4KuY6a2A4sMcMiB7wtjjJ7d4srY,152
11
+ agentify/providers/anthropic.py,sha256=SIKNx3GeEScZLlHd9xlqw2tSLvJKM95iEESnQl_DC1s,376
12
+ agentify/providers/bedrock.py,sha256=Vn0J5WhqM7Fl8tdqOGFn8YnctKhQ6VXjS7NNIL11Nw0,815
13
+ agentify/providers/google.py,sha256=-g4f63jg1wlI0nyWJI4xhV9Il2XdDcmtIdWOAHmESpc,241
14
+ agentify/providers/openai.py,sha256=s-YOuMZf8z2WxBbIVRpP0ihoq4QsTPxsnqLgriJh4ng,235
15
+ agentify/providers/x.py,sha256=Cx7X4QBJYCw41L--NSMdsj4U3imhxNoXXUSSwC6Dblo,372
16
+ agentify/ui/basic-chat.css,sha256=xDOeWer2S-6Lqndy6o_IZTIoi8-xP3YJvCY0XBNDpgA,4072
17
+ agentify/ui/chat.css,sha256=xDOeWer2S-6Lqndy6o_IZTIoi8-xP3YJvCY0XBNDpgA,4072
18
+ agentify/ui/chat.html,sha256=-ywd5qeHw5iXHgohUX9jfc2-qlWLSVaKYldrjSZsGLY,3298
19
+ agentify/ui/htmx.min.js,sha256=Iig-9oy3VFkU8KiKG97cclanA9HVgMHSVSF9ClDTExM,51250
20
+ agentify/ui/retro-chat.css,sha256=6W5tEHqzySO-R80RaGR08Z14ucoPira4RGahnzOdxeM,6377
21
+ agentify_toolkit-0.4.3a1.dist-info/licenses/LICENSE,sha256=a9MaBsii4zW-lRU12u_aOjEJJp4JtfaT3csBAzUtUL0,4434
22
+ agentify_toolkit-0.4.3a1.dist-info/licenses/NOTICE,sha256=Q80PKb0Wx4bOrsTTGvqhR6QW38VsvP1u8NEe9RXvlZc,118
23
+ agentify_toolkit-0.4.3a1.dist-info/METADATA,sha256=AeZXCTR3q92QFUQbtttNEF79Z6hDe3LLBLgOijDKcDQ,11585
24
+ agentify_toolkit-0.4.3a1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
+ agentify_toolkit-0.4.3a1.dist-info/entry_points.txt,sha256=lAkisVfpaZIa3KnsztvoTvjmnJHi1yfqJ6foYHe_Si4,47
26
+ agentify_toolkit-0.4.3a1.dist-info/top_level.txt,sha256=CCf3k3CZa3QRordju8w8_I4eMCv7BtsM7rTfq21EkdQ,9
27
+ agentify_toolkit-0.4.3a1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ agentify = agentify.cli:main
@@ -0,0 +1,100 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+ "License" shall mean the terms and conditions for use, reproduction,
9
+ and distribution as defined by Sections 1 through 9 of this document.
10
+
11
+ "Licensor" shall mean the copyright owner or entity authorized by
12
+ the copyright owner that is granting the License.
13
+
14
+ "Legal Entity" shall mean the union of the acting entity and all
15
+ other entities that control, are controlled by, or are under common
16
+ control with that entity.
17
+
18
+ "You" (or "Your") shall mean an individual or Legal Entity
19
+ exercising permissions granted by this License.
20
+
21
+ "Source" form shall mean the preferred form for making modifications,
22
+ including but not limited to software source code, documentation
23
+ source, and configuration files.
24
+
25
+ "Object" form shall mean any form resulting from mechanical
26
+ transformation or translation of a Source form, including but
27
+ not limited to compiled object code, generated documentation,
28
+ and conversions to other media types.
29
+
30
+ "Work" shall mean the work of authorship, whether in Source or
31
+ Object form, made available under the License, as indicated by a
32
+ copyright notice that is included in or attached to the work.
33
+
34
+ "Derivative Works" shall mean any work, whether in Source or Object
35
+ form, that is based on (or derived from) the Work and for which the
36
+ editorial revisions, annotations, elaborations, or other modifications
37
+ represent, as a whole, an original work of authorship.
38
+
39
+ "Contribution" shall mean any work of authorship, including
40
+ the original version of the Work and any modifications or additions
41
+ to that Work or Derivative Works thereof, that is intentionally
42
+ submitted to Licensor for inclusion in the Work by the copyright owner
43
+ or by an individual or Legal Entity authorized to submit on behalf of
44
+ the copyright owner.
45
+
46
+ "Contributor" shall mean Licensor and any individual or Legal Entity
47
+ on behalf of whom a Contribution has been received by Licensor and
48
+ subsequently incorporated within the Work.
49
+
50
+ 2. Grant of Copyright License.
51
+ Subject to the terms and conditions of this License, each Contributor
52
+ hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
53
+ royalty-free, irrevocable copyright license to reproduce, prepare
54
+ Derivative Works of, publicly display, publicly perform, sublicense,
55
+ and distribute the Work and such Derivative Works in Source or Object
56
+ form.
57
+
58
+ 3. Grant of Patent License.
59
+ Subject to the terms and conditions of this License, each Contributor
60
+ hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
61
+ royalty-free, irrevocable patent license to make, have made, use,
62
+ offer to sell, sell, import, and otherwise transfer the Work.
63
+
64
+ 4. Redistribution.
65
+ You may reproduce and distribute copies of the Work or Derivative
66
+ Works thereof in any medium, with or without modifications, provided
67
+ that You meet the following conditions:
68
+
69
+ (a) You must give any other recipients of the Work or
70
+ Derivative Works a copy of this License; and
71
+
72
+ (b) You must cause any modified files to carry prominent notices
73
+ stating that You changed the files; and
74
+
75
+ (c) You must retain, in the Source form of any Derivative Works,
76
+ all copyright, patent, trademark, and attribution notices.
77
+
78
+ 5. Submission of Contributions.
79
+ Unless You explicitly state otherwise, any Contribution intentionally
80
+ submitted for inclusion in the Work shall be under the terms and
81
+ conditions of this License.
82
+
83
+ 6. Trademarks.
84
+ This License does not grant permission to use the trade names,
85
+ trademarks, service marks, or product names of the Licensor.
86
+
87
+ 7. Disclaimer of Warranty.
88
+ Unless required by applicable law or agreed to in writing, Licensor
89
+ provides the Work on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
90
+ OF ANY KIND.
91
+
92
+ 8. Limitation of Liability.
93
+ In no event shall any Contributor be liable for any damages arising
94
+ from the use of the Work.
95
+
96
+ 9. Accepting Warranty or Additional Liability.
97
+ While redistributing the Work, You may choose to offer support or
98
+ warranty obligations on Your own behalf.
99
+
100
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,6 @@
1
+ Agentify
2
+
3
+ Copyright 2026 Backplane
4
+
5
+ This product includes software developed by contributors
6
+ to the Agentify project.
@@ -0,0 +1 @@
1
+ agentify