agentic-systems 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. agentic_systems/__init__.py +92 -0
  2. agentic_systems/agents.py +668 -0
  3. agentic_systems/api.py +219 -0
  4. agentic_systems/bedrock_runtime_client.py +299 -0
  5. agentic_systems/chain.py +108 -0
  6. agentic_systems/cli.py +266 -0
  7. agentic_systems/contracts.py +545 -0
  8. agentic_systems/core/__init__.py +41 -0
  9. agentic_systems/core/agents.py +5 -0
  10. agentic_systems/core/contracts.py +5 -0
  11. agentic_systems/core/human_output.py +5 -0
  12. agentic_systems/core/lineage.py +5 -0
  13. agentic_systems/core/results.py +6 -0
  14. agentic_systems/core/runtime.py +209 -0
  15. agentic_systems/core/scheduler.py +219 -0
  16. agentic_systems/core/tools.py +5 -0
  17. agentic_systems/engines/__init__.py +15 -0
  18. agentic_systems/engines/bedrock.py +69 -0
  19. agentic_systems/engines/names.py +68 -0
  20. agentic_systems/engines/python_direct.py +7 -0
  21. agentic_systems/environments.py +802 -0
  22. agentic_systems/errors.py +19 -0
  23. agentic_systems/evals.py +384 -0
  24. agentic_systems/expectations.py +68 -0
  25. agentic_systems/factories.py +377 -0
  26. agentic_systems/final_answer.py +191 -0
  27. agentic_systems/human_output.py +925 -0
  28. agentic_systems/integrations/__init__.py +10 -0
  29. agentic_systems/integrations/langgraph.py +799 -0
  30. agentic_systems/lineage.py +687 -0
  31. agentic_systems/output_contracts.py +136 -0
  32. agentic_systems/providers/__init__.py +43 -0
  33. agentic_systems/providers/base.py +265 -0
  34. agentic_systems/providers/bedrock_runtime.py +2959 -0
  35. agentic_systems/providers/openai_runtime.py +349 -0
  36. agentic_systems/providers/python_direct.py +327 -0
  37. agentic_systems/providers/vllm_runtime.py +147 -0
  38. agentic_systems/results.py +404 -0
  39. agentic_systems/skills/__init__.py +14 -0
  40. agentic_systems/skills/loader.py +134 -0
  41. agentic_systems/skills/skill.py +230 -0
  42. agentic_systems/system.py +604 -0
  43. agentic_systems/tools/__init__.py +15 -0
  44. agentic_systems/tools/compat.py +159 -0
  45. agentic_systems/tools/decorators.py +105 -0
  46. agentic_systems/tools/tool.py +319 -0
  47. agentic_systems/utils.py +1511 -0
  48. agentic_systems-1.0.0.dist-info/METADATA +335 -0
  49. agentic_systems-1.0.0.dist-info/RECORD +52 -0
  50. agentic_systems-1.0.0.dist-info/WHEEL +5 -0
  51. agentic_systems-1.0.0.dist-info/entry_points.txt +2 -0
  52. agentic_systems-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,92 @@
1
+ """Agentic Systems public API."""
2
+
3
+ from . import core, providers, integrations
4
+ from .agents import Agent
5
+ from .api import PUBLIC_API
6
+ from .factories import agent, default_model_id, default_region, load_skill, runtime, scheduler, output_schema
7
+ from .bedrock_runtime_client import BedrockRuntimeClient, DEFAULT_EMBEDDING_MODEL_ID
8
+ from .chain import Chain, ChainStep
9
+ from .contracts import AgentContract, ContractPolicySpec, RunPolicy, ToolExpectationValue, ValidationIssue, ValidationResult, normalize_tool_expectation, validate_contract_policy, validate_tool_expectation
10
+ from .engines.names import (
11
+ BEDROCK_RUNTIME_ENGINE,
12
+ OPENAI_RUNTIME_ENGINE,
13
+ PYTHON_DIRECT_ENGINE,
14
+ VLLM_RUNTIME_ENGINE,
15
+ SUPPORTED_ENGINES,
16
+ canonical_engine_name,
17
+ supported_engine_names,
18
+ )
19
+ from .environments import (
20
+ AgenticEnvironment,
21
+ AgentStepGraph,
22
+ DynamicAgentRouterGraph,
23
+ PlannedAgentGraph,
24
+ EnvironmentTransition,
25
+ build_agent_step_graph,
26
+ build_dynamic_agent_router_graph,
27
+ build_planned_agent_graph,
28
+ build_single_agent_step_graph,
29
+ environment_lineage,
30
+ )
31
+ from .evals import EvalCaseResult, EvalReport, Evaluator, run_eval
32
+ from .expectations import ExpectationBuilder, expect
33
+ from .integrations.langgraph import (
34
+ AgenticGraph,
35
+ GraphApp,
36
+ agent_node,
37
+ graph,
38
+ build_langgraph_agent_graph,
39
+ build_langgraph_agent_node,
40
+ build_langgraph_planned_graph,
41
+ lineage_from_langgraph_result,
42
+ lineage_from_langgraph_state,
43
+ )
44
+ from .output_contracts import (
45
+ AGENTIC_OUTPUT_SCHEMA_VERSION,
46
+ AgenticOutput,
47
+ EpisodeResult,
48
+ GraphStateOutput,
49
+ OutputToolEvent,
50
+ OutputValidation,
51
+ RuntimeInfo,
52
+ TraceEvent,
53
+ UsageInfo,
54
+ )
55
+ from .results import TRACE_SCHEMA_VERSION, RunResult
56
+ from .lineage import LINEAGE_SCHEMA_VERSION, LineageMemory, LineageStep, lineage_memory
57
+ from .final_answer import FINAL_ANSWER_SCHEMA_VERSION, OutputSchema, final_answer, normalize_output
58
+ from .core.runtime import RuntimeConfig
59
+ from .core.scheduler import SchedulerConfig
60
+ from .skills import LoadedSkill, Skill, SkillManifest
61
+ from .system import AgenticSystem, PublicToolRegistry
62
+ from .tools import Tool, tool
63
+ from .human_output import human_result, human_results, print_human_result, print_human_results
64
+ from .utils import (
65
+ AGENT_OUTPUT_SCHEMA_VERSION,
66
+ OUTPUT_SCHEMA_VERSION,
67
+ agent_output,
68
+ agent_output_mapper,
69
+ make_agent_output_mapper,
70
+ aws_environment_snapshot,
71
+ boto3_session_snapshot,
72
+ configure_notebook_environment,
73
+ chain_history_summary,
74
+ environment_summary,
75
+ eval_report_output,
76
+ eval_report_summary,
77
+ mask_sensitive,
78
+ maybe_show_trace,
79
+ repair_ada_credential_chain,
80
+ run_result_output,
81
+ run_result_summary,
82
+ run_result_view,
83
+ show_json,
84
+ show,
85
+ compare,
86
+ compose_result,
87
+ tool_result_summary,
88
+ )
89
+
90
+ __version__ = "1.0.0"
91
+
92
+ __all__ = list(PUBLIC_API)