openagno 1.2.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.
Files changed (94) hide show
  1. openagno-1.2.0/LICENSE +201 -0
  2. openagno-1.2.0/PKG-INFO +231 -0
  3. openagno-1.2.0/README.md +180 -0
  4. openagno-1.2.0/gateway.py +849 -0
  5. openagno-1.2.0/loader.py +1003 -0
  6. openagno-1.2.0/management/__init__.py +8 -0
  7. openagno-1.2.0/management/admin.py +269 -0
  8. openagno-1.2.0/management/cli.py +1775 -0
  9. openagno-1.2.0/management/validator.py +330 -0
  10. openagno-1.2.0/openagno/__init__.py +3 -0
  11. openagno-1.2.0/openagno/__main__.py +7 -0
  12. openagno-1.2.0/openagno/cli.py +41 -0
  13. openagno-1.2.0/openagno/commands/__init__.py +1 -0
  14. openagno-1.2.0/openagno/commands/_common.py +211 -0
  15. openagno-1.2.0/openagno/commands/_output.py +36 -0
  16. openagno-1.2.0/openagno/commands/add.py +81 -0
  17. openagno-1.2.0/openagno/commands/create.py +47 -0
  18. openagno-1.2.0/openagno/commands/deploy.py +50 -0
  19. openagno-1.2.0/openagno/commands/init.py +43 -0
  20. openagno-1.2.0/openagno/commands/logs.py +19 -0
  21. openagno-1.2.0/openagno/commands/restart.py +28 -0
  22. openagno-1.2.0/openagno/commands/start.py +27 -0
  23. openagno-1.2.0/openagno/commands/status.py +73 -0
  24. openagno-1.2.0/openagno/commands/stop.py +30 -0
  25. openagno-1.2.0/openagno/commands/templates.py +30 -0
  26. openagno-1.2.0/openagno/commands/validate.py +29 -0
  27. openagno-1.2.0/openagno/core/__init__.py +1 -0
  28. openagno-1.2.0/openagno/core/dedup.py +39 -0
  29. openagno-1.2.0/openagno/core/loader.py +3 -0
  30. openagno-1.2.0/openagno/core/process_utils.py +88 -0
  31. openagno-1.2.0/openagno/core/service_manager.py +3 -0
  32. openagno-1.2.0/openagno/core/tenant.py +197 -0
  33. openagno-1.2.0/openagno/core/tenant_middleware.py +22 -0
  34. openagno-1.2.0/openagno/core/workspace_store.py +100 -0
  35. openagno-1.2.0/openagno/templates/__init__.py +1 -0
  36. openagno-1.2.0/openagno/templates/customer_support/agents/teams.yaml +1 -0
  37. openagno-1.2.0/openagno/templates/customer_support/config.yaml +44 -0
  38. openagno-1.2.0/openagno/templates/customer_support/instructions.md +5 -0
  39. openagno-1.2.0/openagno/templates/customer_support/knowledge/urls.yaml +1 -0
  40. openagno-1.2.0/openagno/templates/customer_support/mcp.yaml +8 -0
  41. openagno-1.2.0/openagno/templates/customer_support/tools.yaml +19 -0
  42. openagno-1.2.0/openagno/templates/developer_assistant/agents/teams.yaml +1 -0
  43. openagno-1.2.0/openagno/templates/developer_assistant/config.yaml +40 -0
  44. openagno-1.2.0/openagno/templates/developer_assistant/instructions.md +5 -0
  45. openagno-1.2.0/openagno/templates/developer_assistant/knowledge/urls.yaml +1 -0
  46. openagno-1.2.0/openagno/templates/developer_assistant/mcp.yaml +8 -0
  47. openagno-1.2.0/openagno/templates/developer_assistant/tools.yaml +21 -0
  48. openagno-1.2.0/openagno/templates/personal_assistant/agents/teams.yaml +1 -0
  49. openagno-1.2.0/openagno/templates/personal_assistant/config.yaml +48 -0
  50. openagno-1.2.0/openagno/templates/personal_assistant/instructions.md +5 -0
  51. openagno-1.2.0/openagno/templates/personal_assistant/knowledge/urls.yaml +1 -0
  52. openagno-1.2.0/openagno/templates/personal_assistant/mcp.yaml +8 -0
  53. openagno-1.2.0/openagno/templates/personal_assistant/tools.yaml +19 -0
  54. openagno-1.2.0/openagno/templates/registry.yaml +26 -0
  55. openagno-1.2.0/openagno/templates/research_agent/agents/teams.yaml +1 -0
  56. openagno-1.2.0/openagno/templates/research_agent/config.yaml +40 -0
  57. openagno-1.2.0/openagno/templates/research_agent/instructions.md +5 -0
  58. openagno-1.2.0/openagno/templates/research_agent/knowledge/urls.yaml +1 -0
  59. openagno-1.2.0/openagno/templates/research_agent/mcp.yaml +8 -0
  60. openagno-1.2.0/openagno/templates/research_agent/tools.yaml +19 -0
  61. openagno-1.2.0/openagno/templates/sales_agent/agents/teams.yaml +1 -0
  62. openagno-1.2.0/openagno/templates/sales_agent/config.yaml +44 -0
  63. openagno-1.2.0/openagno/templates/sales_agent/instructions.md +5 -0
  64. openagno-1.2.0/openagno/templates/sales_agent/knowledge/urls.yaml +1 -0
  65. openagno-1.2.0/openagno/templates/sales_agent/mcp.yaml +8 -0
  66. openagno-1.2.0/openagno/templates/sales_agent/tools.yaml +17 -0
  67. openagno-1.2.0/openagno.egg-info/PKG-INFO +231 -0
  68. openagno-1.2.0/openagno.egg-info/SOURCES.txt +92 -0
  69. openagno-1.2.0/openagno.egg-info/dependency_links.txt +1 -0
  70. openagno-1.2.0/openagno.egg-info/entry_points.txt +2 -0
  71. openagno-1.2.0/openagno.egg-info/requires.txt +44 -0
  72. openagno-1.2.0/openagno.egg-info/top_level.txt +8 -0
  73. openagno-1.2.0/pyproject.toml +71 -0
  74. openagno-1.2.0/routes/__init__.py +0 -0
  75. openagno-1.2.0/routes/knowledge_routes.py +191 -0
  76. openagno-1.2.0/routes/tenant_routes.py +174 -0
  77. openagno-1.2.0/security.py +22 -0
  78. openagno-1.2.0/service_manager.py +223 -0
  79. openagno-1.2.0/setup.cfg +4 -0
  80. openagno-1.2.0/tests/test_cli_commands.py +58 -0
  81. openagno-1.2.0/tests/test_dedup.py +17 -0
  82. openagno-1.2.0/tests/test_ide_configs.py +20 -0
  83. openagno-1.2.0/tests/test_knowledge_routes.py +49 -0
  84. openagno-1.2.0/tests/test_loader.py +259 -0
  85. openagno-1.2.0/tests/test_phase95_cli.py +40 -0
  86. openagno-1.2.0/tests/test_provisioning.py +81 -0
  87. openagno-1.2.0/tests/test_security.py +65 -0
  88. openagno-1.2.0/tests/test_tenant.py +75 -0
  89. openagno-1.2.0/tests/test_validator.py +64 -0
  90. openagno-1.2.0/tests/test_workspace_tools.py +101 -0
  91. openagno-1.2.0/tools/__init__.py +0 -0
  92. openagno-1.2.0/tools/audio_tools.py +133 -0
  93. openagno-1.2.0/tools/scheduler_tools.py +151 -0
  94. openagno-1.2.0/tools/workspace_tools.py +165 -0
