10xgraph-api 0.8.0__tar.gz → 1.0.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.
Files changed (330) hide show
  1. 10xgraph_api-1.0.0/10xgraph.json +17 -0
  2. 10xgraph_api-1.0.0/10xgraph_api.egg-info/PKG-INFO +342 -0
  3. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/10xgraph_api.egg-info/SOURCES.txt +57 -15
  4. 10xgraph_api-1.0.0/10xgraph_api.egg-info/requires.txt +70 -0
  5. 10xgraph_api-1.0.0/CHANGELOG.md +1534 -0
  6. 10xgraph_api-1.0.0/PKG-INFO +342 -0
  7. 10xgraph_api-1.0.0/README.md +259 -0
  8. 10xgraph_api-1.0.0/RELEASE_NOTES.md +91 -0
  9. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/SECURITY.md +17 -21
  10. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/pyproject.toml +61 -18
  11. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/__init__.py +19 -0
  12. 10xgraph_api-1.0.0/tenxgraph_api/_slim_image.py +120 -0
  13. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/__init__.py +3 -1
  14. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/api.py +36 -1
  15. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/audit.py +89 -3
  16. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/build.py +405 -0
  17. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/build_prompts.py +74 -0
  18. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/config.py +18 -0
  19. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/demo.py +3 -4
  20. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/eval.py +138 -23
  21. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/init.py +460 -0
  22. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/init_context.py +406 -0
  23. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/init_prompts.py +106 -0
  24. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/revoke.py +106 -0
  25. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/skills.py +164 -30
  26. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/test.py +1 -1
  27. 10xgraph_api-1.0.0/tenxgraph_api/cli/commands/worker.py +118 -0
  28. 10xgraph_api-1.0.0/tenxgraph_api/cli/config_editor/schema.py +1484 -0
  29. 10xgraph_api-1.0.0/tenxgraph_api/cli/config_editor/static/app.css +2 -0
  30. 10xgraph_api-1.0.0/tenxgraph_api/cli/config_editor/static/app.js +3 -0
  31. 10xgraph_api-1.0.0/tenxgraph_api/cli/config_editor/validation.py +590 -0
  32. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/animations.py +0 -4
  33. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/config.py +7 -6
  34. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/steps.py +36 -0
  35. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/validation.py +4 -3
  36. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/main.py +198 -136
  37. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/defaults.py +1012 -0
  38. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/dev/.env.example +1 -0
  39. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/dev/graph/agent.py +25 -3
  40. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/dev/requirements.txt +2 -0
  41. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/.env.example +41 -7
  42. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/10xgraph.json +41 -0
  43. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/auth/agent_auth.py +18 -3
  44. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/evals/user_simulator_eval.py +13 -12
  45. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/evals/weather_agents_eval.py +73 -0
  46. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/graph/agent.py +110 -0
  47. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/tools/weather_tool.py +23 -1
  48. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/validators/validators.py +1 -6
  49. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/pyproject.toml +2 -3
  50. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/tests/conftest.py +16 -0
  51. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/tests/test_catalog_tools.py +8 -0
  52. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/tests/test_graph_nodes.py +24 -0
  53. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/worker/tasks.py +45 -0
  54. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/SKILL.md +19 -9
  55. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/agents-and-tools.md +80 -6
  56. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/api-client.md +1 -1
  57. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/api-configuration.md +95 -0
  58. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/api-settings-and-middleware.md +22 -7
  59. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/architecture.md +3 -3
  60. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/auth-and-authorization.md +159 -0
  61. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/callbacks-and-command.md +1 -1
  62. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/checkpointing-and-threads.md +3 -2
  63. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/cli-commands.md +101 -0
  64. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/client-messages-invoke-stream.md +1 -1
  65. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/dependency-injection.md +1 -2
  66. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/evaluation.md +31 -6
  67. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/id-and-thread-name-generators.md +103 -0
  68. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/memory-and-store.md +105 -0
  69. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/prebuilt-agents-and-tools.md +105 -17
  70. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/production-runtime.md +4 -5
  71. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/publishers-and-runtime-protocols.md +113 -0
  72. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/10xgraph/references/rate-limiting.md +170 -0
  73. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/realtime.md +5 -5
  74. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/rest-api-and-errors.md +4 -3
  75. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/state-and-messages.md +1 -1
  76. 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/skills/blocks/10xgraph.block.md +18 -0
  77. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/copilot/10xgraph.instructions.md +11 -8
  78. 10xgraph_api-1.0.0/tenxgraph_api/jobs/__init__.py +29 -0
  79. 10xgraph_api-1.0.0/tenxgraph_api/jobs/arguments.py +79 -0
  80. 10xgraph_api-1.0.0/tenxgraph_api/jobs/config.py +195 -0
  81. 10xgraph_api-1.0.0/tenxgraph_api/jobs/context.py +61 -0
  82. 10xgraph_api-1.0.0/tenxgraph_api/jobs/middleware.py +234 -0
  83. 10xgraph_api-1.0.0/tenxgraph_api/jobs/monitoring.py +158 -0
  84. 10xgraph_api-1.0.0/tenxgraph_api/jobs/redis_broker.py +144 -0
  85. 10xgraph_api-1.0.0/tenxgraph_api/jobs/scheduler.py +19 -0
  86. 10xgraph_api-1.0.0/tenxgraph_api/jobs/state.py +135 -0
  87. 10xgraph_api-1.0.0/tenxgraph_api/jobs/worker.py +116 -0
  88. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/audit/__init__.py +189 -0
  89. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/audit/config.py +36 -0
  90. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/audit/sinks.py +122 -0
  91. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/auth_config.py +290 -0
  92. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/base_auth.py +66 -0
  93. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/jwt_auth.py +225 -0
  94. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/permissions.py +497 -0
  95. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/permissions_registry.py +51 -0
  96. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/rbac.py +211 -0
  97. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/reserved_identity.py +52 -0
  98. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth/revocation.py +241 -0
  99. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/auth/route_guard.py +6 -8
  100. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/cache_store/__init__.py +13 -0
  101. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/cache_store/base.py +122 -0
  102. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/cache_store/loader.py +106 -0
  103. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/cache_store/memory_store.py +347 -0
  104. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/cache_store/redis_store.py +324 -0
  105. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/config/graph_config.py +1011 -0
  106. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/config/media_settings.py +24 -0
  107. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/config/metrics.py +374 -0
  108. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/config/sentry_config.py +14 -0
  109. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/config/settings.py +355 -0
  110. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/config/setup_logs.py +121 -0
  111. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/config/setup_middleware.py +323 -47
  112. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/exceptions/handle_errors.py +190 -30
  113. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/exceptions/server_errors.py +177 -0
  114. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/leases.py +331 -0
  115. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/middleware/__init__.py +2 -13
  116. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/middleware/rate_limit/__init__.py +9 -0
  117. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/middleware/rate_limit/keying.py +28 -29
  118. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/middleware/rate_limit/limiter.py +134 -0
  119. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/middleware/rate_limit/middleware.py +63 -13
  120. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/middleware/request_limits.py +3 -0
  121. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/middleware/security_headers.py +3 -0
  122. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/redis_client.py +63 -0
  123. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/request_context.py +34 -0
  124. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/shutdown.py +167 -0
  125. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/threads.py +69 -0
  126. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/utils/log_sanitizer.py +85 -11
  127. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/validation/__init__.py +0 -0
  128. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/validation/client_filters.py +146 -0
  129. 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/validation/request_config.py +477 -0
  130. 10xgraph_api-1.0.0/tenxgraph_api/src/app/loader.py +754 -0
  131. 10xgraph_api-1.0.0/tenxgraph_api/src/app/main.py +331 -0
  132. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ag_ui/converter.py +42 -2
  133. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/ag_ui/router.py +160 -0
  134. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ag_ui/service.py +55 -33
  135. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/checkpointer/router.py +125 -71
  136. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/checkpointer/schemas/checkpointer_schemas.py +52 -12
  137. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/checkpointer/services/checkpointer_service.py +699 -0
  138. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/graph/idempotency.py +240 -0
  139. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/graph/realtime_guard.py +134 -0
  140. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/graph/router.py +1536 -0
  141. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/graph/run_guard.py +60 -0
  142. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/run_limits.py +32 -12
  143. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/schemas/graph_schemas.py +165 -15
  144. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/services/graph_service.py +715 -308
  145. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/services/multimodal_preprocessor.py +143 -11
  146. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/graph/thread_lock.py +180 -0
  147. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/me.py +32 -0
  148. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/media/__init__.py +1095 -0
  149. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/media/router.py +174 -17
  150. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/media/schemas.py +23 -0
  151. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/ping/readiness.py +186 -0
  152. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ping/router.py +12 -14
  153. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/ping/startup_checks.py +233 -0
  154. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/setup_router.py +105 -0
  155. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/store/router.py +49 -16
  156. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/store/schemas/store_schemas.py +48 -17
  157. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/store/services/store_service.py +289 -0
  158. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/tasks/__init__.py +7 -0
  159. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/tasks/boot.py +49 -0
  160. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/tasks/router.py +288 -0
  161. 10xgraph_api-1.0.0/tenxgraph_api/src/app/routers/tasks/schemas.py +77 -0
  162. 10xgraph_api-1.0.0/tenxgraph_api/src/app/tasks/__init__.py +0 -0
  163. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/__init__.py +7 -2
  164. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/callable_helper.py +1 -1
  165. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/media/extractor.py +112 -5
  166. 10xgraph_api-1.0.0/tenxgraph_api/src/app/utils/media/signatures.py +86 -0
  167. 10xgraph_api-1.0.0/tenxgraph_api/src/app/utils/parse_output.py +47 -0
  168. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/response_helper.py +9 -4
  169. 10xgraph_api-1.0.0/tenxgraph_api/src/app/utils/run_trace.py +511 -0
  170. 10xgraph_api-1.0.0/tenxgraph_api/src/app/utils/snowflake_id_generator.py +96 -0
  171. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/telemetry_store.py +13 -1
  172. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/thread_name_generator.py +69 -67
  173. 10xgraph_api-1.0.0/tenxgraph_api/src/app/uvicorn_worker.py +80 -0
  174. 10xgraph_api-1.0.0/tenxgraph_api/testing/__init__.py +1 -0
  175. 10xgraph_api-1.0.0/tenxgraph_api/testing/cache_store_contract.py +304 -0
  176. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tests/test_utils_parse_and_callable.py +12 -8
  177. 10xgraph_api-0.8.0/10xgraph.json +0 -16
  178. 10xgraph_api-0.8.0/10xgraph_api.egg-info/PKG-INFO +0 -638
  179. 10xgraph_api-0.8.0/10xgraph_api.egg-info/requires.txt +0 -41
  180. 10xgraph_api-0.8.0/CHANGELOG.md +0 -463
  181. 10xgraph_api-0.8.0/PKG-INFO +0 -638
  182. 10xgraph_api-0.8.0/README.md +0 -580
  183. 10xgraph_api-0.8.0/RELEASE_NOTES.md +0 -63
  184. 10xgraph_api-0.8.0/tenxgraph_api/cli/commands/build.py +0 -335
  185. 10xgraph_api-0.8.0/tenxgraph_api/cli/commands/init.py +0 -531
  186. 10xgraph_api-0.8.0/tenxgraph_api/cli/config_editor/schema.py +0 -676
  187. 10xgraph_api-0.8.0/tenxgraph_api/cli/config_editor/static/app.css +0 -2
  188. 10xgraph_api-0.8.0/tenxgraph_api/cli/config_editor/static/app.js +0 -3
  189. 10xgraph_api-0.8.0/tenxgraph_api/cli/config_editor/validation.py +0 -409
  190. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/defaults.py +0 -864
  191. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/dev/.env.example +0 -1
  192. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/prod/10xgraph.json +0 -42
  193. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/prod/evals/weather_agents_eval.py +0 -53
  194. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/prod/graph/agent.py +0 -50
  195. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/prod/graph/thread_name_generator.py +0 -7
  196. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/prod/tests/conftest.py +0 -6
  197. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/prod/tests/test_graph_nodes.py +0 -57
  198. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/skills/10xgraph/references/api-configuration.md +0 -75
  199. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/skills/10xgraph/references/auth-and-authorization.md +0 -149
  200. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/skills/10xgraph/references/cli-commands.md +0 -73
  201. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/skills/10xgraph/references/id-and-thread-name-generators.md +0 -69
  202. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/skills/10xgraph/references/memory-and-store.md +0 -70
  203. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/skills/10xgraph/references/publishers-and-runtime-protocols.md +0 -84
  204. 10xgraph_api-0.8.0/tenxgraph_api/cli/templates/skills/10xgraph/references/rate-limiting.md +0 -194
  205. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/auth/auth_backend.py +0 -38
  206. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/auth/authorization.py +0 -469
  207. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/auth/base_auth.py +0 -32
  208. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/auth/identity_cache.py +0 -68
  209. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/auth/jwt_auth.py +0 -125
  210. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/auth/ownership_resolver.py +0 -239
  211. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/auth/permissions.py +0 -407
  212. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/auth/request_config.py +0 -189
  213. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/auth/revocation.py +0 -219
  214. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/concurrency.py +0 -200
  215. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/config/graph_config.py +0 -738
  216. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/config/settings.py +0 -219
  217. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/config/setup_logs.py +0 -65
  218. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/middleware/rate_limit/__init__.py +0 -15
  219. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/middleware/rate_limit/base.py +0 -27
  220. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/middleware/rate_limit/factory.py +0 -98
  221. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/middleware/rate_limit/memory.py +0 -98
  222. 10xgraph_api-0.8.0/tenxgraph_api/src/app/core/middleware/rate_limit/redis.py +0 -115
  223. 10xgraph_api-0.8.0/tenxgraph_api/src/app/loader.py +0 -637
  224. 10xgraph_api-0.8.0/tenxgraph_api/src/app/main.py +0 -198
  225. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/ag_ui/router.py +0 -98
  226. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/checkpointer/services/checkpointer_service.py +0 -351
  227. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/evals/__init__.py +0 -6
  228. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/evals/router.py +0 -38
  229. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/evals/services/__init__.py +0 -1
  230. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/evals/services/eval_report_service.py +0 -354
  231. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/graph/realtime_guard.py +0 -209
  232. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/graph/router.py +0 -922
  233. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/media/__init__.py +0 -531
  234. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/ping/readiness.py +0 -142
  235. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/setup_router.py +0 -60
  236. 10xgraph_api-0.8.0/tenxgraph_api/src/app/routers/store/services/store_service.py +0 -203
  237. 10xgraph_api-0.8.0/tenxgraph_api/src/app/utils/parse_output.py +0 -17
  238. 10xgraph_api-0.8.0/tenxgraph_api/src/app/utils/snowflake_id_generator.py +0 -90
  239. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/10xgraph_api.egg-info/dependency_links.txt +0 -0
  240. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/10xgraph_api.egg-info/entry_points.txt +0 -0
  241. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/10xgraph_api.egg-info/not-zip-safe +0 -0
  242. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/10xgraph_api.egg-info/top_level.txt +0 -0
  243. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/CODE_OF_CONDUCT.md +0 -0
  244. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/CONTRIBUTING.md +0 -0
  245. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/LICENSE +0 -0
  246. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/MANIFEST.in +0 -0
  247. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/agentflow_cli/__init__.py +0 -0
  248. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/setup.cfg +0 -0
  249. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/__init__.py +0 -0
  250. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/capabilities.py +0 -0
  251. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/commands/version.py +0 -0
  252. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/config_editor/__init__.py +0 -0
  253. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/config_editor/server.py +0 -0
  254. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/config_editor/static/favicon.svg +0 -0
  255. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/config_editor/static/index.html +0 -0
  256. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/config_editor/store.py +0 -0
  257. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/constants.py +0 -0
  258. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/context.py +0 -0
  259. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/__init__.py +0 -0
  260. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/output.py +0 -0
  261. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/prompts.py +0 -0
  262. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/screen.py +0 -0
  263. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/core/theme.py +0 -0
  264. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/exceptions.py +0 -0
  265. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/logger.py +0 -0
  266. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/__init__.py +0 -0
  267. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/dev/10xgraph.json +0 -0
  268. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/dev/graph/__init__.py +0 -0
  269. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/.pre-commit-config.yaml +0 -0
  270. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/.python-version +0 -0
  271. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/auth/__init__.py +0 -0
  272. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/evals/__init__.py +0 -0
  273. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/__init__.py +0 -0
  274. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/state.py +0 -0
  275. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/tools/__init__.py +0 -0
  276. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/validators/__init__.py +0 -0
  277. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/validators/lifecyle.py +0 -0
  278. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/graph/validators/manager.py +0 -0
  279. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/tests/__init__.py +0 -0
  280. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/prod/tests/test_agent_eval.py +0 -0
  281. {10xgraph_api-0.8.0/tenxgraph_api/src → 10xgraph_api-1.0.0/tenxgraph_api/cli/templates/prod/worker}/__init__.py +0 -0
  282. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/client-auth-and-errors.md +0 -0
  283. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/client-threads-memory-files.md +0 -0
  284. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/context-id-background.md +0 -0
  285. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/media-and-files.md +0 -0
  286. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/providers-and-adapters.md +0 -0
  287. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/remote-tools.md +0 -0
  288. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/security-and-validators.md +0 -0
  289. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/state-graph.md +0 -0
  290. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/stream-emitter.md +0 -0
  291. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/streaming.md +0 -0
  292. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/testing-and-evaluation.md +0 -0
  293. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/cli/templates/skills/10xgraph/references/unit-testing.md +0 -0
  294. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/py.typed +0 -0
  295. {10xgraph_api-0.8.0/tenxgraph_api/src/app/core/auth → 10xgraph_api-1.0.0/tenxgraph_api/src}/__init__.py +0 -0
  296. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/__init__.py +0 -0
  297. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/__init__.py +0 -0
  298. {10xgraph_api-0.8.0/tenxgraph_api/src/app/core/config → 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/auth}/__init__.py +0 -0
  299. {10xgraph_api-0.8.0/tenxgraph_api/src/app/tasks → 10xgraph_api-1.0.0/tenxgraph_api/src/app/core/config}/__init__.py +0 -0
  300. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/config/worker_middleware.py +0 -0
  301. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/exceptions/__init__.py +0 -0
  302. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/exceptions/general_exception.py +0 -0
  303. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/exceptions/resources_exceptions.py +0 -0
  304. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/exceptions/user_exception.py +0 -0
  305. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/utils/__init__.py +0 -0
  306. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/core/utils/container.py +0 -0
  307. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/__init__.py +0 -0
  308. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ag_ui/__init__.py +0 -0
  309. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ag_ui/event_mapper.py +0 -0
  310. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/checkpointer/__init__.py +0 -0
  311. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/checkpointer/schemas/__init__.py +0 -0
  312. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/checkpointer/services/__init__.py +0 -0
  313. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/__init__.py +0 -0
  314. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/schemas/__init__.py +0 -0
  315. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/graph/services/__init__.py +0 -0
  316. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/ping/__init__.py +0 -0
  317. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/store/__init__.py +0 -0
  318. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/store/schemas/__init__.py +0 -0
  319. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/routers/store/services/__init__.py +0 -0
  320. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/tasks/user_tasks.py +0 -0
  321. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/media/__init__.py +0 -0
  322. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/media/pipeline.py +0 -0
  323. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/schemas/__init__.py +0 -0
  324. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/schemas/output_schemas.py +0 -0
  325. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/schemas/user_schemas.py +0 -0
  326. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/utils/swagger_helper.py +0 -0
  327. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tenxgraph_api/src/app/worker.py +0 -0
  328. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tests/test_agentflow_cli_alias.py +0 -0
  329. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tests/test_multimodal_sprint2_extraction.py +0 -0
  330. {10xgraph_api-0.8.0 → 10xgraph_api-1.0.0}/tests/test_sprint4_media_api.py +0 -0
