stacklink-sdk 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.
@@ -0,0 +1,71 @@
1
+ Metadata-Version: 2.4
2
+ Name: stacklink-sdk
3
+ Version: 0.2.0
4
+ Summary: Python SDK for Stacklink sessions, tools, MCP, auth, workbench, logs, knowledge, and billing.
5
+ Author: Stacklink
6
+ License-Expression: LicenseRef-Proprietary
7
+ Project-URL: Documentation, https://docs.stacklink.in/docs/quickstart
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Provides-Extra: openai
12
+ Requires-Dist: openai<3,>=2.0; extra == "openai"
13
+ Provides-Extra: openai-agents
14
+ Requires-Dist: openai-agents<0.19,>=0.18; extra == "openai-agents"
15
+ Provides-Extra: claude-agent
16
+ Requires-Dist: claude-agent-sdk<0.3,>=0.2; extra == "claude-agent"
17
+ Dynamic: license-file
18
+
19
+ # Stacklink Python SDK
20
+
21
+ Stacklink supplies executable, governed tools to an agent harness. The selected harness owns the model call, tool loop, and final answer.
22
+
23
+ Install the public package with the harness extra you use:
24
+
25
+ ```bash
26
+ uv add 'stacklink-sdk[openai-agents]'
27
+ ```
28
+
29
+ or:
30
+
31
+ ```bash
32
+ uv add 'stacklink-sdk[claude-agent]'
33
+ ```
34
+
35
+ The complete guides and certified recipes live at [docs.stacklink.in](https://docs.stacklink.in/docs/quickstart). PyPI is the package delivery system, not the primary documentation surface. Stacklink does not display registry download badges in its product or documentation.
36
+
37
+ ## Certified agent harnesses
38
+
39
+ | Harness | Stacklink adapter |
40
+ |---|---|
41
+ | OpenAI Agents SDK | `create_stacklink_openai_agents_tools(session)` |
42
+ | Claude Agent SDK | `create_stacklink_claude_agent_tool_config(session)` |
43
+
44
+ Both start with one explicit Stacklink session:
45
+
46
+ ```python
47
+ import os
48
+ from stacklink import Stacklink
49
+
50
+ stacklink = Stacklink(
51
+ api_key=os.environ['STACKLINK_API_KEY'],
52
+ base_url=os.getenv('STACKLINK_BASE_URL', 'https://api.stacklink.in'),
53
+ )
54
+ session = stacklink.sessions.create_bound({
55
+ 'externalTenantId': 'acme',
56
+ 'externalUserId': 'user_123',
57
+ 'metaTools': {'surface': 'connector'},
58
+ })
59
+
60
+ try:
61
+ # Pass the selected Stacklink adapter output to your agent harness.
62
+ pass
63
+ finally:
64
+ session.close()
65
+ ```
66
+
67
+ The complete OpenAI Agents and Claude Agent examples shown by the Stacklink Overview are generated from the executable files under `examples/sdk/`. The dashboard, documentation, and certification tests all read those same files.
68
+
69
+ The raw OpenAI `with_stacklink_memory` helper remains a separate Memory integration. It is not the agent-tool integration and is not part of basic Overview onboarding.
70
+
71
+ Environment variables are `STACKLINK_API_KEY`, optional `STACKLINK_BASE_URL`, and the model-provider credentials required by the selected harness. The SDK is proprietary and is provided under the applicable Stacklink agreement.
@@ -0,0 +1,28 @@
1
+ stacklink/__init__.py,sha256=tfKvTb2qlNz2snYZnr83u_OF4E-XB-fg0msBuO4yKYU,1263
2
+ stacklink/api_keys.py,sha256=saqiPIu2tlsFVvLuCDjWoS0P0ThKGZGGSkDeKdGCrnM,460
3
+ stacklink/artifacts.py,sha256=B0AcL3_JuHHBvV2HhRhcZWQFklSkIhFrB6tUu5PS1g8,235
4
+ stacklink/auth_configs.py,sha256=j07EgP9-Pd8eR59FZetxyrXcC2LM7uH46sqAI8LDvqc,1056
5
+ stacklink/billing.py,sha256=YGwpVaSUoX1KsGywMP63t8d6k3me44UGbYQWxYaSxRs,1623
6
+ stacklink/claude_agent.py,sha256=qGmFY6gIHaGOSkpyGW9RSGuN48juIvG12ffNPXqNzns,757
7
+ stacklink/client.py,sha256=bbIlqwTvlN5P_TcdL06CRdPl9s9pxLipqtsmn7We7ZY,12010
8
+ stacklink/connected_accounts.py,sha256=0ZPomv8tEKkz_G8Q8DLTj8TQ2dUsnr5OYqiJAMyC4oM,3986
9
+ stacklink/errors.py,sha256=OUrmPgPx2Z8Bd_w-YI4xAiu05U6ag7x2mzD8TyjanJg,603
10
+ stacklink/executions.py,sha256=i7uvO2Vssm2qPJ_mRDEYNUhNSzXAokY3R5M1gXkJb2c,1754
11
+ stacklink/knowledge.py,sha256=vzRxJIWgHMbH1_v3eRD4vTmYtwQUzNS9XXbfuMwSVr0,798
12
+ stacklink/logs.py,sha256=cf-7VGpFWEcfNeoCTh6b7xp6CdObuJVgRYSy5iYSiJ0,970
13
+ stacklink/mcp.py,sha256=fvYG9c_4m5533FTh5rcu5XVwSUr5j2GuGha4FWzqNaM,2785
14
+ stacklink/memory.py,sha256=UNv9B846B1wPNUr8XjH2GXlzkM85ET-fVqvJzGwwCTM,9275
15
+ stacklink/openai_agents.py,sha256=HV5BJ5Ye3x9sxloUY916pTF-cpVSnSylJXrMS4CwnS4,1197
16
+ stacklink/openai_memory.py,sha256=lz3nh9EWi6FwSFof6dp7WHuErclW8Nlo0uJ29mMuUVM,15460
17
+ stacklink/projects.py,sha256=XZNVz8ZuGvd-fBUSqqDr6mp1ZEv4yf9rLOkXfbE7jYA,658
18
+ stacklink/sessions.py,sha256=4oUAzhNIzNxOwPrxh0klQe2WwIec1vQbpHJjhE0wMnI,8567
19
+ stacklink/tools.py,sha256=ITZN9H7-lms6FLJ44ZIoorDCju2F0NofMM9H9cgaeAU,5635
20
+ stacklink/triggers.py,sha256=RGB7gd_DPbx4PTQWlwMEup8-42yHBkVmr1iVZZ_2Wi0,952
21
+ stacklink/types.py,sha256=kTiEiZCa3hQ-kN7dxY9iVrtcQh65hVX4YMA3KXV52ik,7475
22
+ stacklink/webhooks.py,sha256=-IuoN-e_hD1nSXGp1BAv7ReAzQgDyaJWo9f3_mZBrmg,1091
23
+ stacklink/workbench.py,sha256=se0QMGgc67L3aPKXPbVV9LcuPHGu9Brhb4vt2L9JnQo,37465
24
+ stacklink_sdk-0.2.0.dist-info/licenses/LICENSE,sha256=Je4dQL-m555y5qBe8IhbO-YOFIvC4qZZSfyt67hCCkk,412
25
+ stacklink_sdk-0.2.0.dist-info/METADATA,sha256=TJcv9C2gdjPgZNqM-EwC1iaqnTHiMXSWM_4NxYeH_p4,2641
26
+ stacklink_sdk-0.2.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
27
+ stacklink_sdk-0.2.0.dist-info/top_level.txt,sha256=rGAB6iqp4vzE7YArYOPTZGsAF221SnxNbemNHpzVKgg,10
28
+ stacklink_sdk-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (83.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,9 @@
1
+ Copyright (c) 2026 Stacklink. All rights reserved.
2
+
3
+ This software is proprietary. You may install and use it only to access
4
+ Stacklink services under an agreement with Stacklink. You may not copy,
5
+ modify, redistribute, sublicense, sell, or otherwise make this software
6
+ available to another party except where your agreement with Stacklink
7
+ expressly permits it.
8
+
9
+ This notice must remain with every permitted copy.
@@ -0,0 +1 @@
1
+ stacklink