openagno-1.2.0/LICENSE ADDED
@@ -0,0 +1,201 @@
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
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such 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
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,231 @@
1
+ Metadata-Version: 2.4
2
+ Name: openagno
3
+ Version: 1.2.0
4
+ Summary: Build autonomous AI agents with declarative YAML configuration
5
+ Requires-Python: >=3.10
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE
8
+ Requires-Dist: agno[os,scheduler]>=1.5.0
9
+ Requires-Dist: aioboto3>=13.0
10
+ Requires-Dist: anthropic>=0.30.0
11
+ Requires-Dist: arxiv>=2.0.0
12
+ Requires-Dist: boto3>=1.35
13
+ Requires-Dist: crawl4ai>=0.4.0
14
+ Requires-Dist: chardet<6,>=5.2
15
+ Requires-Dist: ddgs>=6.0
16
+ Requires-Dist: duckduckgo-search>=6.0
17
+ Requires-Dist: fastapi>=0.110.0
18
+ Requires-Dist: fastmcp>=2.0.0
19
+ Requires-Dist: google-genai>=1.0.0
20
+ Requires-Dist: httpx>=0.27.0
21
+ Requires-Dist: mcp>=1.0.0
22
+ Requires-Dist: mistralai>=1.0.0
23
+ Requires-Dist: openai>=1.30.0
24
+ Requires-Dist: pgvector>=0.3
25
+ Requires-Dist: psycopg[binary]>=3.1
26
+ Requires-Dist: PyGithub>=2.0
27
+ Requires-Dist: python-dotenv>=1.0.0
28
+ Requires-Dist: python-multipart>=0.0.9
29
+ Requires-Dist: pyyaml>=6.0
30
+ Requires-Dist: pyTelegramBotAPI>=4.32.0
31
+ Requires-Dist: rich>=13.0
32
+ Requires-Dist: slack-sdk>=3.41.0
33
+ Requires-Dist: slowapi>=0.1.9
34
+ Requires-Dist: sqlalchemy>=2.0
35
+ Requires-Dist: tavily-python>=0.4.0
36
+ Requires-Dist: typer>=0.12.0
37
+ Requires-Dist: uvicorn>=0.27.0
38
+ Requires-Dist: wikipedia>=1.4.0
39
+ Requires-Dist: wsproto>=1.3.0
40
+ Requires-Dist: yfinance>=0.2.0
41
+ Provides-Extra: dev
42
+ Requires-Dist: build>=1.2.2; extra == "dev"
43
+ Requires-Dist: pytest>=8.0.0; extra == "dev"
44
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
45
+ Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
46
+ Requires-Dist: twine>=5.1.1; extra == "dev"
47
+ Provides-Extra: protocols
48
+ Requires-Dist: a2a-sdk>=0.3.25; extra == "protocols"
49
+ Requires-Dist: ag-ui-protocol>=0.1.14; extra == "protocols"
50
+ Dynamic: license-file
51
+
52
+ # OpenAgno
53
+
54
+ OpenAgno is a declarative agent platform built on **Agno**. It packages a CLI, an AgentOS/FastAPI runtime, reusable workspace templates, MCP support, channel integrations, vector knowledge with PgVector, and a new tenant-aware provisioning layer for multi-tenant deployments.
55
+
56
+ OpenAgno es una plataforma declarativa para agentes construida sobre **Agno**. Incluye una CLI empaquetada, runtime AgentOS/FastAPI, templates reutilizables, soporte MCP, canales, knowledge vectorial con PgVector y una nueva capa tenant-aware para despliegues multi-tenant.
57
+
58
+ ## English
59
+
60
+ ### What exists today
61
+
62
+ - packaged CLI: `openagno`
63
+ - declarative `workspace/` with YAML + Markdown
64
+ - AgentOS runtime with admin, knowledge, and channel routes
65
+ - packaged templates for common assistants
66
+ - WhatsApp, Slack, Telegram, AG-UI, and A2A support
67
+ - PgVector-backed knowledge on PostgreSQL or Supabase
68
+ - public docs with MCP and `llms.txt`
69
+ - tenant provisioning routes and tenant-scoped agent runs
70
+
71
+ ### Installation
72
+
73
+ If `openagno` is already available in your Python index, use:
74
+
75
+ ```bash
76
+ pip install openagno
77
+ ```
78
+
79
+ If not, install from source:
80
+
81
+ ```bash
82
+ git clone https://github.com/israelgo93/OpenAgno.git
83
+ cd OpenAgno
84
+ python3 -m venv .venv
85
+ source .venv/bin/activate
86
+ pip install -e .
87
+ ```
88
+
89
+ For contributors, package builds, tests, and protocol extras:
90
+
91
+ ```bash
92
+ pip install -e '.[dev,protocols]'
93
+ ```
94
+
95
+ ### Quickstart
96
+
97
+ ```bash
98
+ openagno templates list
99
+ openagno init --template personal_assistant
100
+ openagno validate
101
+ openagno start --foreground
102
+ ```
103
+
104
+ Health check:
105
+
106
+ ```bash
107
+ curl http://127.0.0.1:8000/admin/health
108
+ ```
109
+
110
+ ### Tenant provisioning
111
+
112
+ OpenAgno now includes tenant-aware routes:
113
+
114
+ - `POST /tenants`
115
+ - `GET /tenants/{tenant_id}`
116
+ - `PUT /tenants/{tenant_id}/workspace`
117
+ - `POST /tenants/{tenant_id}/agents/{agent_id}/runs`
118
+
119
+ The runtime uses Agno-native isolation with `Knowledge(..., isolate_vector_search=True)` and `knowledge_filters={"linked_to": "<tenant>"}`.
120
+
121
+ ### IDE and AI integration
122
+
123
+ - MCP: `https://docs.openagno.com/mcp`
124
+ - `llms.txt`: `https://docs.openagno.com/llms.txt`
125
+ - config exports: [`ide-configs/cursor-mcp.json`](/home/ubuntu/Proyectos/OpenAgno/ide-configs/cursor-mcp.json), [`ide-configs/vscode-mcp.json`](/home/ubuntu/Proyectos/OpenAgno/ide-configs/vscode-mcp.json), [`ide-configs/windsurf-mcp.json`](/home/ubuntu/Proyectos/OpenAgno/ide-configs/windsurf-mcp.json)
126
+ - project skill: [`SKILL.md`](/home/ubuntu/Proyectos/OpenAgno/.agents/skills/openagno/SKILL.md)
127
+
128
+ ### Repo structure
129
+
130
+ ```text
131
+ OpenAgno/
132
+ openagno/ # CLI, templates, and core helpers
133
+ workspace/ # Declarative runtime configuration
134
+ gateway.py # Runtime entrypoint
135
+ loader.py # Workspace and Agno object builder
136
+ routes/ # Custom REST routes
137
+ tests/ # Regression suite
138
+ docs/ # Mintlify docs site
139
+ ide-configs/ # MCP export templates for IDEs
140
+ ```
141
+
142
+ ## Español
143
+
144
+ ### Qué existe hoy
145
+
146
+ - CLI empaquetada: `openagno`
147
+ - `workspace/` declarativo en YAML + Markdown
148
+ - runtime AgentOS con rutas admin, knowledge y canales
149
+ - templates empaquetados para asistentes comunes
150
+ - soporte para WhatsApp, Slack, Telegram, AG-UI y A2A
151
+ - knowledge con PgVector sobre PostgreSQL o Supabase
152
+ - documentación pública con MCP y `llms.txt`
153
+ - rutas de provisioning tenant-aware y ejecuciones por tenant
154
+
155
+ ### Instalación
156
+
157
+ Si `openagno` ya existe en tu índice Python, usa:
158
+
159
+ ```bash
160
+ pip install openagno
161
+ ```
162
+
163
+ Si todavía no aparece en tu índice o mirror, instala desde el repositorio:
164
+
165
+ ```bash
166
+ git clone https://github.com/israelgo93/OpenAgno.git
167
+ cd OpenAgno
168
+ python3 -m venv .venv
169
+ source .venv/bin/activate
170
+ pip install -e .
171
+ ```
172
+
173
+ Para contributors, builds, tests y extras de protocolos:
174
+
175
+ ```bash
176
+ pip install -e '.[dev,protocols]'
177
+ ```
178
+
179
+ ### Inicio rápido
180
+
181
+ ```bash
182
+ openagno templates list
183
+ openagno init --template personal_assistant
184
+ openagno validate
185
+ openagno start --foreground
186
+ ```
187
+
188
+ Chequeo de salud:
189
+
190
+ ```bash
191
+ curl http://127.0.0.1:8000/admin/health
192
+ ```
193
+
194
+ ### Aprovisionamiento multi-tenant
195
+
196
+ OpenAgno ahora incluye rutas tenant-aware:
197
+
198
+ - `POST /tenants`
199
+ - `GET /tenants/{tenant_id}`
200
+ - `PUT /tenants/{tenant_id}/workspace`
201
+ - `POST /tenants/{tenant_id}/agents/{agent_id}/runs`
202
+
203
+ El runtime usa aislamiento nativo de Agno con `Knowledge(..., isolate_vector_search=True)` y `knowledge_filters={"linked_to": "<tenant>"}`.
204
+
205
+ ### Integración con IDEs y asistentes
206
+
207
+ - MCP: `https://docs.openagno.com/mcp`
208
+ - `llms.txt`: `https://docs.openagno.com/llms.txt`
209
+ - exports en `ide-configs/`
210
+ - skill local en `.agents/skills/openagno/SKILL.md`
211
+
212
+ ## Docs
213
+
214
+ Local preview:
215
+
216
+ ```bash
217
+ cd docs
218
+ npm install
219
+ npm run dev
220
+ ```
221
+
222
+ Broken links:
223
+
224
+ ```bash
225
+ cd docs
226
+ npm run broken-links
227
+ ```
228
+
229
+ ## License
230
+
231
+ Apache 2.0.
@@ -0,0 +1,180 @@
1
+ # OpenAgno
2
+
3
+ OpenAgno is a declarative agent platform built on **Agno**. It packages a CLI, an AgentOS/FastAPI runtime, reusable workspace templates, MCP support, channel integrations, vector knowledge with PgVector, and a new tenant-aware provisioning layer for multi-tenant deployments.
4
+
5
+ OpenAgno es una plataforma declarativa para agentes construida sobre **Agno**. Incluye una CLI empaquetada, runtime AgentOS/FastAPI, templates reutilizables, soporte MCP, canales, knowledge vectorial con PgVector y una nueva capa tenant-aware para despliegues multi-tenant.
6
+
7
+ ## English
8
+
9
+ ### What exists today
10
+
11
+ - packaged CLI: `openagno`
12
+ - declarative `workspace/` with YAML + Markdown
13
+ - AgentOS runtime with admin, knowledge, and channel routes
14
+ - packaged templates for common assistants
15
+ - WhatsApp, Slack, Telegram, AG-UI, and A2A support
16
+ - PgVector-backed knowledge on PostgreSQL or Supabase
17
+ - public docs with MCP and `llms.txt`
18
+ - tenant provisioning routes and tenant-scoped agent runs
19
+
20
+ ### Installation
21
+
22
+ If `openagno` is already available in your Python index, use:
23
+
24
+ ```bash
25
+ pip install openagno
26
+ ```
27
+
28
+ If not, install from source:
29
+
30
+ ```bash
31
+ git clone https://github.com/israelgo93/OpenAgno.git
32
+ cd OpenAgno
33
+ python3 -m venv .venv
34
+ source .venv/bin/activate
35
+ pip install -e .
36
+ ```
37
+
38
+ For contributors, package builds, tests, and protocol extras:
39
+
40
+ ```bash
41
+ pip install -e '.[dev,protocols]'
42
+ ```
43
+
44
+ ### Quickstart
45
+
46
+ ```bash
47
+ openagno templates list
48
+ openagno init --template personal_assistant
49
+ openagno validate
50
+ openagno start --foreground
51
+ ```
52
+
53
+ Health check:
54
+
55
+ ```bash
56
+ curl http://127.0.0.1:8000/admin/health
57
+ ```
58
+
59
+ ### Tenant provisioning
60
+
61
+ OpenAgno now includes tenant-aware routes:
62
+
63
+ - `POST /tenants`
64
+ - `GET /tenants/{tenant_id}`
65
+ - `PUT /tenants/{tenant_id}/workspace`
66
+ - `POST /tenants/{tenant_id}/agents/{agent_id}/runs`
67
+
68
+ The runtime uses Agno-native isolation with `Knowledge(..., isolate_vector_search=True)` and `knowledge_filters={"linked_to": "<tenant>"}`.
69
+
70
+ ### IDE and AI integration
71
+
72
+ - MCP: `https://docs.openagno.com/mcp`
73
+ - `llms.txt`: `https://docs.openagno.com/llms.txt`
74
+ - config exports: [`ide-configs/cursor-mcp.json`](/home/ubuntu/Proyectos/OpenAgno/ide-configs/cursor-mcp.json), [`ide-configs/vscode-mcp.json`](/home/ubuntu/Proyectos/OpenAgno/ide-configs/vscode-mcp.json), [`ide-configs/windsurf-mcp.json`](/home/ubuntu/Proyectos/OpenAgno/ide-configs/windsurf-mcp.json)
75
+ - project skill: [`SKILL.md`](/home/ubuntu/Proyectos/OpenAgno/.agents/skills/openagno/SKILL.md)
76
+
77
+ ### Repo structure
78
+
79
+ ```text
80
+ OpenAgno/
81
+ openagno/ # CLI, templates, and core helpers
82
+ workspace/ # Declarative runtime configuration
83
+ gateway.py # Runtime entrypoint
84
+ loader.py # Workspace and Agno object builder
85
+ routes/ # Custom REST routes
86
+ tests/ # Regression suite
87
+ docs/ # Mintlify docs site
88
+ ide-configs/ # MCP export templates for IDEs
89
+ ```
90
+
91
+ ## Español
92
+
93
+ ### Qué existe hoy
94
+
95
+ - CLI empaquetada: `openagno`
96
+ - `workspace/` declarativo en YAML + Markdown
97
+ - runtime AgentOS con rutas admin, knowledge y canales
98
+ - templates empaquetados para asistentes comunes
99
+ - soporte para WhatsApp, Slack, Telegram, AG-UI y A2A
100
+ - knowledge con PgVector sobre PostgreSQL o Supabase
101
+ - documentación pública con MCP y `llms.txt`
102
+ - rutas de provisioning tenant-aware y ejecuciones por tenant
103
+
104
+ ### Instalación
105
+
106
+ Si `openagno` ya existe en tu índice Python, usa:
107
+
108
+ ```bash
109
+ pip install openagno
110
+ ```
111
+
112
+ Si todavía no aparece en tu índice o mirror, instala desde el repositorio:
113
+
114
+ ```bash
115
+ git clone https://github.com/israelgo93/OpenAgno.git
116
+ cd OpenAgno
117
+ python3 -m venv .venv
118
+ source .venv/bin/activate
119
+ pip install -e .
120
+ ```
121
+
122
+ Para contributors, builds, tests y extras de protocolos:
123
+
124
+ ```bash
125
+ pip install -e '.[dev,protocols]'
126
+ ```
127
+
128
+ ### Inicio rápido
129
+
130
+ ```bash
131
+ openagno templates list
132
+ openagno init --template personal_assistant
133
+ openagno validate
134
+ openagno start --foreground
135
+ ```
136
+
137
+ Chequeo de salud:
138
+
139
+ ```bash
140
+ curl http://127.0.0.1:8000/admin/health
141
+ ```
142
+
143
+ ### Aprovisionamiento multi-tenant
144
+
145
+ OpenAgno ahora incluye rutas tenant-aware:
146
+
147
+ - `POST /tenants`
148
+ - `GET /tenants/{tenant_id}`
149
+ - `PUT /tenants/{tenant_id}/workspace`
150
+ - `POST /tenants/{tenant_id}/agents/{agent_id}/runs`
151
+
152
+ El runtime usa aislamiento nativo de Agno con `Knowledge(..., isolate_vector_search=True)` y `knowledge_filters={"linked_to": "<tenant>"}`.
153
+
154
+ ### Integración con IDEs y asistentes
155
+
156
+ - MCP: `https://docs.openagno.com/mcp`
157
+ - `llms.txt`: `https://docs.openagno.com/llms.txt`
158
+ - exports en `ide-configs/`
159
+ - skill local en `.agents/skills/openagno/SKILL.md`
160
+
161
+ ## Docs
162
+
163
+ Local preview:
164
+
165
+ ```bash
166
+ cd docs
167
+ npm install
168
+ npm run dev
169
+ ```
170
+
171
+ Broken links:
172
+
173
+ ```bash
174
+ cd docs
175
+ npm run broken-links
176
+ ```
177
+
178
+ ## License
179
+
180
+ Apache 2.0.