kalibr 1.1.3a0__py3-none-any.whl → 1.2.1__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,385 @@
1
+ Metadata-Version: 2.4
2
+ Name: kalibr
3
+ Version: 1.2.1
4
+ Summary: Unified LLM Observability & Multi-Model AI Integration Framework - Deploy to GPT, Claude, Gemini, Copilot with full telemetry.
5
+ Author-email: Kalibr Team <support@kalibr.systems>
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/kalibr-ai/kalibr-sdk-python
8
+ Project-URL: Documentation, https://kalibr.systems/docs
9
+ Project-URL: Repository, https://github.com/kalibr-ai/kalibr-sdk-python
10
+ Project-URL: Issues, https://github.com/kalibr-ai/kalibr-sdk-python/issues
11
+ Keywords: ai,mcp,gpt,claude,gemini,copilot,openai,anthropic,google,microsoft,observability,telemetry,tracing,llm,schema-generation,api,multi-model,langchain,crewai
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
+ Requires-Python: >=3.9
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Requires-Dist: httpx>=0.27.0
27
+ Requires-Dist: tiktoken>=0.8.0
28
+ Requires-Dist: fastapi>=0.110.1
29
+ Requires-Dist: uvicorn>=0.25.0
30
+ Requires-Dist: pydantic>=2.6.4
31
+ Requires-Dist: typer>=0.9.0
32
+ Requires-Dist: python-multipart>=0.0.9
33
+ Requires-Dist: rich>=10.0.0
34
+ Requires-Dist: requests>=2.31.0
35
+ Requires-Dist: opentelemetry-api>=1.20.0
36
+ Requires-Dist: opentelemetry-sdk>=1.20.0
37
+ Requires-Dist: opentelemetry-exporter-otlp>=1.20.0
38
+ Provides-Extra: langchain
39
+ Requires-Dist: langchain-core>=0.1.0; extra == "langchain"
40
+ Provides-Extra: langchain-openai
41
+ Requires-Dist: langchain-core>=0.1.0; extra == "langchain-openai"
42
+ Requires-Dist: langchain-openai>=0.1.0; extra == "langchain-openai"
43
+ Provides-Extra: langchain-anthropic
44
+ Requires-Dist: langchain-core>=0.1.0; extra == "langchain-anthropic"
45
+ Requires-Dist: langchain-anthropic>=0.1.0; extra == "langchain-anthropic"
46
+ Provides-Extra: langchain-google
47
+ Requires-Dist: langchain-core>=0.1.0; extra == "langchain-google"
48
+ Requires-Dist: langchain-google-genai>=0.0.10; extra == "langchain-google"
49
+ Provides-Extra: langchain-all
50
+ Requires-Dist: langchain-core>=0.1.0; extra == "langchain-all"
51
+ Requires-Dist: langchain-openai>=0.1.0; extra == "langchain-all"
52
+ Requires-Dist: langchain-anthropic>=0.1.0; extra == "langchain-all"
53
+ Requires-Dist: langchain-google-genai>=0.0.10; extra == "langchain-all"
54
+ Provides-Extra: crewai
55
+ Requires-Dist: crewai>=0.28.0; extra == "crewai"
56
+ Provides-Extra: openai-agents
57
+ Requires-Dist: openai-agents>=0.0.3; extra == "openai-agents"
58
+ Provides-Extra: integrations
59
+ Requires-Dist: langchain-core>=0.1.0; extra == "integrations"
60
+ Requires-Dist: crewai>=0.28.0; extra == "integrations"
61
+ Requires-Dist: openai-agents>=0.0.3; extra == "integrations"
62
+ Provides-Extra: dev
63
+ Requires-Dist: pytest>=7.4.0; extra == "dev"
64
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
65
+ Requires-Dist: black>=23.0.0; extra == "dev"
66
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
67
+ Dynamic: license-file
68
+
69
+ # Kalibr Python SDK
70
+
71
+ Production-grade observability and execution intelligence for LLM applications. Automatically instrument OpenAI, Anthropic, and Google AI SDKs with zero code changes.
72
+
73
+ [![PyPI version](https://img.shields.io/pypi/v/kalibr)](https://pypi.org/project/kalibr/)
74
+ [![Python](https://img.shields.io/pypi/pyversions/kalibr)](https://pypi.org/project/kalibr/)
75
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
76
+
77
+ ## Features
78
+
79
+ - **Zero-code instrumentation** - Automatic tracing for OpenAI, Anthropic, and Google AI SDKs
80
+ - **Outcome-conditioned routing** - Query for optimal models based on historical success rates
81
+ - **TraceCapsule** - Cross-agent context propagation for multi-agent systems
82
+ - **Cost tracking** - Real-time cost calculation for all LLM calls
83
+ - **Token monitoring** - Track input/output tokens across providers
84
+ - **Framework integrations** - LangChain, CrewAI, OpenAI Agents SDK
85
+
86
+ ## Installation
87
+
88
+ ```bash
89
+ pip install kalibr
90
+ ```
91
+
92
+ ## Quick Start
93
+
94
+ ### Auto-instrumentation (Recommended)
95
+
96
+ Simply import `kalibr` at the start of your application - all LLM calls are automatically traced:
97
+
98
+ ```python
99
+ import kalibr # Must be FIRST import
100
+ from openai import OpenAI
101
+
102
+ client = OpenAI()
103
+ response = client.chat.completions.create(
104
+ model="gpt-4o",
105
+ messages=[{"role": "user", "content": "Hello!"}]
106
+ )
107
+ # That's it. The call is automatically traced.
108
+ ```
109
+
110
+ ### Manual Tracing with @trace Decorator
111
+
112
+ For more control, use the `@trace` decorator:
113
+
114
+ ```python
115
+ from kalibr import trace
116
+ from openai import OpenAI
117
+
118
+ @trace(operation="summarize", provider="openai", model="gpt-4o")
119
+ def summarize_text(text: str) -> str:
120
+ client = OpenAI()
121
+ response = client.chat.completions.create(
122
+ model="gpt-4o",
123
+ messages=[
124
+ {"role": "system", "content": "Summarize the following text."},
125
+ {"role": "user", "content": text}
126
+ ]
127
+ )
128
+ return response.choices[0].message.content
129
+ ```
130
+
131
+ ### Multi-Provider Example
132
+
133
+ ```python
134
+ import kalibr
135
+ from openai import OpenAI
136
+ from anthropic import Anthropic
137
+
138
+ # Both are automatically traced
139
+ openai_client = OpenAI()
140
+ anthropic_client = Anthropic()
141
+
142
+ gpt_response = openai_client.chat.completions.create(
143
+ model="gpt-4o",
144
+ messages=[{"role": "user", "content": "Explain quantum computing"}]
145
+ )
146
+
147
+ claude_response = anthropic_client.messages.create(
148
+ model="claude-3-5-sonnet-20241022",
149
+ max_tokens=1024,
150
+ messages=[{"role": "user", "content": "Explain machine learning"}]
151
+ )
152
+ ```
153
+
154
+ ## Outcome-Conditioned Routing
155
+
156
+ Query Kalibr for optimal model recommendations based on real execution outcomes:
157
+
158
+ ```python
159
+ from kalibr import get_policy, report_outcome
160
+
161
+ # Before executing - get the best model for your goal
162
+ policy = get_policy(goal="book_meeting")
163
+ print(f"Use {policy['recommended_model']} - {policy['outcome_success_rate']:.0%} success rate")
164
+
165
+ # Execute with the recommended model
166
+ # ...
167
+
168
+ # After executing - report what happened
169
+ report_outcome(
170
+ trace_id="abc123",
171
+ goal="book_meeting",
172
+ success=True
173
+ )
174
+ ```
175
+
176
+ ### With Constraints
177
+
178
+ ```python
179
+ from kalibr import get_policy
180
+
181
+ policy = get_policy(
182
+ goal="resolve_ticket",
183
+ constraints={
184
+ "max_cost_usd": 0.05,
185
+ "max_latency_ms": 3000,
186
+ "min_quality": 0.8
187
+ }
188
+ )
189
+ ```
190
+
191
+ ### Intelligent Routing with decide()
192
+
193
+ Register execution paths and let Kalibr decide the best strategy:
194
+
195
+ ```python
196
+ from kalibr import register_path, decide
197
+
198
+ # Register available paths
199
+ register_path(goal="book_meeting", model_id="gpt-4o", tool_id="calendar_api")
200
+ register_path(goal="book_meeting", model_id="claude-3-sonnet")
201
+
202
+ # Get intelligent routing decision
203
+ decision = decide(goal="book_meeting")
204
+ model = decision["model_id"] # Selected based on outcomes
205
+ tool = decision.get("tool_id") # If tool routing enabled
206
+ print(decision["exploration"]) # True if exploring new paths
207
+ ```
208
+
209
+ ### Goal Context
210
+
211
+ Tag traces with goals for outcome tracking:
212
+
213
+ ```python
214
+ from kalibr import goal, set_goal, get_goal, clear_goal
215
+
216
+ # Context manager (recommended)
217
+ with goal("book_meeting"):
218
+ response = openai.chat.completions.create(...)
219
+
220
+ # Or manual control
221
+ set_goal("book_meeting")
222
+ response = openai.chat.completions.create(...)
223
+ clear_goal()
224
+ ```
225
+
226
+ ## TraceCapsule - Cross-Agent Tracing
227
+
228
+ Propagate trace context across agent boundaries:
229
+
230
+ ```python
231
+ from kalibr import TraceCapsule, get_or_create_capsule
232
+
233
+ # Agent 1: Create capsule and add hop
234
+ capsule = get_or_create_capsule()
235
+ capsule.append_hop({
236
+ "provider": "openai",
237
+ "operation": "chat_completion",
238
+ "model": "gpt-4o",
239
+ "duration_ms": 150,
240
+ "cost_usd": 0.002,
241
+ "status": "success"
242
+ })
243
+
244
+ # Pass to Agent 2 via HTTP header
245
+ headers = {"X-Kalibr-Capsule": capsule.to_json()}
246
+
247
+ # Agent 2: Receive and continue
248
+ capsule = TraceCapsule.from_json(headers["X-Kalibr-Capsule"])
249
+ capsule.append_hop({
250
+ "provider": "anthropic",
251
+ "operation": "chat_completion",
252
+ "model": "claude-3-5-sonnet-20241022",
253
+ "duration_ms": 200,
254
+ "cost_usd": 0.003,
255
+ "status": "success"
256
+ })
257
+ ```
258
+
259
+ ## Framework Integrations
260
+
261
+ ### LangChain
262
+
263
+ ```bash
264
+ pip install kalibr[langchain]
265
+ ```
266
+
267
+ ```python
268
+ from kalibr_langchain import KalibrCallbackHandler
269
+ from langchain_openai import ChatOpenAI
270
+
271
+ handler = KalibrCallbackHandler()
272
+ llm = ChatOpenAI(model="gpt-4o", callbacks=[handler])
273
+ response = llm.invoke("What is the capital of France?")
274
+ ```
275
+
276
+ See [LangChain Integration Guide](kalibr_langchain/README.md) for full documentation.
277
+
278
+ ### CrewAI
279
+
280
+ ```bash
281
+ pip install kalibr[crewai]
282
+ ```
283
+
284
+ ```python
285
+ from kalibr_crewai import KalibrCrewAIInstrumentor
286
+ from crewai import Agent, Task, Crew
287
+
288
+ instrumentor = KalibrCrewAIInstrumentor()
289
+ instrumentor.instrument()
290
+
291
+ # Use CrewAI normally - all operations are traced
292
+ ```
293
+
294
+ See [CrewAI Integration Guide](kalibr_crewai/README.md) for full documentation.
295
+
296
+ ### OpenAI Agents SDK
297
+
298
+ ```bash
299
+ pip install kalibr[openai-agents]
300
+ ```
301
+
302
+ ```python
303
+ from kalibr_openai_agents import setup_kalibr_tracing
304
+ from agents import Agent, Runner
305
+
306
+ setup_kalibr_tracing()
307
+
308
+ agent = Agent(name="Assistant", instructions="You are helpful.")
309
+ result = Runner.run_sync(agent, "Hello!")
310
+ ```
311
+
312
+ See [OpenAI Agents Integration Guide](kalibr_openai_agents/README.md) for full documentation.
313
+
314
+ ## Configuration
315
+
316
+ Configure via environment variables:
317
+
318
+ | Variable | Description | Default |
319
+ |----------|-------------|---------|
320
+ | `KALIBR_API_KEY` | API key for authentication | *Required* |
321
+ | `KALIBR_TENANT_ID` | Tenant identifier | `default` |
322
+ | `KALIBR_COLLECTOR_URL` | Collector endpoint URL | `https://api.kalibr.systems/api/ingest` |
323
+ | `KALIBR_INTELLIGENCE_URL` | Intelligence API URL | `https://dashboard.kalibr.systems/intelligence` |
324
+ | `KALIBR_SERVICE_NAME` | Service name for spans | `kalibr-app` |
325
+ | `KALIBR_ENVIRONMENT` | Environment (prod/staging/dev) | `prod` |
326
+ | `KALIBR_WORKFLOW_ID` | Workflow identifier | `default` |
327
+ | `KALIBR_AUTO_INSTRUMENT` | Enable auto-instrumentation | `true` |
328
+
329
+ ## CLI Commands
330
+
331
+ ```bash
332
+ # Show version
333
+ kalibr version
334
+
335
+ # Validate configuration
336
+ kalibr validate
337
+
338
+ # Check connection status
339
+ kalibr status
340
+
341
+ # Package for deployment
342
+ kalibr package
343
+
344
+ # Update schemas
345
+ kalibr update_schemas
346
+ ```
347
+
348
+ ## Supported Providers
349
+
350
+ | Provider | Models | Auto-Instrumentation |
351
+ |----------|--------|---------------------|
352
+ | OpenAI | GPT-4, GPT-4o, GPT-3.5 | Yes |
353
+ | Anthropic | Claude 3.5 Sonnet, Claude 3 Opus/Sonnet/Haiku | Yes |
354
+ | Google | Gemini Pro, Gemini Flash | Yes |
355
+
356
+ ## Development
357
+
358
+ ```bash
359
+ git clone https://github.com/kalibr-ai/kalibr-sdk-python.git
360
+ cd kalibr-sdk-python
361
+
362
+ pip install -e ".[dev]"
363
+
364
+ # Run tests
365
+ pytest
366
+
367
+ # Format code
368
+ black kalibr/
369
+ ruff check kalibr/
370
+ ```
371
+
372
+ ## Contributing
373
+
374
+ We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md).
375
+
376
+ ## License
377
+
378
+ Apache 2.0 - see [LICENSE](LICENSE).
379
+
380
+ ## Links
381
+
382
+ - [Documentation](https://kalibr.systems/docs)
383
+ - [Dashboard](https://dashboard.kalibr.systems)
384
+ - [GitHub](https://github.com/kalibr-ai/kalibr-sdk-python)
385
+ - [PyPI](https://pypi.org/project/kalibr/)
@@ -1,11 +1,12 @@
1
- kalibr/__init__.py,sha256=gyljj_U2w1JlQCTZEvdzNA9vKhcr5FIsTiu02voirLY,4284
1
+ kalibr/__init__.py,sha256=N0FRcMM5Rq845MPDjogsY1iRZu7K7NoUHAGqW8-JQDQ,5148
2
2
  kalibr/__main__.py,sha256=jO96I4pqinwHg7ONRvNVKbySBh5pSIhOAiNrgSQrNlY,110
3
3
  kalibr/capsule_middleware.py,sha256=pXG_wORgCqo3wHjtkn_zY4doLyiDmTwJtB7XiZNnbPk,3163
4
4
  kalibr/client.py,sha256=6D1paakE6zgWJStaow3ak9t0R8afodQhSSpUO3WTs_8,9732
5
5
  kalibr/collector.py,sha256=rtTKQLe6NkDSblBIfFooQ-ESFcP0Q1HUp4Bcqqg8JFo,5818
6
- kalibr/context.py,sha256=hBxWXZx0gcmeGqDMS1rstke_DmrujoRBIsfrG26WKUY,3755
6
+ kalibr/context.py,sha256=FgN9-WyMQMDgg2Vqwje4r2_jKRvnMeI8t4fIE1VRn_8,4777
7
7
  kalibr/cost_adapter.py,sha256=NerJ7ywaJjBn97gVFr7qKX7318e3Kmy2qqeNlGl9nPE,6439
8
8
  kalibr/decorators.py,sha256=m-XBXxWMDVrzaNsljACiGmeGhgiHj_MqSfj6OGK3L5I,4380
9
+ kalibr/intelligence.py,sha256=JOckaykWrMloZV_MH1e9kvVxPRQKavIgLSdgqiJjxC4,22158
9
10
  kalibr/kalibr.py,sha256=cNXC3W_TX5SvGsy1lRopkwFqsHOpyd1kkVjEMOz1Yr4,6084
10
11
  kalibr/kalibr_app.py,sha256=ItZwEh0FZPx9_BE-zPQajC2yxI2y9IHYwJD0k9tbHvY,2773
11
12
  kalibr/models.py,sha256=HwD_-iysZMSnCzMQYO1Qcf0aeXySupY7yJeBwl_dLS0,1024
@@ -19,10 +20,10 @@ kalibr/tracer.py,sha256=jwWBpZbGXn6fEv4pw25BLFCH-22QUbyzofPWp1Iwdkk,11911
19
20
  kalibr/types.py,sha256=cna4-akpdwfHXfOJCtVIq5lO_jaoG2Am3BRrXi0Vo34,895
20
21
  kalibr/utils.py,sha256=DJ9Mp6IPzyQTKboVV0utnfFBMT7LbJ9vAs0gOOPCpvw,5052
21
22
  kalibr/cli/__init__.py,sha256=FmRGaDMhM9DhrKg1ONkF0emIrJcjFWjlFBl_oenvpsk,77
22
- kalibr/cli/capsule_cmd.py,sha256=j4XR10mq9Ni6DDHNt3cNYEYuMr7jabExEkEB2vrcgGI,6092
23
+ kalibr/cli/capsule_cmd.py,sha256=fHhC7-VpPskVxJiIbpSe7eVPNq0xIWeXCBVUOWGcqrw,6097
23
24
  kalibr/cli/deploy_cmd.py,sha256=kV4uqCN2IdQev1vPBY5qqIHsEhjGBZ7y_rLx8RGAL_4,5178
24
- kalibr/cli/main.py,sha256=Ob0Vpg8KPnHluP_23pgbEZpDb_iKnjoN7mW52-2Qr44,1939
25
- kalibr/cli/run.py,sha256=S8l5DCcoMVHl_frb-8DOkpDHS3Q6RuYvns9izNk-lx0,6428
25
+ kalibr/cli/main.py,sha256=FrOSIACNARkrvq-J2SZhyPNWNCdNEMZlD69PEV3uCMA,1924
26
+ kalibr/cli/run.py,sha256=bkdyNGrzUdcHg8XVvvWD7w8zV8Q4eQwUSFR-Bd_Asd0,6433
26
27
  kalibr/cli/serve.py,sha256=71Xha35qrBNkcQxuUkwC-ixbOriHGUIEgxl7C_qERQo,2085
27
28
  kalibr/instrumentation/__init__.py,sha256=YnUJ4gUH8WNxdVv5t1amn0l2WUULJG2MuQIL2ZZhn04,354
28
29
  kalibr/instrumentation/anthropic_instr.py,sha256=ozXHr8BPMafIbvgaxunskQi9YX5_Gpoiekye77oRc2E,10058
@@ -32,17 +33,17 @@ kalibr/instrumentation/openai_instr.py,sha256=UU0Pi1Gq1FqgetYWDacQhNFdjemuPrc0hR
32
33
  kalibr/instrumentation/registry.py,sha256=sfQnXhbPOI5LVon2kFhe8KcXQwWmuKW1XUe50B2AaBc,4749
33
34
  kalibr/middleware/__init__.py,sha256=qyDUn_irAX67MS-IkuDVxg4RmFnJHDf_BfIT3qfGoBI,115
34
35
  kalibr/middleware/auto_tracer.py,sha256=ZBSBM0O3a6rwVzfik1n5NUmQDah8_iaf86rU64aPYT4,13037
35
- kalibr-1.1.3a0.dist-info/licenses/LICENSE,sha256=BYlEPoDdYD3iHuAjt2JYGoxDYQaI1gxab2pR4acoz04,1063
36
- kalibr_crewai/__init__.py,sha256=ClbyRwZ9K3VabYg3RnjnCNQtv1z7UNyCAlMSo0tCGYQ,1791
37
- kalibr_crewai/callbacks.py,sha256=UBgGw0vdT0Jf9x8fNrHfsUR4unqX4nxNFta07OoSgaI,17162
38
- kalibr_crewai/instrumentor.py,sha256=AfnK5t7Ynb-7ytZF7XdOSPpr0o8hDf3sFkyzhc1ogY0,19465
39
- kalibr_langchain/__init__.py,sha256=BPj6JZgWDh3wNQCnIfdC24gupzBjVPxbq3zBsfn7yCY,1368
36
+ kalibr-1.2.1.dist-info/licenses/LICENSE,sha256=5mwAnB38l3_PjmOQn6_L6cZnJvus143DUjMBPIH1yso,10768
37
+ kalibr_crewai/__init__.py,sha256=b0HFTiE80eArtSMBOIEKu1JM6KU0tCjEylKCVVVF29Q,1796
38
+ kalibr_crewai/callbacks.py,sha256=_d1M4J-6XfKqrVIxnOgOQu57jpFKVv-VIsmPV0HNgZ4,20419
39
+ kalibr_crewai/instrumentor.py,sha256=MbGELxjAQxy4o7BiNL8ik79avl0hXYxECvDzWi-fdsE,21993
40
+ kalibr_langchain/__init__.py,sha256=O4XYVyhLp1v-Y1kGZw3zD-tUK9wp0UX8Jt6oN0QTHN4,1373
40
41
  kalibr_langchain/async_callback.py,sha256=_Mj_YrKbULNtfxixZ7iwiHyWEV9l178ZA5Oy5A5Pakk,27748
41
- kalibr_langchain/callback.py,sha256=VVPAvksS8TFMC21QlGj-1NRFsWnkLKPyzqhfA3kmT4c,34265
42
- kalibr_openai_agents/__init__.py,sha256=ToKJ1Krwc38ADZO0HCWo1_ZMGi4VRIEgym2Avkg0CyQ,1362
42
+ kalibr_langchain/callback.py,sha256=SNM1aHOXdG55grHmGyTwbXOeM6hjZTub2REiZD2H-d8,35216
43
+ kalibr_openai_agents/__init__.py,sha256=wL59LzGstptKigfQDrKKt_7hcMO1JGVQtVAsE0lz-Zw,1367
43
44
  kalibr_openai_agents/processor.py,sha256=F550sdRf3rpguP1yOlgAUQWDLPBy4hSACV3-zOyCpOU,18257
44
- kalibr-1.1.3a0.dist-info/METADATA,sha256=tkZQEBASAyAucKITC1_yzuASDFq2uSOAfMoQqCKP3TI,7840
45
- kalibr-1.1.3a0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
46
- kalibr-1.1.3a0.dist-info/entry_points.txt,sha256=Kojlc6WRX8V1qS9lOMdDPZpTUVHCtzGtHqXusErgmLY,47
47
- kalibr-1.1.3a0.dist-info/top_level.txt,sha256=dIfBOWUnnHGFDwgz5zfIx5_0bU3wOUgAbYr4JcFHZmo,59
48
- kalibr-1.1.3a0.dist-info/RECORD,,
45
+ kalibr-1.2.1.dist-info/METADATA,sha256=sv6H2efZMRiHxGJZLnHtBaI6NurzfV7UFv62kQNRyV4,11223
46
+ kalibr-1.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
47
+ kalibr-1.2.1.dist-info/entry_points.txt,sha256=Kojlc6WRX8V1qS9lOMdDPZpTUVHCtzGtHqXusErgmLY,47
48
+ kalibr-1.2.1.dist-info/top_level.txt,sha256=dIfBOWUnnHGFDwgz5zfIx5_0bU3wOUgAbYr4JcFHZmo,59
49
+ kalibr-1.2.1.dist-info/RECORD,,
@@ -0,0 +1,190 @@
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 the 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
+ Copyright 2025 Kalibr Systems Inc.
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
kalibr_crewai/__init__.py CHANGED
@@ -46,7 +46,7 @@ Usage with Auto-Instrumentation:
46
46
 
47
47
  Environment Variables:
48
48
  KALIBR_API_KEY: API key for authentication
49
- KALIBR_ENDPOINT: Backend endpoint URL
49
+ KALIBR_COLLECTOR_URL: Backend endpoint URL
50
50
  KALIBR_TENANT_ID: Tenant identifier
51
51
  KALIBR_ENVIRONMENT: Environment (prod/staging/dev)
52
52
  KALIBR_SERVICE: Service name