ai-agents 0.1.0
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.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +26 -0
- data/CLAUDE.md +188 -0
- data/LICENSE +21 -0
- data/README.md +283 -0
- data/Rakefile +12 -0
- data/examples/README.md +64 -0
- data/examples/isp-support/README.md +121 -0
- data/examples/isp-support/agents_factory.rb +142 -0
- data/examples/isp-support/data/customers.json +133 -0
- data/examples/isp-support/data/docs.json +133 -0
- data/examples/isp-support/data/plans.json +86 -0
- data/examples/isp-support/interactive.rb +135 -0
- data/examples/isp-support/tools/create_checkout_tool.rb +16 -0
- data/examples/isp-support/tools/create_lead_tool.rb +15 -0
- data/examples/isp-support/tools/crm_lookup_tool.rb +28 -0
- data/examples/isp-support/tools/escalate_to_human_tool.rb +12 -0
- data/examples/isp-support/tools/search_docs_tool.rb +22 -0
- data/lib/agents/agent.rb +170 -0
- data/lib/agents/handoff.rb +116 -0
- data/lib/agents/result.rb +13 -0
- data/lib/agents/run_context.rb +106 -0
- data/lib/agents/runner.rb +233 -0
- data/lib/agents/tool.rb +153 -0
- data/lib/agents/tool_context.rb +98 -0
- data/lib/agents/tool_wrapper.rb +71 -0
- data/lib/agents/version.rb +5 -0
- data/lib/agents.rb +70 -0
- data/sig/ruby/agents.rbs +6 -0
- metadata +86 -0
metadata
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ai-agents
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Shivam Mishra
|
8
|
+
bindir: exe
|
9
|
+
cert_chain: []
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: ruby_llm
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '1.3'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '1.3'
|
26
|
+
description: Ruby AI Agents SDK enables creating complex AI workflows with multi-agent
|
27
|
+
orchestration, tool execution, safety guardrails, and provider-agnostic LLM integration.
|
28
|
+
email:
|
29
|
+
- scm.mymail@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".rspec"
|
35
|
+
- ".rubocop.yml"
|
36
|
+
- CLAUDE.md
|
37
|
+
- LICENSE
|
38
|
+
- README.md
|
39
|
+
- Rakefile
|
40
|
+
- examples/README.md
|
41
|
+
- examples/isp-support/README.md
|
42
|
+
- examples/isp-support/agents_factory.rb
|
43
|
+
- examples/isp-support/data/customers.json
|
44
|
+
- examples/isp-support/data/docs.json
|
45
|
+
- examples/isp-support/data/plans.json
|
46
|
+
- examples/isp-support/interactive.rb
|
47
|
+
- examples/isp-support/tools/create_checkout_tool.rb
|
48
|
+
- examples/isp-support/tools/create_lead_tool.rb
|
49
|
+
- examples/isp-support/tools/crm_lookup_tool.rb
|
50
|
+
- examples/isp-support/tools/escalate_to_human_tool.rb
|
51
|
+
- examples/isp-support/tools/search_docs_tool.rb
|
52
|
+
- lib/agents.rb
|
53
|
+
- lib/agents/agent.rb
|
54
|
+
- lib/agents/handoff.rb
|
55
|
+
- lib/agents/result.rb
|
56
|
+
- lib/agents/run_context.rb
|
57
|
+
- lib/agents/runner.rb
|
58
|
+
- lib/agents/tool.rb
|
59
|
+
- lib/agents/tool_context.rb
|
60
|
+
- lib/agents/tool_wrapper.rb
|
61
|
+
- lib/agents/version.rb
|
62
|
+
- sig/ruby/agents.rbs
|
63
|
+
homepage: https://chatwoot.com/ai-agents
|
64
|
+
licenses: []
|
65
|
+
metadata:
|
66
|
+
homepage_uri: https://chatwoot.com/ai-agents
|
67
|
+
source_code_uri: https://github.com/chatwoot/ai-agents
|
68
|
+
changelog_uri: https://github.com/chatwoot/ai-agents
|
69
|
+
rdoc_options: []
|
70
|
+
require_paths:
|
71
|
+
- lib
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 3.1.0
|
77
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
requirements: []
|
83
|
+
rubygems_version: 3.6.7
|
84
|
+
specification_version: 4
|
85
|
+
summary: A Ruby SDK for building sophisticated multi-agent AI workflows
|
86
|
+
test_files: []
|