agent-runtime-core 0.1.3__py3-none-any.whl → 0.1.5__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.
agent_runtime/__init__.py CHANGED
@@ -34,7 +34,7 @@ Example usage:
34
34
  return RunResult(final_output={"message": "Hello!"})
35
35
  """
36
36
 
37
- __version__ = "0.1.3"
37
+ __version__ = "0.1.5"
38
38
 
39
39
  # Core interfaces
40
40
  from agent_runtime.interfaces import (
@@ -268,7 +268,12 @@ class ToolRegistry:
268
268
  ]
269
269
 
270
270
  def get_tool_definitions(self) -> list[dict]:
271
- """Alias for to_openai_format() for backwards compatibility."""
271
+ """
272
+ Alias for to_openai_format() - more intuitive/discoverable name.
273
+
274
+ Both method names are supported to prevent interface mismatches
275
+ when working from memory or creating fallback implementations.
276
+ """
272
277
  return self.to_openai_format()
273
278
 
274
279
  async def execute(self, name: str, arguments: dict) -> Any:
@@ -40,7 +40,7 @@ class AnthropicClient(LLMClient):
40
40
  if AsyncAnthropic is None:
41
41
  raise ImportError(
42
42
  "anthropic package is required for AnthropicClient. "
43
- "Install it with: pip install agent_runtime[anthropic]"
43
+ "Install it with: pip install agent-runtime-core[anthropic]"
44
44
  )
45
45
 
46
46
  from agent_runtime.config import get_config
@@ -38,7 +38,7 @@ class LiteLLMClient(LLMClient):
38
38
  if litellm is None:
39
39
  raise ImportError(
40
40
  "litellm package is required for LiteLLMClient. "
41
- "Install it with: pip install agent_runtime[litellm]"
41
+ "Install it with: pip install agent-runtime-core[litellm]"
42
42
  )
43
43
 
44
44
  from agent_runtime.config import get_config
@@ -42,7 +42,7 @@ class OpenAIClient(LLMClient):
42
42
  if AsyncOpenAI is None:
43
43
  raise ImportError(
44
44
  "openai package is required for OpenAIClient. "
45
- "Install it with: pip install agent_runtime[openai]"
45
+ "Install it with: pip install agent-runtime-core[openai]"
46
46
  )
47
47
 
48
48
  from agent_runtime.config import get_config
@@ -37,7 +37,7 @@ class LangfuseTraceSink(TraceSink):
37
37
  if Langfuse is None:
38
38
  raise ImportError(
39
39
  "langfuse package is required for LangfuseTraceSink. "
40
- "Install with: pip install agent_runtime[langfuse]"
40
+ "Install with: pip install agent-runtime-core[langfuse]"
41
41
  )
42
42
 
43
43
  self._client = Langfuse(
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agent-runtime-core
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: Framework-agnostic Python library for executing AI agents with consistent patterns
5
- Project-URL: Homepage, https://github.com/colstrom/agent_runtime
6
- Project-URL: Repository, https://github.com/colstrom/agent_runtime
5
+ Project-URL: Homepage, https://github.com/colstrom/agent_runtime_core
6
+ Project-URL: Repository, https://github.com/colstrom/agent_runtime_core
7
7
  Author: Chris Olstrom
8
8
  License-Expression: MIT
9
9
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
- agent_runtime/__init__.py,sha256=KZxgCDGNeY8kXH-OGlTguIGwRHQPKz-fCgKQq_a0Ld8,2430
1
+ agent_runtime/__init__.py,sha256=ZeKUVQKq7kxQlV9KmbJQJ-TH9WvHJPt6Iiox2NZcAdA,2430
2
2
  agent_runtime/config.py,sha256=ZRjpILjsjeh_kl7873DtV2g_zaTrfdkb3NgdQ6ndb5Y,4981
3
- agent_runtime/interfaces.py,sha256=_sRH34NfnD8AVtRLyDXq2NCAPjatJ8PC-MSjfAlQ37s,10265
3
+ agent_runtime/interfaces.py,sha256=-VGZJHUkyF8kdO-BDkURyc-sLbObIHErIFw1Hzn3n14,10434
4
4
  agent_runtime/registry.py,sha256=sa0speDFxFCZlXoCge8cPNqWYUeWHyazs6tBer5Jg1w,1471
5
5
  agent_runtime/runner.py,sha256=Sb2FfSJvATaL7ideQZy2JhVZp0sSYGVIov93E-gxODU,12741
6
6
  agent_runtime/testing.py,sha256=aqN67RdbTdYf_rJfp5pEpn2s_tkeU-3oSpzTdADxH5g,11126
@@ -10,9 +10,9 @@ agent_runtime/events/memory.py,sha256=7qseR6RtdaP833FxEHwyPw5TC7l4brJHr8uEx0mLc1
10
10
  agent_runtime/events/redis.py,sha256=Z6WEvp_6jcIPi4ZgkGk5J61qxgGqllwk7jqJM4jcTXk,5869
11
11
  agent_runtime/events/sqlite.py,sha256=EiX1BMOqeS7BelmD8A6cvhz3fE4w7vJ2Wg4pFu1V2u0,5092
12
12
  agent_runtime/llm/__init__.py,sha256=JEk1Q2H6U9_Uid48YVm1wYR1W7po0vtjfjf2TTmQe_A,2431
13
- agent_runtime/llm/anthropic.py,sha256=R5KIcHAvHwoibkI0bXxg0RXlwd1qRGcdlGEEEoApVCM,7491
14
- agent_runtime/llm/litellm_client.py,sha256=M_-dAJVMRfWeNJlB0HXpFykbiIDRGwq1uMnamO3XUr8,5178
15
- agent_runtime/llm/openai.py,sha256=eL6_lhsUvwlE24TfDnzmlF285M0tExjb00rJV43oz28,6837
13
+ agent_runtime/llm/anthropic.py,sha256=ho3psMYAARpXyzqejgA1dx6Nk8io0TwCKb0mp_wsGyM,7496
14
+ agent_runtime/llm/litellm_client.py,sha256=Pic3N4CHVoqzdHUbKlizBcuPP0xCKoeY6U2ZjsZIgWg,5183
15
+ agent_runtime/llm/openai.py,sha256=cRk4WBpiVknqsy_cgPAGdC8Zj250nasqo1dNQN0uxlw,6842
16
16
  agent_runtime/queue/__init__.py,sha256=78k29iEl8brp71LrOnmTHhQzPMHkzGre-Xqdl1NlNr0,1502
17
17
  agent_runtime/queue/base.py,sha256=QW1eWbwBX_tmVD8yJobFJtlxLd_RtUWHTuXGessuxy8,3959
18
18
  agent_runtime/queue/memory.py,sha256=n7kiE0Fw_BFUdzMyoO1QPO0ATzz8zBYaMQex7GdceZw,5411
@@ -24,9 +24,9 @@ agent_runtime/state/memory.py,sha256=xOnlqM3ArXDKAdPx3PxdS9IGgJDSM-EKp_S1Hsit180
24
24
  agent_runtime/state/redis.py,sha256=-lPi_2xKm7Bc4DVMJfSEAF7wJHctLV3ZMM9AYBeQKZU,3425
25
25
  agent_runtime/state/sqlite.py,sha256=NwuiTBXELb2tyOoH91MZqRJaCk9h8PskyY2VUc5EMr0,4868
26
26
  agent_runtime/tracing/__init__.py,sha256=m4WzfgJpnV5XCCoMpBYZdJU_JTkAdhEhl7M7tpf62RY,1246
27
- agent_runtime/tracing/langfuse.py,sha256=uThF0P6f1VJ1l1b7UuiFQ-oHZ-tCa9MbbHvTqkSuQ2A,3650
27
+ agent_runtime/tracing/langfuse.py,sha256=Z-2eEUHlxCC82JtXOAaoi-1zI6tQwEOWdpJgfCXcZH0,3655
28
28
  agent_runtime/tracing/noop.py,sha256=MOm5eTrnf3d4WhiWrwVU5Kd3GmJ1903V0U7U3Qwho7U,746
29
- agent_runtime_core-0.1.3.dist-info/METADATA,sha256=BIGLruppweXY5x9EupTMY7Ru8KwiViIKyxuz92BLIqk,12478
30
- agent_runtime_core-0.1.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
31
- agent_runtime_core-0.1.3.dist-info/licenses/LICENSE,sha256=PcOO8aiOZ4H2MWYeKIis3o6xTCT1hNkDyCxHZhh1NeM,1070
32
- agent_runtime_core-0.1.3.dist-info/RECORD,,
29
+ agent_runtime_core-0.1.5.dist-info/METADATA,sha256=VzMdfsT_MU2wqmL6hqEQoIOqE352X4LlTrD7EMVTHvg,12488
30
+ agent_runtime_core-0.1.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
31
+ agent_runtime_core-0.1.5.dist-info/licenses/LICENSE,sha256=PcOO8aiOZ4H2MWYeKIis3o6xTCT1hNkDyCxHZhh1NeM,1070
32
+ agent_runtime_core-0.1.5.dist-info/RECORD,,