AgentX-Dev 3.6.0__tar.gz → 3.6.1__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 (79) hide show
  1. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/CHANGELOG.md +18 -0
  2. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/PKG-INFO +6 -1
  3. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/README.md +5 -0
  4. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/ChatModel.py +7 -1
  5. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/MCP.py +423 -426
  6. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Observability.py +5 -3
  7. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/VectorStores/chroma_store.py +171 -171
  8. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/VectorStores/pg_store.py +241 -237
  9. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/VectorStores/qdrant_store.py +4 -3
  10. agentx_dev-3.6.1/agentx_dev/_optional.py +43 -0
  11. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev.egg-info/PKG-INFO +6 -1
  12. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev.egg-info/SOURCES.txt +1 -0
  13. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/pyproject.toml +1 -1
  14. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/AGENTX.md +0 -0
  15. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/CONTRIBUTING.md +0 -0
  16. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/LICENSE +0 -0
  17. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/MANIFEST.in +0 -0
  18. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Agents/Agent.py +0 -0
  19. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Agents/__init__.py +0 -0
  20. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/AsyncTools.py +0 -0
  21. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/AutoSetup.py +0 -0
  22. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Cache.py +0 -0
  23. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Compiler.py +0 -0
  24. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Config.py +0 -0
  25. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/DefaultTools.py +0 -0
  26. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Embeddings.py +0 -0
  27. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Evals.py +0 -0
  28. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Handoffs.py +0 -0
  29. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Loader.py +0 -0
  30. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Media.py +0 -0
  31. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Memory.py +0 -0
  32. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Operator.py +0 -0
  33. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Planner.py +0 -0
  34. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Runner/AgentRun.py +0 -0
  35. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Runner/AsyncAgentRun.py +0 -0
  36. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Runner/Persistence.py +0 -0
  37. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Runner/__init__.py +0 -0
  38. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Runner/promptTemplate.yaml +0 -0
  39. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Session.py +0 -0
  40. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Splitters.py +0 -0
  41. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Streaming.py +0 -0
  42. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/SubAgents.py +0 -0
  43. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Supervisor.py +0 -0
  44. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/SupervisorMemory.py +0 -0
  45. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/Tools.py +0 -0
  46. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/VectorStores/__init__.py +0 -0
  47. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/WebTools.py +0 -0
  48. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/__init__.py +0 -0
  49. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/resources/__init__.py +0 -0
  50. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev/resources/promptTemplate.yaml +0 -0
  51. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev.egg-info/dependency_links.txt +0 -0
  52. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev.egg-info/requires.txt +0 -0
  53. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/agentx_dev.egg-info/top_level.txt +0 -0
  54. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/README.md +0 -0
  55. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/agentic_rag_demo.py +0 -0
  56. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/async_example.py +0 -0
  57. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/async_quickstart.py +0 -0
  58. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/auto_features_example.py +0 -0
  59. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/caching_example.py +0 -0
  60. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/chatbot_example.py +0 -0
  61. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/complete_example.py +0 -0
  62. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/concurrent_example.py +0 -0
  63. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/concurrent_tool_example.py +0 -0
  64. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/file_agent_demo.py +0 -0
  65. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/function_calling_demo.py +0 -0
  66. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/mcp_demo.py +0 -0
  67. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/mcp_github_triage_demo.py +0 -0
  68. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/observability_example.py +0 -0
  69. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/orchestration_demo.py +0 -0
  70. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/planner_example.py +0 -0
  71. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/robust_link_scraper.py +0 -0
  72. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/subagents_demo.py +0 -0
  73. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/supervisor_codebase_analysis_demo.py +0 -0
  74. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/supervisor_example.py +0 -0
  75. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/sync_quickstart.py +0 -0
  76. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/v3_1_1_features_demo.py +0 -0
  77. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/v3_1_comprehensive_demo.py +0 -0
  78. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/examples/v3_1_features_demo.py +0 -0
  79. {agentx_dev-3.6.0 → agentx_dev-3.6.1}/setup.cfg +0 -0