@@ -0,0 +1,17 @@
1
+ {
2
+ "agent": "graph.react:app",
3
+ "store": "graph.dummy_store:store",
4
+ "env": ".env",
5
+ "auth": null,
6
+ "cache_store": {
7
+ "type": "memory",
8
+ "rate_limit": {
9
+ "enabled": true,
10
+ "requests": 100,
11
+ "window": 60,
12
+ "by": "ip",
13
+ "trusted_proxy_headers": false,
14
+ "exclude_paths": ["/health", "/docs", "/redoc", "/openapi.json"]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,342 @@
1
+ Metadata-Version: 2.4
2
+ Name: 10xgraph-api
3
+ Version: 1.0.0
4
+ Summary: API server and CLI of 10xGraph (formerly 10xscale-agentflow-cli), open-source self-hosted infrastructure for AI applications: REST, streaming and WebSocket from your graph, JWT or custom auth, roles with own/tenant/all reach, tenant isolation, rate limits, background jobs, metrics, audit log, and Docker and Kubernetes files. MIT.
5
+ Author-email: Shudipto Trafder <shudiptotrafder@gmail.com>
6
+ Maintainer-email: Shudipto Trafder <shudiptotrafder@gmail.com>, 10xScale <contact@10xscale.ai>
7
+ License-Expression: MIT
8
+ Project-URL: Homepage, https://10xgraph.com
9
+ Project-URL: Repository, https://github.com/10xGraph/10xgraph-api
10
+ Project-URL: Issues, https://github.com/10xGraph/10xgraph-api/issues
11
+ Project-URL: Documentation, https://10xgraph.com
12
+ Project-URL: Changelog, https://github.com/10xGraph/10xgraph-api/blob/main/CHANGELOG.md
13
+ Keywords: 10xgraph,10xscale,agentflow,agents,ai-agents,multi-agent,agent-server,agent-deployment,llm,fastapi,api-server,rest-api,sse,websocket,realtime-audio,ag-ui,jwt,authentication,authorization,rbac,multi-tenant,rate-limiting,self-hosted,production,docker,kubernetes,cli
14
+ Classifier: Development Status :: 5 - Production/Stable
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Programming Language :: Python :: 3.15
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
24
+ Requires-Python: >=3.12
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: 10xgraph<2.0,>=1.0.0
28
+ Requires-Dist: fastapi<1.0,>=0.116
29
+ Requires-Dist: python-multipart<0.1,>=0.0.31
30
+ Requires-Dist: starlette>=1.3.1
31
+ Requires-Dist: pydantic<3,>=2.13
32
+ Requires-Dist: pydantic-settings<3,>=2.3
33
+ Requires-Dist: uvicorn<1.0,>=0.36
34
+ Requires-Dist: typer<1.0,>=0.17
35
+ Requires-Dist: python-dotenv<2,>=1.0
36
+ Requires-Dist: questionary<3,>=2.0
37
+ Requires-Dist: rich<15,>=14.0
38
+ Provides-Extra: sentry
39
+ Requires-Dist: sentry-sdk>=2.10.0; extra == "sentry"
40
+ Provides-Extra: firebase
41
+ Requires-Dist: firebase-admin>=6.5.0; extra == "firebase"
42
+ Requires-Dist: oauth2client>=4.1.3; extra == "firebase"
43
+ Provides-Extra: snowflakekit
44
+ Requires-Dist: snowflakekit<1.0,>=0.1.1; extra == "snowflakekit"
45
+ Provides-Extra: redis
46
+ Requires-Dist: redis<9,>=5.0.7; extra == "redis"
47
+ Provides-Extra: jobs
48
+ Requires-Dist: taskiq>=0.13.0; extra == "jobs"
49
+ Requires-Dist: taskiq-redis>=1.2.4; extra == "jobs"
50
+ Provides-Extra: jobs-rabbitmq
51
+ Requires-Dist: taskiq>=0.13.0; extra == "jobs-rabbitmq"
52
+ Requires-Dist: taskiq-redis>=1.2.4; extra == "jobs-rabbitmq"
53
+ Requires-Dist: taskiq-aio-pika>=0.6.1; extra == "jobs-rabbitmq"
54
+ Provides-Extra: jobs-kafka
55
+ Requires-Dist: taskiq>=0.13.0; extra == "jobs-kafka"
56
+ Requires-Dist: taskiq-redis>=1.2.4; extra == "jobs-kafka"
57
+ Requires-Dist: taskiq-aio-kafka>=1.0.0; extra == "jobs-kafka"
58
+ Provides-Extra: jwt
59
+ Requires-Dist: PyJWT<3,>=2.15.0; extra == "jwt"
60
+ Provides-Extra: media
61
+ Requires-Dist: textxtract[docx,html,md,pdf,xml]>=0.2.0; extra == "media"
62
+ Provides-Extra: images
63
+ Requires-Dist: 10xgraph[images]<2.0,>=1.0.0; extra == "images"
64
+ Provides-Extra: gcloud
65
+ Requires-Dist: google-cloud-logging; extra == "gcloud"
66
+ Provides-Extra: otel
67
+ Requires-Dist: opentelemetry-api>=1.45.1; extra == "otel"
68
+ Requires-Dist: opentelemetry-sdk>=1.45.1; extra == "otel"
69
+ Requires-Dist: opentelemetry-instrumentation-fastapi>=0.40b0; extra == "otel"
70
+ Requires-Dist: opentelemetry-exporter-otlp>=1.20.0; extra == "otel"
71
+ Provides-Extra: metrics
72
+ Requires-Dist: opentelemetry-api>=1.45.1; extra == "metrics"
73
+ Requires-Dist: opentelemetry-sdk>=1.45.1; extra == "metrics"
74
+ Requires-Dist: opentelemetry-instrumentation-fastapi>=0.66b2; extra == "metrics"
75
+ Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.45.2; extra == "metrics"
76
+ Requires-Dist: opentelemetry-exporter-prometheus>=0.66b2; extra == "metrics"
77
+ Requires-Dist: prometheus-client>=0.26.0; extra == "metrics"
78
+ Provides-Extra: ag-ui
79
+ Requires-Dist: ag-ui-protocol<2,>=1.0; extra == "ag-ui"
80
+ Provides-Extra: websocket
81
+ Requires-Dist: websockets<17,>=13.0; extra == "websocket"
82
+ Dynamic: license-file
83
+
84
+ # 10xGraph API
85
+
86
+ *Formerly `10xscale-agentflow-cli`.* The server and CLI half of 10xGraph: write your AI logic, and this package runs the API around it.
87
+
88
+ [![CI](https://github.com/10xGraph/10xgraph-api/actions/workflows/ci.yaml/badge.svg)](https://github.com/10xGraph/10xgraph-api/actions/workflows/ci.yaml)
89
+ [![Release](https://img.shields.io/github/v/release/10xGraph/10xgraph-api)](https://github.com/10xGraph/10xgraph-api/releases/latest)
90
+ [![PyPI](https://img.shields.io/pypi/v/10xgraph-api?color=blue)](https://pypi.org/project/10xgraph-api/)
91
+ [![Python](https://img.shields.io/pypi/pyversions/10xgraph-api)](https://pypi.org/project/10xgraph-api/)
92
+ [![License](https://img.shields.io/github/license/10xGraph/10xgraph-api)](https://github.com/10xGraph/10xgraph-api/blob/main/LICENSE)
93
+ [![Verified on FreeAPI](https://findfreeapi.com/api/badge/10xgraph-api)](https://findfreeapi.com/en/service/10xgraph-api)
94
+ [![Star on GitHub](https://img.shields.io/badge/GitHub-Star-181717?logo=github)](https://github.com/10xGraph/10xGraph)
95
+
96
+ 10xGraph is open-source, self-hosted infrastructure for AI applications. You write the agents, tools and tasks; 10xGraph runs them behind an API server with authentication, role-based access, tenant isolation, durable state in Postgres and Redis, background jobs, metrics and tracing, and generates Docker and Kubernetes deploy files. MIT licensed, by 10xScale. Formerly Agentflow.
97
+
98
+ `10xgraph-api` is the server and the `10xgraph` command. Point `10xgraph.json` at your compiled graph and it serves REST, NDJSON streaming, WebSocket and realtime-audio endpoints behind authentication, roles and tenant-aware access control, then writes your Docker and Kubernetes files. Built for teams going through SOC 2 and ISO 27001 audits: see the [control mapping](https://10xgraph.com/docs/production/control-mapping) for what the platform supports and what stays with you.
99
+
100
+ ---
101
+
102
+ ## What the server gives you
103
+
104
+ - **Endpoints generated from the graph.** Invoke, NDJSON stream, stop, WebSocket and realtime audio; threads, state and messages; the memory store; file uploads for multimodal input; and an optional [AG-UI endpoint](https://10xgraph.com/docs/server/ag-ui) for CopilotKit and other AG-UI clients. See [Invoke and stream](https://10xgraph.com/docs/server/invoke-and-stream).
105
+ - **Authentication.** `"auth": "jwt"`, or your own `BaseAuth` subclass. See [Authentication](https://10xgraph.com/docs/server/auth).
106
+ - **Roles with reach.** Each role carries permissions such as `graph:invoke` or `threads:delete`, and a reach of `own`, `tenant` or `all`. Reach widens reads, lists, deletes and stop; runs and writes always stay with the owner. The server refuses to boot if a non-public route has no permission guard. See [Tenancy and access](https://10xgraph.com/docs/concepts/tenancy-and-access).
107
+ - **Tenant isolation.** Ownership is enforced in storage: a thread, message, memory, file or run outside the caller's reach answers 404. You declare the tenant columns; `tenant_claims` must match them.
108
+ - **Cache store.** One `cache_store` object holds run locks and caps, idempotency, token revocation and rate-limit counters: in memory, on Redis, or your own `BaseCacheStore`. See [Cache store](https://10xgraph.com/docs/concepts/cache-store) and [Rate limiting](https://10xgraph.com/docs/server/rate-limiting).
109
+ - **Background jobs.** A thin TaskIQ layer: `10xgraph worker`, `10xgraph scheduler` and `/v1/tasks` routes, run under the same auth. See [Background tasks](https://10xgraph.com/docs/server/background-tasks).
110
+ - **Metrics, logs and audit.** Prometheus metrics from the `metrics` block, JSON logs with `LOG_FORMAT=json`, and a metadata-only audit log from the `audit` block that you ship to your own sink. 10xGraph stores no audit data. See [Observability](https://10xgraph.com/docs/server/observability), [Metrics with Prometheus and Grafana](https://10xgraph.com/docs/guides/metrics-prometheus-grafana) and [Audit log](https://10xgraph.com/docs/server/audit-log).
111
+ - **Hardened defaults.** Request size limits, security headers, error and log sanitization, SSRF checks on external media URLs, startup warnings for insecure settings. See the [Production checklist](https://10xgraph.com/docs/server/production-checklist).
112
+ - **Deploy files.** `10xgraph build --docker-compose --k8s` writes a `Dockerfile`, `docker-compose.yml` and `k8s.yaml`. See [Deploy](https://10xgraph.com/docs/server/deploy) and [Kubernetes](https://10xgraph.com/docs/server/kubernetes).
113
+
114
+ ---
115
+
116
+ ## Installation
117
+
118
+ ```bash
119
+ pip install 10xgraph-api
120
+ ```
121
+
122
+ Optional extras; install only what you configure:
123
+
124
+ ```bash
125
+ pip install "10xgraph-api[jwt,redis,websocket]" # JWT auth, Redis cache store, WebSocket and realtime audio
126
+ pip install "10xgraph-api[jobs]" # background jobs (TaskIQ worker and scheduler)
127
+ pip install "10xgraph-api[metrics]" # Prometheus scrape or OTLP push metrics
128
+ pip install "10xgraph-api[otel]" # OpenTelemetry tracing
129
+ pip install "10xgraph-api[ag-ui]" # AG-UI endpoint
130
+ pip install "10xgraph-api[media]" # document text extraction (multimodal)
131
+ pip install "10xgraph-api[images]" # image resize, EXIF, format conversion
132
+ pip install "10xgraph-api[snowflakekit]" # Snowflake ID generation
133
+ pip install "10xgraph-api[sentry]" # Sentry error reporting
134
+ pip install "10xgraph-api[gcloud]" # Google Cloud Logging
135
+ pip install "10xgraph-api[firebase]" # Firebase Admin SDK
136
+ ```
137
+
138
+ `jobs-rabbitmq` and `jobs-kafka` add a RabbitMQ or Kafka broker for jobs.
139
+
140
+ Requires Python 3.12 or newer. Installs the core `10xgraph` package as a dependency.
141
+
142
+ From 1.0 the public API is stable until 2.0. Keep `major.minor` the same across `10xgraph`,
143
+ `10xgraph-api` and `10xgraph-client` (patch versions are independent).
144
+
145
+ ---
146
+
147
+ ## Quick start
148
+
149
+ ```bash
150
+ # 1. Scaffold a project (asks for a name, a template and an AI provider)
151
+ 10xgraph init
152
+
153
+ # 2. Run the dev server and open the playground (127.0.0.1:8000)
154
+ 10xgraph dev
155
+ ```
156
+
157
+ Auth is off in the Quick Start template. To turn it on, add the `auth` object to `10xgraph.json` and set a secret in `.env`:
158
+
159
+ ```json
160
+ { "auth": { "method": "jwt" } }
161
+ ```
162
+
163
+ ```bash
164
+ JWT_SECRET_KEY=<32+ characters>
165
+ ```
166
+
167
+ `"auth": "jwt"` is a shortcut for the same thing. Every authenticated user then gets the default permission set with reach `own`. Add `roles` and `tenant_claims` for the setup below, or pick the Production template in `10xgraph init`, which writes JWT auth, a Redis cache store with rate limits and token revocation, a prompt-injection validator, evals and tests.
168
+
169
+ If this saved you time, star [10xGraph on GitHub](https://github.com/10xGraph/10xGraph). It helps other developers find it.
170
+
171
+ ---
172
+
173
+ ## Configuration
174
+
175
+ `10xgraph.json` defines your agent and the infrastructure around it. A realistic example:
176
+
177
+ ```json
178
+ {
179
+ "agent": "graph.react:app",
180
+ "env": ".env",
181
+ "auth": {
182
+ "method": "jwt",
183
+ "roles_claim": "roles",
184
+ "tenant_claims": ["org_id"],
185
+ "roles": {
186
+ "member": {
187
+ "permissions": ["graph:*", "threads:*", "store:*", "files:*", "tasks:trigger", "tasks:read", "tasks:cancel"],
188
+ "reach": "own"
189
+ },
190
+ "org_admin": { "inherits": ["member"], "permissions": ["admin:read"], "reach": "tenant" }
191
+ },
192
+ "default_role": "member"
193
+ },
194
+ "cache_store": {
195
+ "type": "redis",
196
+ "rate_limit": { "enabled": true, "requests": 100, "window": 60, "by": "user", "fail_open": false },
197
+ "token_revocation": true
198
+ },
199
+ "audit": { "enabled": true, "sinks": ["log"] }
200
+ }
201
+ ```
202
+
203
+ - The Redis URL comes from the `REDIS_URL` environment variable when `cache_store.url` is unset.
204
+ - `tenant_claims` must match the tenant columns declared on your checkpointer and store. A mismatch refuses to boot in production and warns in development.
205
+ - Audit sinks are `log` (JSON lines from the `tenxgraph_api.audit` logger), `publisher` (your events publisher) or `module:Class` (a `BaseAuditSink`).
206
+
207
+ Other keys include `checkpointer`, `store`, `injectq`, `thread_name_generator`, `id_generator`, `ag_ui`, `websocket`, `runs` and `media`. Edit them in a browser with `10xgraph config`, or read the [configuration reference](https://10xgraph.com/docs/reference/api-cli/configuration) and [Configure the server](https://10xgraph.com/docs/server/configure).
208
+
209
+ For a custom auth class, set `{ "auth": { "method": "custom", "path": "auth.custom:MyAuth" } }` and subclass `tenxgraph_api.BaseAuth`. See [Authentication](https://10xgraph.com/docs/server/auth) and [Extensibility](https://10xgraph.com/docs/concepts/extensibility).
210
+
211
+ ---
212
+
213
+ ## CLI
214
+
215
+ Run `10xgraph --help` or `10xgraph COMMAND --help` for options. Reference: [CLI](https://10xgraph.com/docs/server/cli).
216
+
217
+ | Command | What it does |
218
+ |---|---|
219
+ | `10xgraph init` | Scaffold a project. Asks for name, template (Quick Start or Production) and AI provider. |
220
+ | `10xgraph dev` | Run the dev server with reload and open the hosted playground. `--no-open` runs the server only. |
221
+ | `10xgraph config` | Edit `10xgraph.json` in a local browser editor, with validation and a `.bak` of the previous file. |
222
+ | `10xgraph build` | Write a `Dockerfile`, and with `--docker-compose` and `--k8s` a Compose file and a Kubernetes manifest. |
223
+ | `10xgraph worker` | Run the TaskIQ worker for background jobs. |
224
+ | `10xgraph scheduler` | Run the TaskIQ scheduler. Run exactly one. |
225
+ | `10xgraph revoke` | Revoke one token (`--jti`) or all tokens of a user (`--user`). |
226
+ | `10xgraph audit` | Read-only check of the interpreter, installed packages, `10xgraph.json` and the default port. Exits `1` on failure, so it works as a CI gate. |
227
+ | `10xgraph test` | Run the project tests with pytest. |
228
+ | `10xgraph eval` | Run agent evaluations and write JSON and HTML reports to `eval_reports/`. |
229
+ | `10xgraph skills` | Install the bundled 10xGraph skill for coding agents (Codex, Claude, GitHub Copilot). |
230
+ | `10xgraph demo` | Preview the terminal animations without touching the project. |
231
+ | `10xgraph version` | Show the CLI and core versions. |
232
+
233
+ Machine-readable output is available with `--format json` or `--format jsonl`, and `--no-animation` gives a static screen.
234
+
235
+ ---
236
+
237
+ ## Deploy
238
+
239
+ ```bash
240
+ 10xgraph build --docker-compose --k8s
241
+ docker compose up --build -d
242
+ ```
243
+
244
+ This writes a multi-stage, non-root `Dockerfile` that runs Gunicorn with `MODE=production` and `LOG_FORMAT=json`, plus `docker-compose.yml` and `k8s.yaml`. Liveness is `/ping`; readiness is `/health/ready` and checks the checkpointer, store and cache store. The manifest has a fixed replica count, so autoscaling is yours. Run more than one worker or replica only with a Redis cache store. See [Deploy](https://10xgraph.com/docs/server/deploy), [Kubernetes](https://10xgraph.com/docs/server/kubernetes) and [Scaling](https://10xgraph.com/docs/production/scaling).
245
+
246
+ ---
247
+
248
+ ## Honest limits
249
+
250
+ - **Auth is off until you configure it.** The bare server has hardened defaults, not authentication. The Production template of `10xgraph init` turns it on.
251
+ - **Tenant isolation needs columns you declare.** Declare `tenant_columns` on the checkpointer and store; it is not automatic.
252
+ - **Permissions apply per route, not per tool.** There is no built-in rule such as "user A may call `refund`, user B may not". Tools can read the caller's verified identity from the run config and decide for themselves.
253
+ - **No hosted service.** You run it, or nobody does.
254
+ - **No audit evidence of its own.** 10xGraph supports your controls; it does not hold a SOC 2 report. See [Limits](https://10xgraph.com/docs/production/limits).
255
+
256
+ ---
257
+
258
+ ## One stack
259
+
260
+ | Package | What it does | Install |
261
+ |---|---|---|
262
+ | [`10xgraph`](https://github.com/10xGraph/10xGraph) | Core: graphs, state, replay-safe tools, checkpointing, memory | `pip install 10xgraph` (pulled in by this package) |
263
+ | `10xgraph-api` (this package) | Server and the `10xgraph` command | `pip install 10xgraph-api` |
264
+ | [`10xgraph-client`](https://github.com/10xGraph/10xgraph-client) | Typed TypeScript client for every endpoint | `npm install 10xgraph-client` |
265
+ | [Docs](https://10xgraph.com/docs) | Guides, reference and the control mapping | [10xgraph.com](https://10xgraph.com) |
266
+
267
+ ---
268
+
269
+ ## Migrating from 10xscale-agentflow-cli
270
+
271
+ 10xGraph is the new name of 10xScale Agentflow. The server, CLI, license and maintainers are the same, and existing projects keep working.
272
+
273
+ | | Before | Now |
274
+ |---|---|---|
275
+ | PyPI package | `10xscale-agentflow-cli` | `10xgraph-api` |
276
+ | Python import | `agentflow_cli` | `tenxgraph_api` |
277
+ | Command | `agentflow` | `10xgraph` |
278
+ | Config file | `agentflow.json` | `10xgraph.json` |
279
+ | Core package | `10xscale-agentflow` (import `agentflow`) | `10xgraph` (import `tenxgraph`) |
280
+ | CLI env vars | `AGENTFLOW_NO_FULLSCREEN`, `AGENTFLOW_NO_SPINNER`, `AGENTFLOW_ASCII` | `TENXGRAPH_NO_FULLSCREEN`, `TENXGRAPH_NO_SPINNER`, `TENXGRAPH_ASCII` |
281
+ | Website | agentflow.10xscale.ai | [10xgraph.com](https://10xgraph.com) |
282
+ | GitHub | github.com/10xHub | [github.com/10xGraph](https://github.com/10xGraph) |
283
+
284
+ ```bash
285
+ pip uninstall 10xscale-agentflow-cli 10xscale-agentflow
286
+ pip install 10xgraph-api
287
+ ```
288
+
289
+ Do not install `10xscale-agentflow` next to `10xgraph`: both ship an `agentflow` module.
290
+
291
+ Kept working until 2.0:
292
+
293
+ - The `agentflow` command runs the same CLI and prints a deprecation notice.
294
+ - `from agentflow_cli import ...` resolves to `tenxgraph_api` with a `DeprecationWarning`.
295
+ - `agentflow.json` is read when no `10xgraph.json` sits in the same directory; `10xgraph.json` wins when both exist. The keys are unchanged.
296
+ - `AGENTFLOW_*` CLI env vars are read when the `TENXGRAPH_*` variable is unset.
297
+ - The `agentflow-bearer` WebSocket subprotocol and `agentflow://media/` URLs are still accepted. New references use `10xgraph-bearer` and `graph://media/`.
298
+
299
+ More: [Coming from Agentflow](https://10xgraph.com/docs/get-started/coming-from-agentflow).
300
+
301
+ ---
302
+
303
+ ## Security
304
+
305
+ Report vulnerabilities privately; see [SECURITY.md](https://github.com/10xGraph/10xgraph-api/blob/main/SECURITY.md). Do not open a public issue for a security problem. Production settings are listed in the [Production checklist](https://10xgraph.com/docs/server/production-checklist) and the [security model](https://10xgraph.com/docs/production/security-model).
306
+
307
+ ---
308
+
309
+ ## Development
310
+
311
+ ```bash
312
+ git clone https://github.com/10xGraph/10xgraph-api.git
313
+ cd 10xgraph-api
314
+ uv sync --dev
315
+ pre-commit install
316
+
317
+ pytest # tests (coverage gate: 80%)
318
+ ruff check . && ruff format . # lint and format
319
+ uv run mypy
320
+ ```
321
+
322
+ ## Contributing
323
+
324
+ Pull requests are welcome, and drafts are fine: open early and ask questions in the PR. Good first contributions:
325
+
326
+ - Type one module that `mypy` still skips (listed in `pyproject.toml`).
327
+ - Add a test for an edge case you hit: a request that should be rejected, a config that should fail at startup.
328
+ - Write the deployment recipe you needed on [10xgraph.com](https://10xgraph.com); every docs page has an "Edit this page" link.
329
+
330
+ For bigger changes, start a thread in the core repository's [Discussions](https://github.com/10xGraph/10xGraph/discussions) first.
331
+
332
+ <a href="https://github.com/10xGraph/10xgraph-api/graphs/contributors">
333
+ <img src="https://contrib.rocks/image?repo=10xGraph/10xgraph-api" alt="People who have contributed to 10xgraph-api" />
334
+ </a>
335
+
336
+ ## License
337
+
338
+ [MIT](https://github.com/10xGraph/10xgraph-api/blob/main/LICENSE). Made by [10xScale](https://10xscale.ai), which runs its own AI products on 10xGraph.
339
+
340
+ ## Links
341
+
342
+ [Documentation](https://10xgraph.com) · [PyPI](https://pypi.org/project/10xgraph-api/) · [Issues](https://github.com/10xGraph/10xgraph-api/issues) · [Changelog](https://github.com/10xGraph/10xgraph-api/blob/main/CHANGELOG.md)
@@ -17,6 +17,7 @@ pyproject.toml
17
17
  10xgraph_api.egg-info/top_level.txt
18
18
  agentflow_cli/__init__.py
19
19
  tenxgraph_api/__init__.py
20
+ tenxgraph_api/_slim_image.py
20
21
  tenxgraph_api/py.typed
21
22
  tenxgraph_api/cli/__init__.py
22
23
  tenxgraph_api/cli/capabilities.py
@@ -29,13 +30,18 @@ tenxgraph_api/cli/commands/__init__.py
29
30
  tenxgraph_api/cli/commands/api.py
30
31
  tenxgraph_api/cli/commands/audit.py
31
32
  tenxgraph_api/cli/commands/build.py
33
+ tenxgraph_api/cli/commands/build_prompts.py
32
34
  tenxgraph_api/cli/commands/config.py
33
35
  tenxgraph_api/cli/commands/demo.py
34
36
  tenxgraph_api/cli/commands/eval.py
35
37
  tenxgraph_api/cli/commands/init.py
38
+ tenxgraph_api/cli/commands/init_context.py
39
+ tenxgraph_api/cli/commands/init_prompts.py
40
+ tenxgraph_api/cli/commands/revoke.py
36
41
  tenxgraph_api/cli/commands/skills.py
37
42
  tenxgraph_api/cli/commands/test.py
38
43
  tenxgraph_api/cli/commands/version.py
44
+ tenxgraph_api/cli/commands/worker.py
39
45
  tenxgraph_api/cli/config_editor/__init__.py
40
46
  tenxgraph_api/cli/config_editor/schema.py
41
47
  tenxgraph_api/cli/config_editor/server.py
@@ -58,6 +64,7 @@ tenxgraph_api/cli/templates/__init__.py
58
64
  tenxgraph_api/cli/templates/defaults.py
59
65
  tenxgraph_api/cli/templates/dev/.env.example
60
66
  tenxgraph_api/cli/templates/dev/10xgraph.json
67
+ tenxgraph_api/cli/templates/dev/requirements.txt
61
68
  tenxgraph_api/cli/templates/dev/graph/__init__.py
62
69
  tenxgraph_api/cli/templates/dev/graph/agent.py
63
70
  tenxgraph_api/cli/templates/prod/.env.example
@@ -73,7 +80,6 @@ tenxgraph_api/cli/templates/prod/evals/weather_agents_eval.py
73
80
  tenxgraph_api/cli/templates/prod/graph/__init__.py
74
81
  tenxgraph_api/cli/templates/prod/graph/agent.py
75
82
  tenxgraph_api/cli/templates/prod/graph/state.py
76
- tenxgraph_api/cli/templates/prod/graph/thread_name_generator.py
77
83
  tenxgraph_api/cli/templates/prod/graph/tools/__init__.py
78
84
  tenxgraph_api/cli/templates/prod/graph/tools/weather_tool.py
79
85
  tenxgraph_api/cli/templates/prod/graph/validators/__init__.py
@@ -85,6 +91,8 @@ tenxgraph_api/cli/templates/prod/tests/conftest.py
85
91
  tenxgraph_api/cli/templates/prod/tests/test_agent_eval.py
86
92
  tenxgraph_api/cli/templates/prod/tests/test_catalog_tools.py
87
93
  tenxgraph_api/cli/templates/prod/tests/test_graph_nodes.py
94
+ tenxgraph_api/cli/templates/prod/worker/__init__.py
95
+ tenxgraph_api/cli/templates/prod/worker/tasks.py
88
96
  tenxgraph_api/cli/templates/skills/10xgraph/SKILL.md
89
97
  tenxgraph_api/cli/templates/skills/10xgraph/references/agents-and-tools.md
90
98
  tenxgraph_api/cli/templates/skills/10xgraph/references/api-client.md
@@ -119,28 +127,52 @@ tenxgraph_api/cli/templates/skills/10xgraph/references/stream-emitter.md
119
127
  tenxgraph_api/cli/templates/skills/10xgraph/references/streaming.md
120
128
  tenxgraph_api/cli/templates/skills/10xgraph/references/testing-and-evaluation.md
121
129
  tenxgraph_api/cli/templates/skills/10xgraph/references/unit-testing.md
130
+ tenxgraph_api/cli/templates/skills/blocks/10xgraph.block.md
122
131
  tenxgraph_api/cli/templates/skills/copilot/10xgraph.instructions.md
132
+ tenxgraph_api/jobs/__init__.py
133
+ tenxgraph_api/jobs/arguments.py
134
+ tenxgraph_api/jobs/config.py
135
+ tenxgraph_api/jobs/context.py
136
+ tenxgraph_api/jobs/middleware.py
137
+ tenxgraph_api/jobs/monitoring.py
138
+ tenxgraph_api/jobs/redis_broker.py
139
+ tenxgraph_api/jobs/scheduler.py
140
+ tenxgraph_api/jobs/state.py
141
+ tenxgraph_api/jobs/worker.py
123
142
  tenxgraph_api/src/__init__.py
124
143
  tenxgraph_api/src/app/__init__.py
125
144
  tenxgraph_api/src/app/loader.py
126
145
  tenxgraph_api/src/app/main.py
146
+ tenxgraph_api/src/app/uvicorn_worker.py
127
147
  tenxgraph_api/src/app/worker.py
128
148
  tenxgraph_api/src/app/core/__init__.py
129
- tenxgraph_api/src/app/core/concurrency.py
149
+ tenxgraph_api/src/app/core/leases.py
150
+ tenxgraph_api/src/app/core/redis_client.py
151
+ tenxgraph_api/src/app/core/request_context.py
152
+ tenxgraph_api/src/app/core/shutdown.py
153
+ tenxgraph_api/src/app/core/threads.py
154
+ tenxgraph_api/src/app/core/audit/__init__.py
155
+ tenxgraph_api/src/app/core/audit/config.py
156
+ tenxgraph_api/src/app/core/audit/sinks.py
130
157
  tenxgraph_api/src/app/core/auth/__init__.py
131
- tenxgraph_api/src/app/core/auth/auth_backend.py
132
- tenxgraph_api/src/app/core/auth/authorization.py
158
+ tenxgraph_api/src/app/core/auth/auth_config.py
133
159
  tenxgraph_api/src/app/core/auth/base_auth.py
134
- tenxgraph_api/src/app/core/auth/identity_cache.py
135
160
  tenxgraph_api/src/app/core/auth/jwt_auth.py
136
- tenxgraph_api/src/app/core/auth/ownership_resolver.py
137
161
  tenxgraph_api/src/app/core/auth/permissions.py
138
- tenxgraph_api/src/app/core/auth/request_config.py
162
+ tenxgraph_api/src/app/core/auth/permissions_registry.py
163
+ tenxgraph_api/src/app/core/auth/rbac.py
164
+ tenxgraph_api/src/app/core/auth/reserved_identity.py
139
165
  tenxgraph_api/src/app/core/auth/revocation.py
140
166
  tenxgraph_api/src/app/core/auth/route_guard.py
167
+ tenxgraph_api/src/app/core/cache_store/__init__.py
168
+ tenxgraph_api/src/app/core/cache_store/base.py
169
+ tenxgraph_api/src/app/core/cache_store/loader.py
170
+ tenxgraph_api/src/app/core/cache_store/memory_store.py
171
+ tenxgraph_api/src/app/core/cache_store/redis_store.py
141
172
  tenxgraph_api/src/app/core/config/__init__.py
142
173
  tenxgraph_api/src/app/core/config/graph_config.py
143
174
  tenxgraph_api/src/app/core/config/media_settings.py
175
+ tenxgraph_api/src/app/core/config/metrics.py
144
176
  tenxgraph_api/src/app/core/config/sentry_config.py
145
177
  tenxgraph_api/src/app/core/config/settings.py
146
178
  tenxgraph_api/src/app/core/config/setup_logs.py
@@ -150,21 +182,23 @@ tenxgraph_api/src/app/core/exceptions/__init__.py
150
182
  tenxgraph_api/src/app/core/exceptions/general_exception.py
151
183
  tenxgraph_api/src/app/core/exceptions/handle_errors.py
152
184
  tenxgraph_api/src/app/core/exceptions/resources_exceptions.py
185
+ tenxgraph_api/src/app/core/exceptions/server_errors.py
153
186
  tenxgraph_api/src/app/core/exceptions/user_exception.py
154
187
  tenxgraph_api/src/app/core/middleware/__init__.py
155
188
  tenxgraph_api/src/app/core/middleware/request_limits.py
156
189
  tenxgraph_api/src/app/core/middleware/security_headers.py
157
190
  tenxgraph_api/src/app/core/middleware/rate_limit/__init__.py
158
- tenxgraph_api/src/app/core/middleware/rate_limit/base.py
159
- tenxgraph_api/src/app/core/middleware/rate_limit/factory.py
160
191
  tenxgraph_api/src/app/core/middleware/rate_limit/keying.py
161
- tenxgraph_api/src/app/core/middleware/rate_limit/memory.py
192
+ tenxgraph_api/src/app/core/middleware/rate_limit/limiter.py
162
193
  tenxgraph_api/src/app/core/middleware/rate_limit/middleware.py
163
- tenxgraph_api/src/app/core/middleware/rate_limit/redis.py
164
194
  tenxgraph_api/src/app/core/utils/__init__.py
165
195
  tenxgraph_api/src/app/core/utils/container.py
166
196
  tenxgraph_api/src/app/core/utils/log_sanitizer.py
197
+ tenxgraph_api/src/app/core/validation/__init__.py
198
+ tenxgraph_api/src/app/core/validation/client_filters.py
199
+ tenxgraph_api/src/app/core/validation/request_config.py
167
200
  tenxgraph_api/src/app/routers/__init__.py
201
+ tenxgraph_api/src/app/routers/me.py
168
202
  tenxgraph_api/src/app/routers/setup_router.py
169
203
  tenxgraph_api/src/app/routers/ag_ui/__init__.py
170
204
  tenxgraph_api/src/app/routers/ag_ui/converter.py
@@ -177,14 +211,13 @@ tenxgraph_api/src/app/routers/checkpointer/schemas/__init__.py
177
211
  tenxgraph_api/src/app/routers/checkpointer/schemas/checkpointer_schemas.py
178
212
  tenxgraph_api/src/app/routers/checkpointer/services/__init__.py
179
213
  tenxgraph_api/src/app/routers/checkpointer/services/checkpointer_service.py
180
- tenxgraph_api/src/app/routers/evals/__init__.py
181
- tenxgraph_api/src/app/routers/evals/router.py
182
- tenxgraph_api/src/app/routers/evals/services/__init__.py
183
- tenxgraph_api/src/app/routers/evals/services/eval_report_service.py
184
214
  tenxgraph_api/src/app/routers/graph/__init__.py
215
+ tenxgraph_api/src/app/routers/graph/idempotency.py
185
216
  tenxgraph_api/src/app/routers/graph/realtime_guard.py
186
217
  tenxgraph_api/src/app/routers/graph/router.py
218
+ tenxgraph_api/src/app/routers/graph/run_guard.py
187
219
  tenxgraph_api/src/app/routers/graph/run_limits.py
220
+ tenxgraph_api/src/app/routers/graph/thread_lock.py
188
221
  tenxgraph_api/src/app/routers/graph/schemas/__init__.py
189
222
  tenxgraph_api/src/app/routers/graph/schemas/graph_schemas.py
190
223
  tenxgraph_api/src/app/routers/graph/services/__init__.py
@@ -196,18 +229,24 @@ tenxgraph_api/src/app/routers/media/schemas.py
196
229
  tenxgraph_api/src/app/routers/ping/__init__.py
197
230
  tenxgraph_api/src/app/routers/ping/readiness.py
198
231
  tenxgraph_api/src/app/routers/ping/router.py
232
+ tenxgraph_api/src/app/routers/ping/startup_checks.py
199
233
  tenxgraph_api/src/app/routers/store/__init__.py
200
234
  tenxgraph_api/src/app/routers/store/router.py
201
235
  tenxgraph_api/src/app/routers/store/schemas/__init__.py
202
236
  tenxgraph_api/src/app/routers/store/schemas/store_schemas.py
203
237
  tenxgraph_api/src/app/routers/store/services/__init__.py
204
238
  tenxgraph_api/src/app/routers/store/services/store_service.py
239
+ tenxgraph_api/src/app/routers/tasks/__init__.py
240
+ tenxgraph_api/src/app/routers/tasks/boot.py
241
+ tenxgraph_api/src/app/routers/tasks/router.py
242
+ tenxgraph_api/src/app/routers/tasks/schemas.py
205
243
  tenxgraph_api/src/app/tasks/__init__.py
206
244
  tenxgraph_api/src/app/tasks/user_tasks.py
207
245
  tenxgraph_api/src/app/utils/__init__.py
208
246
  tenxgraph_api/src/app/utils/callable_helper.py
209
247
  tenxgraph_api/src/app/utils/parse_output.py
210
248
  tenxgraph_api/src/app/utils/response_helper.py
249
+ tenxgraph_api/src/app/utils/run_trace.py
211
250
  tenxgraph_api/src/app/utils/snowflake_id_generator.py
212
251
  tenxgraph_api/src/app/utils/swagger_helper.py
213
252
  tenxgraph_api/src/app/utils/telemetry_store.py
@@ -215,9 +254,12 @@ tenxgraph_api/src/app/utils/thread_name_generator.py
215
254
  tenxgraph_api/src/app/utils/media/__init__.py
216
255
  tenxgraph_api/src/app/utils/media/extractor.py
217
256
  tenxgraph_api/src/app/utils/media/pipeline.py
257
+ tenxgraph_api/src/app/utils/media/signatures.py
218
258
  tenxgraph_api/src/app/utils/schemas/__init__.py
219
259
  tenxgraph_api/src/app/utils/schemas/output_schemas.py
220
260
  tenxgraph_api/src/app/utils/schemas/user_schemas.py
261
+ tenxgraph_api/testing/__init__.py
262
+ tenxgraph_api/testing/cache_store_contract.py
221
263
  tests/test_agentflow_cli_alias.py
222
264
  tests/test_multimodal_sprint2_extraction.py
223
265
  tests/test_sprint4_media_api.py
@@ -0,0 +1,70 @@
1
+ 10xgraph<2.0,>=1.0.0
2
+ fastapi<1.0,>=0.116
3
+ python-multipart<0.1,>=0.0.31
4
+ starlette>=1.3.1
5
+ pydantic<3,>=2.13
6
+ pydantic-settings<3,>=2.3
7
+ uvicorn<1.0,>=0.36
8
+ typer<1.0,>=0.17
9
+ python-dotenv<2,>=1.0
10
+ questionary<3,>=2.0
11
+ rich<15,>=14.0
12
+
13
+ [ag-ui]
14
+ ag-ui-protocol<2,>=1.0
15
+
16
+ [firebase]
17
+ firebase-admin>=6.5.0
18
+ oauth2client>=4.1.3
19
+
20
+ [gcloud]
21
+ google-cloud-logging
22
+
23
+ [images]
24
+ 10xgraph[images]<2.0,>=1.0.0
25
+
26
+ [jobs]
27
+ taskiq>=0.13.0
28
+ taskiq-redis>=1.2.4
29
+
30
+ [jobs-kafka]
31
+ taskiq>=0.13.0
32
+ taskiq-redis>=1.2.4
33
+ taskiq-aio-kafka>=1.0.0
34
+
35
+ [jobs-rabbitmq]
36
+ taskiq>=0.13.0
37
+ taskiq-redis>=1.2.4
38
+ taskiq-aio-pika>=0.6.1
39
+
40
+ [jwt]
41
+ PyJWT<3,>=2.15.0
42
+
43
+ [media]
44
+ textxtract[docx,html,md,pdf,xml]>=0.2.0
45
+
46
+ [metrics]
47
+ opentelemetry-api>=1.45.1
48
+ opentelemetry-sdk>=1.45.1
49
+ opentelemetry-instrumentation-fastapi>=0.66b2
50
+ opentelemetry-exporter-otlp-proto-http>=1.45.2
51
+ opentelemetry-exporter-prometheus>=0.66b2
52
+ prometheus-client>=0.26.0
53
+
54
+ [otel]
55
+ opentelemetry-api>=1.45.1
56
+ opentelemetry-sdk>=1.45.1
57
+ opentelemetry-instrumentation-fastapi>=0.40b0
58
+ opentelemetry-exporter-otlp>=1.20.0
59
+
60
+ [redis]
61
+ redis<9,>=5.0.7
62
+
63
+ [sentry]
64
+ sentry-sdk>=2.10.0
65
+
66
+ [snowflakekit]
67
+ snowflakekit<1.0,>=0.1.1
68
+
69
+ [websocket]
70
+ websockets<17,>=13.0