matimo 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,63 @@
1
+ # Dependencies
2
+ **/node_modules/
3
+ package-lock.json
4
+ yarn.lock
5
+
6
+ # Build output
7
+ **/dist/
8
+ *.tsbuildinfo
9
+
10
+ # Python compiled / build
11
+ **/__pycache__/
12
+ *.py[cod]
13
+ *$py.class
14
+ *.egg-info/
15
+ *.egg
16
+ **/build/
17
+ **/.eggs/
18
+ **/.venv/
19
+ **/.mypy_cache/
20
+ **/.ruff_cache/
21
+ **/.pytest_cache/
22
+
23
+ # Test coverage
24
+ **/coverage/
25
+ **/.nyc_output/
26
+
27
+ # IDE
28
+ .vscode/
29
+ .idea/
30
+ *.swp
31
+ *.swo
32
+ *~
33
+ .DS_Store
34
+
35
+ # Environment
36
+ .env
37
+ .env.local
38
+ .env.*.local
39
+
40
+ # Logs
41
+ *.log
42
+ npm-debug.log*
43
+ yarn-debug.log*
44
+ yarn-error.log*
45
+
46
+ # OS
47
+ .DS_Store
48
+ Thumbs.db
49
+
50
+ # Temporary files
51
+ tmp/
52
+ temp/
53
+ *.tmp
54
+ typescript/examples/mcp/matimo-tools/.matimo-approvals.json
55
+ typescript/examples/mcp/matimo-tools/fetch-weather/definition.yaml
56
+ typescript/examples/mcp/matimo-tools/npm_downloads/definition.yaml
57
+ typescript/examples/mcp/matimo-tools/skills/ecosystem-health/SKILL.md
58
+ typescript/examples/mcp/matimo-tools/skills/matimo-health-check/SKILL.md
59
+ typescript/examples/mcp/matimo-tools/skills/moltbook-identity/SKILL.md
60
+ typescript/packages/cli/.matimo/certs/server.crt
61
+ typescript/packages/cli/.matimo/certs/server.key
62
+ typescript/examples/mcp/.matimo/certs/server.crt
63
+ typescript/examples/mcp/.matimo/certs/server.key
matimo-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,206 @@
1
+ Metadata-Version: 2.4
2
+ Name: matimo
3
+ Version: 0.1.0
4
+ Summary: Matimo — framework-agnostic SDK: pre-built providers, skills layer, MCP out of the box, and autonomous agents governed by a policy engine you control
5
+ Project-URL: Homepage, https://matimo.dev
6
+ Project-URL: Documentation, https://matimo.dev/docs
7
+ Project-URL: Repository, https://github.com/tallclub/matimo
8
+ Project-URL: Issues, https://github.com/tallclub/matimo/issues
9
+ License: MIT
10
+ Keywords: agents,ai,crewai,langchain,matimo,mcp,tools
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
18
+ Classifier: Topic :: Software Development :: Libraries
19
+ Requires-Python: >=3.11
20
+ Requires-Dist: matimo-cli<0.2.0,>=0.1.0a14.post1
21
+ Requires-Dist: matimo-core<0.2.0,>=0.1.0
22
+ Provides-Extra: all
23
+ Requires-Dist: matimo-core[all]; extra == 'all'
24
+ Provides-Extra: aws
25
+ Requires-Dist: matimo-core[aws]; extra == 'aws'
26
+ Provides-Extra: crewai
27
+ Requires-Dist: matimo-core[crewai]; extra == 'crewai'
28
+ Provides-Extra: dotenv
29
+ Requires-Dist: matimo-core[dotenv]; extra == 'dotenv'
30
+ Provides-Extra: langchain
31
+ Requires-Dist: matimo-core[langchain]; extra == 'langchain'
32
+ Provides-Extra: mcp
33
+ Requires-Dist: matimo-core[mcp]; extra == 'mcp'
34
+ Provides-Extra: vault
35
+ Requires-Dist: matimo-core[vault]; extra == 'vault'
36
+ Description-Content-Type: text/markdown
37
+
38
+ # matimo
39
+
40
+ > A framework-agnostic SDK with pre-built providers, a skills knowledge layer, MCP out of the box, and agents that autonomously build new capabilities — governed by a policy engine you control.
41
+
42
+ [![PyPI](https://img.shields.io/pypi/v/matimo)](https://pypi.org/project/matimo/)
43
+ [![Python](https://img.shields.io/pypi/pyversions/matimo)](https://pypi.org/project/matimo/)
44
+ [![Docs](https://img.shields.io/badge/docs-matimo.dev-blue)](https://matimo.dev/docs)
45
+
46
+ `matimo` is the convenience meta-package that installs [`matimo-core`](https://pypi.org/project/matimo-core/) and [`matimo-cli`](https://pypi.org/project/matimo-cli/). Provider packages (Slack, GitHub, Gmail, etc.) are installed separately.
47
+
48
+ ---
49
+
50
+ ## Installation
51
+
52
+ ```bash
53
+ # Core SDK + CLI
54
+ pip install matimo
55
+
56
+ # With optional framework integrations
57
+ pip install "matimo[langchain]" # LangChain support
58
+ pip install "matimo[crewai]" # CrewAI support
59
+ pip install "matimo[mcp]" # MCP server support
60
+
61
+ # With secrets backends
62
+ pip install "matimo[dotenv]" # .env file support
63
+ pip install "matimo[vault]" # HashiCorp Vault
64
+ pip install "matimo[aws]" # AWS Secrets Manager
65
+
66
+ # Everything (all optional integrations)
67
+ pip install "matimo[all]"
68
+
69
+ # With provider packages
70
+ pip install matimo matimo-slack matimo-github matimo-gmail
71
+ ```
72
+
73
+ ---
74
+
75
+ ## Quick Start
76
+
77
+ ### Factory pattern
78
+
79
+ ```python
80
+ import asyncio
81
+ from matimo import Matimo
82
+
83
+ async def main():
84
+ matimo = await Matimo.init('./tools')
85
+ result = await matimo.execute('my_tool', {'param': 'value'})
86
+ print(result)
87
+
88
+ asyncio.run(main())
89
+ ```
90
+
91
+ ### Auto-discover installed providers
92
+
93
+ ```python
94
+ from matimo import Matimo
95
+
96
+ matimo = await Matimo.init(auto_discover=True)
97
+ print([t.name for t in matimo.list_tools()])
98
+ ```
99
+
100
+ ### With provider packages
101
+
102
+ ```python
103
+ from matimo import Matimo
104
+ from matimo_slack import get_tools_path as slack_tools
105
+ from matimo_github import get_tools_path as github_tools
106
+
107
+ matimo = await Matimo.init([slack_tools(), github_tools()])
108
+ result = await matimo.execute('slack_send_channel_message', {
109
+ 'channel': '#general',
110
+ 'text': 'Hello from Matimo!',
111
+ })
112
+ ```
113
+
114
+ ### LangChain agent
115
+
116
+ ```python
117
+ from matimo import Matimo
118
+ from matimo.integrations.langchain import convert_tools_to_langchain
119
+ from langchain_openai import ChatOpenAI
120
+ from langchain.agents import AgentExecutor, create_tool_calling_agent
121
+ from langchain_core.prompts import ChatPromptTemplate
122
+
123
+ matimo = await Matimo.init(auto_discover=True)
124
+ lc_tools = convert_tools_to_langchain(matimo.list_tools(), matimo)
125
+
126
+ llm = ChatOpenAI(model='gpt-4o-mini')
127
+ prompt = ChatPromptTemplate.from_messages([
128
+ ('system', 'You are a helpful assistant.'),
129
+ ('human', '{input}'),
130
+ ('placeholder', '{agent_scratchpad}'),
131
+ ])
132
+ agent = create_tool_calling_agent(llm, lc_tools, prompt)
133
+ executor = AgentExecutor(agent=agent, tools=lc_tools)
134
+ result = await executor.ainvoke({'input': 'List all Slack channels'})
135
+ ```
136
+
137
+ ### CrewAI agent
138
+
139
+ ```python
140
+ from matimo import Matimo
141
+ from matimo.integrations.crewai import convert_tools_to_crewai
142
+
143
+ matimo = await Matimo.init(auto_discover=True)
144
+ crewai_tools = convert_tools_to_crewai(matimo.list_tools(), matimo)
145
+ ```
146
+
147
+ ### MCP server (Claude Desktop / Cursor)
148
+
149
+ ```python
150
+ from matimo import Matimo, create_mcp_server, MCPServerOptions
151
+
152
+ matimo = await Matimo.init(auto_discover=True)
153
+ server = await create_mcp_server(matimo, MCPServerOptions(name='my-agent', version='1.0.0'))
154
+ await server.start()
155
+ ```
156
+
157
+ ---
158
+
159
+ ## Provider Packages
160
+
161
+ Install the tools you need:
162
+
163
+ | Package | Tools | Install |
164
+ |---------|-------|---------|
165
+ | [`matimo-slack`](https://pypi.org/project/matimo-slack/) | Messaging, channels, files, reactions | `pip install matimo-slack` |
166
+ | [`matimo-github`](https://pypi.org/project/matimo-github/) | Repos, issues, PRs, releases | `pip install matimo-github` |
167
+ | [`matimo-gmail`](https://pypi.org/project/matimo-gmail/) | Send, list, read, delete emails | `pip install matimo-gmail` |
168
+ | [`matimo-notion`](https://pypi.org/project/matimo-notion/) | Pages, databases, comments | `pip install matimo-notion` |
169
+ | [`matimo-postgres`](https://pypi.org/project/matimo-postgres/) | Execute SQL queries | `pip install matimo-postgres` |
170
+ | [`matimo-twilio`](https://pypi.org/project/matimo-twilio/) | SMS, MMS, message history | `pip install matimo-twilio` |
171
+ | [`matimo-hubspot`](https://pypi.org/project/matimo-hubspot/) | CRM: contacts, deals, companies | `pip install matimo-hubspot` |
172
+ | [`matimo-mailchimp`](https://pypi.org/project/matimo-mailchimp/) | Campaigns, lists, members | `pip install matimo-mailchimp` |
173
+
174
+ ---
175
+
176
+ ## Key Features
177
+
178
+ - **YAML-defined tools** — define once, use from any framework
179
+ - **10 provider packages** — 100+ pre-built tools ready to use
180
+ - **LangChain / CrewAI / MCP** — first-class integrations
181
+ - **Policy engine** — risk classification, HITL approvals, content validation
182
+ - **Skills system** — inject reusable domain knowledge into agents
183
+ - **Meta-tools** — agents can create, approve, and reload tools at runtime
184
+ - **Secrets management** — env, `.env`, Vault, AWS Secrets Manager resolver chain
185
+ - **Structured logging** — JSON/simple formats, configurable log levels
186
+
187
+ ---
188
+
189
+ ## Documentation
190
+
191
+ - [Getting Started](https://matimo.dev/docs/getting-started/QUICK_START)
192
+ - [API Reference](https://matimo.dev/docs/api-reference/SDK)
193
+ - [LangChain Integration](https://matimo.dev/docs/framework-integrations/LANGCHAIN)
194
+ - [CrewAI Integration](https://matimo.dev/docs/framework-integrations/CREWAI)
195
+ - [MCP Guide](https://matimo.dev/docs/MCP)
196
+ - [Policy & Lifecycle](https://matimo.dev/docs/api-reference/POLICY_AND_LIFECYCLE)
197
+
198
+ ---
199
+
200
+ ## Links
201
+
202
+ - **PyPI:** https://pypi.org/project/matimo/
203
+ - **Docs:** https://matimo.dev/docs
204
+ - **GitHub:** https://github.com/tallclub/matimo
205
+ - **Changelog:** https://github.com/tallclub/matimo/blob/main/docs/RELEASES.md
206
+
matimo-0.1.0/README.md ADDED
@@ -0,0 +1,169 @@
1
+ # matimo
2
+
3
+ > A framework-agnostic SDK with pre-built providers, a skills knowledge layer, MCP out of the box, and agents that autonomously build new capabilities — governed by a policy engine you control.
4
+
5
+ [![PyPI](https://img.shields.io/pypi/v/matimo)](https://pypi.org/project/matimo/)
6
+ [![Python](https://img.shields.io/pypi/pyversions/matimo)](https://pypi.org/project/matimo/)
7
+ [![Docs](https://img.shields.io/badge/docs-matimo.dev-blue)](https://matimo.dev/docs)
8
+
9
+ `matimo` is the convenience meta-package that installs [`matimo-core`](https://pypi.org/project/matimo-core/) and [`matimo-cli`](https://pypi.org/project/matimo-cli/). Provider packages (Slack, GitHub, Gmail, etc.) are installed separately.
10
+
11
+ ---
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ # Core SDK + CLI
17
+ pip install matimo
18
+
19
+ # With optional framework integrations
20
+ pip install "matimo[langchain]" # LangChain support
21
+ pip install "matimo[crewai]" # CrewAI support
22
+ pip install "matimo[mcp]" # MCP server support
23
+
24
+ # With secrets backends
25
+ pip install "matimo[dotenv]" # .env file support
26
+ pip install "matimo[vault]" # HashiCorp Vault
27
+ pip install "matimo[aws]" # AWS Secrets Manager
28
+
29
+ # Everything (all optional integrations)
30
+ pip install "matimo[all]"
31
+
32
+ # With provider packages
33
+ pip install matimo matimo-slack matimo-github matimo-gmail
34
+ ```
35
+
36
+ ---
37
+
38
+ ## Quick Start
39
+
40
+ ### Factory pattern
41
+
42
+ ```python
43
+ import asyncio
44
+ from matimo import Matimo
45
+
46
+ async def main():
47
+ matimo = await Matimo.init('./tools')
48
+ result = await matimo.execute('my_tool', {'param': 'value'})
49
+ print(result)
50
+
51
+ asyncio.run(main())
52
+ ```
53
+
54
+ ### Auto-discover installed providers
55
+
56
+ ```python
57
+ from matimo import Matimo
58
+
59
+ matimo = await Matimo.init(auto_discover=True)
60
+ print([t.name for t in matimo.list_tools()])
61
+ ```
62
+
63
+ ### With provider packages
64
+
65
+ ```python
66
+ from matimo import Matimo
67
+ from matimo_slack import get_tools_path as slack_tools
68
+ from matimo_github import get_tools_path as github_tools
69
+
70
+ matimo = await Matimo.init([slack_tools(), github_tools()])
71
+ result = await matimo.execute('slack_send_channel_message', {
72
+ 'channel': '#general',
73
+ 'text': 'Hello from Matimo!',
74
+ })
75
+ ```
76
+
77
+ ### LangChain agent
78
+
79
+ ```python
80
+ from matimo import Matimo
81
+ from matimo.integrations.langchain import convert_tools_to_langchain
82
+ from langchain_openai import ChatOpenAI
83
+ from langchain.agents import AgentExecutor, create_tool_calling_agent
84
+ from langchain_core.prompts import ChatPromptTemplate
85
+
86
+ matimo = await Matimo.init(auto_discover=True)
87
+ lc_tools = convert_tools_to_langchain(matimo.list_tools(), matimo)
88
+
89
+ llm = ChatOpenAI(model='gpt-4o-mini')
90
+ prompt = ChatPromptTemplate.from_messages([
91
+ ('system', 'You are a helpful assistant.'),
92
+ ('human', '{input}'),
93
+ ('placeholder', '{agent_scratchpad}'),
94
+ ])
95
+ agent = create_tool_calling_agent(llm, lc_tools, prompt)
96
+ executor = AgentExecutor(agent=agent, tools=lc_tools)
97
+ result = await executor.ainvoke({'input': 'List all Slack channels'})
98
+ ```
99
+
100
+ ### CrewAI agent
101
+
102
+ ```python
103
+ from matimo import Matimo
104
+ from matimo.integrations.crewai import convert_tools_to_crewai
105
+
106
+ matimo = await Matimo.init(auto_discover=True)
107
+ crewai_tools = convert_tools_to_crewai(matimo.list_tools(), matimo)
108
+ ```
109
+
110
+ ### MCP server (Claude Desktop / Cursor)
111
+
112
+ ```python
113
+ from matimo import Matimo, create_mcp_server, MCPServerOptions
114
+
115
+ matimo = await Matimo.init(auto_discover=True)
116
+ server = await create_mcp_server(matimo, MCPServerOptions(name='my-agent', version='1.0.0'))
117
+ await server.start()
118
+ ```
119
+
120
+ ---
121
+
122
+ ## Provider Packages
123
+
124
+ Install the tools you need:
125
+
126
+ | Package | Tools | Install |
127
+ |---------|-------|---------|
128
+ | [`matimo-slack`](https://pypi.org/project/matimo-slack/) | Messaging, channels, files, reactions | `pip install matimo-slack` |
129
+ | [`matimo-github`](https://pypi.org/project/matimo-github/) | Repos, issues, PRs, releases | `pip install matimo-github` |
130
+ | [`matimo-gmail`](https://pypi.org/project/matimo-gmail/) | Send, list, read, delete emails | `pip install matimo-gmail` |
131
+ | [`matimo-notion`](https://pypi.org/project/matimo-notion/) | Pages, databases, comments | `pip install matimo-notion` |
132
+ | [`matimo-postgres`](https://pypi.org/project/matimo-postgres/) | Execute SQL queries | `pip install matimo-postgres` |
133
+ | [`matimo-twilio`](https://pypi.org/project/matimo-twilio/) | SMS, MMS, message history | `pip install matimo-twilio` |
134
+ | [`matimo-hubspot`](https://pypi.org/project/matimo-hubspot/) | CRM: contacts, deals, companies | `pip install matimo-hubspot` |
135
+ | [`matimo-mailchimp`](https://pypi.org/project/matimo-mailchimp/) | Campaigns, lists, members | `pip install matimo-mailchimp` |
136
+
137
+ ---
138
+
139
+ ## Key Features
140
+
141
+ - **YAML-defined tools** — define once, use from any framework
142
+ - **10 provider packages** — 100+ pre-built tools ready to use
143
+ - **LangChain / CrewAI / MCP** — first-class integrations
144
+ - **Policy engine** — risk classification, HITL approvals, content validation
145
+ - **Skills system** — inject reusable domain knowledge into agents
146
+ - **Meta-tools** — agents can create, approve, and reload tools at runtime
147
+ - **Secrets management** — env, `.env`, Vault, AWS Secrets Manager resolver chain
148
+ - **Structured logging** — JSON/simple formats, configurable log levels
149
+
150
+ ---
151
+
152
+ ## Documentation
153
+
154
+ - [Getting Started](https://matimo.dev/docs/getting-started/QUICK_START)
155
+ - [API Reference](https://matimo.dev/docs/api-reference/SDK)
156
+ - [LangChain Integration](https://matimo.dev/docs/framework-integrations/LANGCHAIN)
157
+ - [CrewAI Integration](https://matimo.dev/docs/framework-integrations/CREWAI)
158
+ - [MCP Guide](https://matimo.dev/docs/MCP)
159
+ - [Policy & Lifecycle](https://matimo.dev/docs/api-reference/POLICY_AND_LIFECYCLE)
160
+
161
+ ---
162
+
163
+ ## Links
164
+
165
+ - **PyPI:** https://pypi.org/project/matimo/
166
+ - **Docs:** https://matimo.dev/docs
167
+ - **GitHub:** https://github.com/tallclub/matimo
168
+ - **Changelog:** https://github.com/tallclub/matimo/blob/main/docs/RELEASES.md
169
+
@@ -0,0 +1,51 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "matimo"
7
+ version = "0.1.0"
8
+ description = "Matimo — framework-agnostic SDK: pre-built providers, skills layer, MCP out of the box, and autonomous agents governed by a policy engine you control"
9
+ readme = "README.md"
10
+ license = { text = "MIT" }
11
+ requires-python = ">=3.11"
12
+ keywords = ["ai", "tools", "agents", "langchain", "crewai", "mcp", "matimo"]
13
+ classifiers = [
14
+ "Development Status :: 4 - Beta",
15
+ "Intended Audience :: Developers",
16
+ "License :: OSI Approved :: MIT License",
17
+ "Programming Language :: Python :: 3",
18
+ "Programming Language :: Python :: 3.11",
19
+ "Programming Language :: Python :: 3.12",
20
+ "Topic :: Software Development :: Libraries",
21
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
22
+ ]
23
+ # This is a meta-package: pip install matimo pulls in matimo-core and matimo-cli
24
+ # which provides the actual `matimo` Python namespace and CLI tools.
25
+ dependencies = [
26
+ "matimo-core>=0.1.0,<0.2.0",
27
+ "matimo-cli>=0.1.0a14.post1,<0.2.0",
28
+ ]
29
+
30
+ [project.optional-dependencies]
31
+ langchain = ["matimo-core[langchain]"]
32
+ crewai = ["matimo-core[crewai]"]
33
+ mcp = ["matimo-core[mcp]"]
34
+ dotenv = ["matimo-core[dotenv]"]
35
+ vault = ["matimo-core[vault]"]
36
+ aws = ["matimo-core[aws]"]
37
+ all = ["matimo-core[all]"]
38
+
39
+ [project.urls]
40
+ Homepage = "https://matimo.dev"
41
+ Documentation = "https://matimo.dev/docs"
42
+ Repository = "https://github.com/tallclub/matimo"
43
+ Issues = "https://github.com/tallclub/matimo/issues"
44
+
45
+ # Matimo is a meta-package that pulls in matimo-core and optionally providers.
46
+ # It includes a minimal __init__.py that re-exports matimo-core.
47
+ [tool.hatch.build.targets.wheel]
48
+ packages = ["src/matimo"]
49
+
50
+ [tool.hatch.build.targets.sdist]
51
+ include = ["src/", "README.md", "../../../LICENSE"]
@@ -0,0 +1,5 @@
1
+ # Matimo meta-package.
2
+ # This package declares dependencies on matimo-core and matimo-cli.
3
+ # The actual `matimo` Python namespace is provided by matimo-core.
4
+ # Install with: pip install matimo
5
+