@@ -4,6 +4,24 @@ All notable changes to `agentx-dev` are documented here. Format loosely
4
4
  follows [Keep a Changelog](https://keepachangelog.com/); versioning is
5
5
  [Semver](https://semver.org/).
6
6
 
7
+ ## [3.6.1] - 2026-10-09
8
+
9
+ ### Fixed
10
+
11
+ - A package that was installed but failed to import was reported as not installed. A user whose project
12
+ folder held a `google.py` saw "ChromaVectorStore requires the chromadb package" although chromadb was
13
+ installed: the file hid the real `google` package that chromadb's dependencies use, and the catch-all
14
+ hid that. The error now says which case it is. Not installed: it names the extra
15
+ (`python -m pip install "agentx-dev[chroma]"`) and the Python that is running. Installed but failing:
16
+ it shows the real error and common causes (a file named like a library, a version conflict) and no
17
+ install command. Applies to `ChromaVectorStore`, `QdrantVectorStore`, `PgVectorStore`, `MCPClient`,
18
+ `OTelHook` and `Claude`.
19
+
20
+ ### Docs
21
+
22
+ - Install pages list the `chroma`, `qdrant` and `pgvector` extras and say why a plain install leaves
23
+ them out; the troubleshooting page covers both messages.
24
+
7
25
  ## [3.6.0] - 2026-10-09
8
26
 
9
27
  Sub-agents: the Supervisor can create its own helpers. Opt-in, with the behavior changes listed below.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentx-dev
3
- Version: 3.6.0
3
+ Version: 3.6.1
4
4
  Summary: A production-grade Python framework for building LLM agents. Multi-provider chat, permission-gated tools, RAG (in-mem + Chroma/Qdrant/pgvector), semantic memory, Supervisor + Handoffs multi-agent orchestration with streaming, evals harness, prompt caching, Batch API, prompt-optimizer, MCP integration.
5
5
  Author-email: Bruce-Arhin Shadrach <brucearhin098@gmail.com>
6
6
  License: MIT License
@@ -499,9 +499,14 @@ Add optional providers / integrations as extras:
499
499
  pip install agentx-dev[anthropic] # enables agentx_dev.Claude
500
500
  pip install agentx-dev[mcp] # enables MCPClient (stdio / sse / http)
501
501
  pip install agentx-dev[otel] # OpenTelemetry observability adapter
502
+ pip install agentx-dev[chroma] # ChromaVectorStore (also [qdrant], [pgvector])
502
503
  pip install agentx-dev[all] # everything above
503
504
  ```
504
505
 
506
+ A plain `pip install agentx-dev` does not install these on purpose (most users need one provider
507
+ and one store). If a class says it needs a package, install the extra it names, with the same
508
+ Python that runs your code: `python -m pip install "agentx-dev[chroma]"`.
509
+
505
510
  Requires Python **3.10+** (the codebase uses PEP 604 union types).
506
511
 
507
512
  Set your provider API key as an environment variable:
@@ -425,9 +425,14 @@ Add optional providers / integrations as extras:
425
425
  pip install agentx-dev[anthropic] # enables agentx_dev.Claude
426
426
  pip install agentx-dev[mcp] # enables MCPClient (stdio / sse / http)
427
427
  pip install agentx-dev[otel] # OpenTelemetry observability adapter
428
+ pip install agentx-dev[chroma] # ChromaVectorStore (also [qdrant], [pgvector])
428
429
  pip install agentx-dev[all] # everything above
429
430
  ```
430
431
 
432
+ A plain `pip install agentx-dev` does not install these on purpose (most users need one provider
433
+ and one store). If a class says it needs a package, install the extra it names, with the same
434
+ Python that runs your code: `python -m pip install "agentx-dev[chroma]"`.
435
+
431
436
  Requires Python **3.10+** (the codebase uses PEP 604 union types).
432
437
 
433
438
  Set your provider API key as an environment variable:
@@ -1808,7 +1808,13 @@ class Claude(BaseChatModel):
1808
1808
  drop or clamp it, retry, and remember it for this model.
1809
1809
  Logged at WARNING. Set False to surface the raw error.
1810
1810
  """
1811
- import anthropic as _anthropic
1811
+ try:
1812
+ import anthropic as _anthropic
1813
+ except ImportError as e:
1814
+ from agentx_dev._optional import optional_import_error
1815
+ raise optional_import_error(
1816
+ "Claude", e, modules=("anthropic",), pip="anthropic", extra="anthropic",
1817
+ ) from e
1812
1818
  self._anthropic = _anthropic
1813
1819
  self.model_name = model
1814
1820
  self.max_tokens = max_tokens