rails-agent-stack 0.1.1
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/.github/workflows/README.md +16 -0
- data/.github/workflows/ci.yml +32 -0
- data/.gitignore +8 -0
- data/.rspec +3 -0
- data/AGENTS.md +18 -0
- data/CHANGELOG.md +40 -0
- data/Gemfile +15 -0
- data/MIT-LICENSE +21 -0
- data/README.md +228 -0
- data/Rakefile +8 -0
- data/app/assets/images/rails_agents/kip-logo.png +0 -0
- data/app/assets/images/rails_agents/kip-waving.png +0 -0
- data/app/assets/stylesheets/rails_agents/application.css +411 -0
- data/app/controllers/rails_agents/application_controller.rb +25 -0
- data/app/controllers/rails_agents/connect_controller.rb +36 -0
- data/app/controllers/rails_agents/dashboard_controller.rb +70 -0
- data/app/controllers/rails_agents/handshake_controller.rb +55 -0
- data/app/controllers/rails_agents/open_wire_inbound_controller.rb +153 -0
- data/app/controllers/rails_agents/pulls_controller.rb +42 -0
- data/app/controllers/rails_agents/registrations_controller.rb +96 -0
- data/app/controllers/rails_agents/schema_controller.rb +123 -0
- data/app/controllers/rails_agents/sessions_controller.rb +76 -0
- data/app/controllers/rails_agents/tool_bridge_controller.rb +67 -0
- data/app/views/layouts/rails_agents/application.html.erb +18 -0
- data/app/views/rails_agents/dashboard/show.html.erb +139 -0
- data/app/views/rails_agents/registrations/new.html.erb +83 -0
- data/app/views/rails_agents/sessions/new.html.erb +73 -0
- data/app/views/rails_agents/shared/_auth_brand.html.erb +20 -0
- data/config/routes.rb +34 -0
- data/docs/AGENTS.md +220 -0
- data/docs/PRD.md +89 -0
- data/docs/assets/hero-banner.png +0 -0
- data/examples/support/agent.rb +14 -0
- data/examples/support/channels/.keep +0 -0
- data/examples/support/evals/smoke.yml +4 -0
- data/examples/support/knowledge/shipping.md +1 -0
- data/examples/support/memory.rb +3 -0
- data/examples/support/prompt.md +9 -0
- data/examples/support/skills/.keep +0 -0
- data/examples/support/tools/.keep +0 -0
- data/exe/rails-agents +6 -0
- data/lib/generators/rails_agents/agent/agent_generator.rb +80 -0
- data/lib/generators/rails_agents/agent/templates/agent.rb.tt +14 -0
- data/lib/generators/rails_agents/agent/templates/agent_database.rb.tt +42 -0
- data/lib/generators/rails_agents/agent/templates/channels/slack.rb.tt +8 -0
- data/lib/generators/rails_agents/agent/templates/evals/smoke.yml.tt +4 -0
- data/lib/generators/rails_agents/agent/templates/imports.yml.tt +9 -0
- data/lib/generators/rails_agents/agent/templates/memory.rb.tt +6 -0
- data/lib/generators/rails_agents/agent/templates/prompt.md.tt +10 -0
- data/lib/generators/rails_agents/agent/templates/prompt_database.md.tt +14 -0
- data/lib/generators/rails_agents/install/INSTALL +10 -0
- data/lib/generators/rails_agents/install/install_generator.rb +72 -0
- data/lib/generators/rails_agents/install/templates/AGENTS.md.tt +46 -0
- data/lib/generators/rails_agents/install/templates/initializer.rb.tt +8 -0
- data/lib/generators/rails_agents/install/templates/library_README.md.tt +28 -0
- data/lib/generators/rails_agents/install/templates/library_manifest.yml.tt +5 -0
- data/lib/generators/rails_agents/install/templates/rails_agents_autoload.rb.tt +10 -0
- data/lib/rails-agent-stack.rb +4 -0
- data/lib/rails_agents/background_agent.rb +15 -0
- data/lib/rails_agents/base.rb +294 -0
- data/lib/rails_agents/chat_agent.rb +15 -0
- data/lib/rails_agents/cli.rb +245 -0
- data/lib/rails_agents/client.rb +216 -0
- data/lib/rails_agents/configuration.rb +41 -0
- data/lib/rails_agents/creation_agent.rb +10 -0
- data/lib/rails_agents/credentials_writer.rb +38 -0
- data/lib/rails_agents/engine.rb +19 -0
- data/lib/rails_agents/knowledge_agent.rb +10 -0
- data/lib/rails_agents/library_imports.rb +163 -0
- data/lib/rails_agents/local_auth.rb +56 -0
- data/lib/rails_agents/local_sync.rb +113 -0
- data/lib/rails_agents/monitoring_agent.rb +10 -0
- data/lib/rails_agents/open_wire_adapter.rb +31 -0
- data/lib/rails_agents/operations_agent.rb +10 -0
- data/lib/rails_agents/railtie.rb +14 -0
- data/lib/rails_agents/tasks.rake +8 -0
- data/lib/rails_agents/version.rb +5 -0
- data/lib/rails_agents/workflow_agent.rb +11 -0
- data/lib/rails_agents.rb +57 -0
- data/rails-agent-stack.gemspec +49 -0
- data/rails-agents.code-workspace +25 -0
- data/spec/generators/agent_generator_spec.rb +36 -0
- data/spec/rails_agents/base_spec.rb +202 -0
- data/spec/rails_agents/client_spec.rb +121 -0
- data/spec/rails_agents/configuration_spec.rb +55 -0
- data/spec/rails_agents/library_imports_spec.rb +80 -0
- data/spec/rails_agents/local_sync_spec.rb +63 -0
- data/spec/rails_agents/taxonomy_spec.rb +52 -0
- data/spec/spec_helper.rb +27 -0
- metadata +229 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "spec_helper"
|
|
4
|
+
require "tmpdir"
|
|
5
|
+
require "fileutils"
|
|
6
|
+
|
|
7
|
+
RSpec.describe RailsAgents::LibraryImports do
|
|
8
|
+
around do |example|
|
|
9
|
+
Dir.mktmpdir do |root|
|
|
10
|
+
@root = Pathname.new(root)
|
|
11
|
+
@agent_dir = @root.join("app/agents/support")
|
|
12
|
+
@library_dir = @root.join("app/agents_library")
|
|
13
|
+
FileUtils.mkdir_p(@agent_dir)
|
|
14
|
+
FileUtils.mkdir_p(@library_dir)
|
|
15
|
+
example.run
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
it "builds virtual agent files from shared Library imports" do
|
|
20
|
+
FileUtils.mkdir_p(@library_dir.join("skills"))
|
|
21
|
+
@library_dir.join("skills/triage.rb").write("module Triage; end\n")
|
|
22
|
+
@agent_dir.join("imports.yml").write(<<~YAML)
|
|
23
|
+
version: 1
|
|
24
|
+
imports:
|
|
25
|
+
- kind: skill
|
|
26
|
+
slug: triage
|
|
27
|
+
from: library/skills/triage.rb
|
|
28
|
+
YAML
|
|
29
|
+
|
|
30
|
+
files = described_class.new(@agent_dir).virtual_files
|
|
31
|
+
|
|
32
|
+
expect(files).to contain_exactly(
|
|
33
|
+
hash_including(
|
|
34
|
+
"path" => "app/agents/support/skills/triage.rb",
|
|
35
|
+
"content" => "module Triage; end\n",
|
|
36
|
+
"library_source" => "skills/triage.rb"
|
|
37
|
+
)
|
|
38
|
+
)
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
it "exposes imported knowledge at its agent-relative runtime path" do
|
|
42
|
+
FileUtils.mkdir_p(@library_dir.join("knowledge"))
|
|
43
|
+
@library_dir.join("knowledge/policy.md").write("# Policy\n")
|
|
44
|
+
@agent_dir.join("imports.yml").write(<<~YAML)
|
|
45
|
+
version: 1
|
|
46
|
+
imports:
|
|
47
|
+
- kind: knowledge
|
|
48
|
+
slug: policy
|
|
49
|
+
from: library/knowledge/policy.md
|
|
50
|
+
as: knowledge/company/policy.md
|
|
51
|
+
YAML
|
|
52
|
+
|
|
53
|
+
imports = described_class.new(@agent_dir)
|
|
54
|
+
|
|
55
|
+
expect(imports.knowledge_paths).to eq(["knowledge/company/policy.md"])
|
|
56
|
+
expect(imports.virtual_files.first["path"]).to eq(
|
|
57
|
+
"app/agents/support/knowledge/company/policy.md"
|
|
58
|
+
)
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
it "rejects paths that escape the Library" do
|
|
62
|
+
@agent_dir.join("imports.yml").write(<<~YAML)
|
|
63
|
+
version: 1
|
|
64
|
+
imports:
|
|
65
|
+
- kind: tool
|
|
66
|
+
slug: secret
|
|
67
|
+
from: library/../../config/master.key
|
|
68
|
+
YAML
|
|
69
|
+
|
|
70
|
+
expect { described_class.new(@agent_dir).entries }
|
|
71
|
+
.to raise_error(described_class::Error, /stay inside/)
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
it "does nothing for agents without imports" do
|
|
75
|
+
imports = described_class.new(@agent_dir)
|
|
76
|
+
|
|
77
|
+
expect(imports.entries).to eq([])
|
|
78
|
+
expect(imports.virtual_files).to eq([])
|
|
79
|
+
end
|
|
80
|
+
end
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "spec_helper"
|
|
4
|
+
require "tmpdir"
|
|
5
|
+
require "fileutils"
|
|
6
|
+
|
|
7
|
+
RSpec.describe RailsAgents::LocalSync do
|
|
8
|
+
let(:root) { Dir.mktmpdir }
|
|
9
|
+
let(:client) { instance_double(RailsAgents::Client) }
|
|
10
|
+
|
|
11
|
+
after { FileUtils.remove_entry(root) }
|
|
12
|
+
|
|
13
|
+
before do
|
|
14
|
+
RailsAgents.configure do |c|
|
|
15
|
+
c.api_key = "rak_sandbox_test"
|
|
16
|
+
c.api_base = "https://cloud.rails-agent.com"
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
describe "#pull!" do
|
|
21
|
+
it "writes cloud files under app/agents/<slug>/" do
|
|
22
|
+
allow(client).to receive(:get_agent).with(agent: "agt_1").and_return(
|
|
23
|
+
{
|
|
24
|
+
"data" => {
|
|
25
|
+
"id" => "agt_1",
|
|
26
|
+
"name" => "Support",
|
|
27
|
+
"slug" => "support"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
allow(client).to receive(:list_files).with(agent: "agt_1").and_return(
|
|
32
|
+
{
|
|
33
|
+
"data" => [
|
|
34
|
+
{ "path" => "agent.rb", "content" => "class Support < RailsAgents::Base; end\n" },
|
|
35
|
+
{ "path" => "instructions.md", "content" => "# Support\n" },
|
|
36
|
+
{ "path" => "tools/lookup.rb", "content" => "# tool\n" }
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
result = described_class.new(client: client, root: root).pull!("agt_1")
|
|
42
|
+
|
|
43
|
+
expect(result["ok"]).to eq(true)
|
|
44
|
+
expect(result["slug"]).to eq("support")
|
|
45
|
+
expect(result["count"]).to eq(3)
|
|
46
|
+
expect(File.read(File.join(root, "app/agents/support/agent.rb"))).to include("RailsAgents::Base")
|
|
47
|
+
expect(File.read(File.join(root, "app/agents/support/tools/lookup.rb"))).to include("tool")
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
it "rejects path traversal" do
|
|
51
|
+
allow(client).to receive(:get_agent).and_return(
|
|
52
|
+
{ "data" => { "id" => "agt_1", "slug" => "support" } }
|
|
53
|
+
)
|
|
54
|
+
allow(client).to receive(:list_files).and_return(
|
|
55
|
+
{ "data" => [{ "path" => "../secrets.env", "content" => "nope" }] }
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
expect {
|
|
59
|
+
described_class.new(client: client, root: root).pull!("agt_1")
|
|
60
|
+
}.to raise_error(RailsAgents::LocalSync::Error, /Invalid path/)
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "spec_helper"
|
|
4
|
+
require "pathname"
|
|
5
|
+
|
|
6
|
+
RSpec.describe "RailsAgents taxonomy" do
|
|
7
|
+
let(:client) { instance_double(RailsAgents::Client) }
|
|
8
|
+
|
|
9
|
+
before do
|
|
10
|
+
allow(client).to receive(:create_run).and_return({ "id" => "run_1" })
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
{
|
|
14
|
+
RailsAgents::KnowledgeAgent => :knowledge,
|
|
15
|
+
RailsAgents::CreationAgent => :creation,
|
|
16
|
+
RailsAgents::WorkflowAgent => :workflow,
|
|
17
|
+
RailsAgents::OperationsAgent => :operations,
|
|
18
|
+
RailsAgents::MonitoringAgent => :monitoring
|
|
19
|
+
}.each do |klass, kind|
|
|
20
|
+
it "#{klass.name} reports agent_kind #{kind}" do
|
|
21
|
+
expect(klass.agent_kind).to eq(kind)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
it "#{klass.name} sends kind in run metadata" do
|
|
25
|
+
agent = Class.new(klass) do
|
|
26
|
+
model :gpt_5_mini, provider: :openai, credential: :company_openai
|
|
27
|
+
end
|
|
28
|
+
agent.instance_variable_set(:@agent_directory, Pathname.new("/tmp/agents/demo"))
|
|
29
|
+
|
|
30
|
+
agent.new(client: client).run("ping")
|
|
31
|
+
|
|
32
|
+
expect(client).to have_received(:create_run).with(
|
|
33
|
+
hash_including(metadata: hash_including(kind: kind))
|
|
34
|
+
)
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
it "ChatAgent is deprecated alias of Knowledge" do
|
|
39
|
+
expect(RailsAgents::ChatAgent.agent_kind).to eq(:knowledge)
|
|
40
|
+
expect(RailsAgents::ChatAgent).to be < RailsAgents::KnowledgeAgent
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
it "BackgroundAgent is deprecated alias of Operations" do
|
|
44
|
+
expect(RailsAgents::BackgroundAgent.agent_kind).to eq(:operations)
|
|
45
|
+
expect(RailsAgents::BackgroundAgent).to be < RailsAgents::OperationsAgent
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
it "defines TAXONOMY_TYPES constant" do
|
|
49
|
+
expect(RailsAgents::TAXONOMY_TYPES).to eq(%i[knowledge workflow operations monitoring])
|
|
50
|
+
expect(RailsAgents::LEGACY_TAXONOMY_TYPES).to eq(%i[creation])
|
|
51
|
+
end
|
|
52
|
+
end
|
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "webmock/rspec"
|
|
4
|
+
|
|
5
|
+
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
|
|
6
|
+
|
|
7
|
+
require "rails_agents"
|
|
8
|
+
|
|
9
|
+
RSpec.configure do |config|
|
|
10
|
+
config.expect_with :rspec do |expectations|
|
|
11
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
config.mock_with :rspec do |mocks|
|
|
15
|
+
mocks.verify_partial_doubles = true
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
|
19
|
+
config.filter_run_when_matching :focus
|
|
20
|
+
config.disable_monkey_patching!
|
|
21
|
+
config.order = :random
|
|
22
|
+
|
|
23
|
+
config.before do
|
|
24
|
+
RailsAgents.reset!
|
|
25
|
+
WebMock.reset!
|
|
26
|
+
end
|
|
27
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: rails-agent-stack
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Rails Agent Team
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-08-02 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: railties
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '7.0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '7.0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: thor
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '1.3'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '1.3'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: open-wire
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0.1'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0.1'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rake
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '13.0'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '13.0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: rspec
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - "~>"
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '3.13'
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - "~>"
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '3.13'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: webmock
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '3.23'
|
|
90
|
+
type: :development
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - "~>"
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '3.23'
|
|
97
|
+
description: Rails Agent is the most advanced agentic platform for Ruby on Rails.
|
|
98
|
+
Mount /agents, scaffold agent directories, attach BYOK model credentials, and build
|
|
99
|
+
with instructions, tools, connectors, channels, skills, packages, knowledge, memory,
|
|
100
|
+
and guardrails. Sync, run, deploy, and monitor on Rails Agent Cloud — a production
|
|
101
|
+
Rails agent framework and better alternative to RubyLLM and ActiveAgent for fullstack
|
|
102
|
+
Rails AI agents.
|
|
103
|
+
email:
|
|
104
|
+
- hello@railsagents.dev
|
|
105
|
+
executables:
|
|
106
|
+
- rails-agents
|
|
107
|
+
extensions: []
|
|
108
|
+
extra_rdoc_files: []
|
|
109
|
+
files:
|
|
110
|
+
- ".github/workflows/README.md"
|
|
111
|
+
- ".github/workflows/ci.yml"
|
|
112
|
+
- ".gitignore"
|
|
113
|
+
- ".rspec"
|
|
114
|
+
- AGENTS.md
|
|
115
|
+
- CHANGELOG.md
|
|
116
|
+
- Gemfile
|
|
117
|
+
- MIT-LICENSE
|
|
118
|
+
- README.md
|
|
119
|
+
- Rakefile
|
|
120
|
+
- app/assets/images/rails_agents/kip-logo.png
|
|
121
|
+
- app/assets/images/rails_agents/kip-waving.png
|
|
122
|
+
- app/assets/stylesheets/rails_agents/application.css
|
|
123
|
+
- app/controllers/rails_agents/application_controller.rb
|
|
124
|
+
- app/controllers/rails_agents/connect_controller.rb
|
|
125
|
+
- app/controllers/rails_agents/dashboard_controller.rb
|
|
126
|
+
- app/controllers/rails_agents/handshake_controller.rb
|
|
127
|
+
- app/controllers/rails_agents/open_wire_inbound_controller.rb
|
|
128
|
+
- app/controllers/rails_agents/pulls_controller.rb
|
|
129
|
+
- app/controllers/rails_agents/registrations_controller.rb
|
|
130
|
+
- app/controllers/rails_agents/schema_controller.rb
|
|
131
|
+
- app/controllers/rails_agents/sessions_controller.rb
|
|
132
|
+
- app/controllers/rails_agents/tool_bridge_controller.rb
|
|
133
|
+
- app/views/layouts/rails_agents/application.html.erb
|
|
134
|
+
- app/views/rails_agents/dashboard/show.html.erb
|
|
135
|
+
- app/views/rails_agents/registrations/new.html.erb
|
|
136
|
+
- app/views/rails_agents/sessions/new.html.erb
|
|
137
|
+
- app/views/rails_agents/shared/_auth_brand.html.erb
|
|
138
|
+
- config/routes.rb
|
|
139
|
+
- docs/AGENTS.md
|
|
140
|
+
- docs/PRD.md
|
|
141
|
+
- docs/assets/hero-banner.png
|
|
142
|
+
- examples/support/agent.rb
|
|
143
|
+
- examples/support/channels/.keep
|
|
144
|
+
- examples/support/evals/smoke.yml
|
|
145
|
+
- examples/support/knowledge/shipping.md
|
|
146
|
+
- examples/support/memory.rb
|
|
147
|
+
- examples/support/prompt.md
|
|
148
|
+
- examples/support/skills/.keep
|
|
149
|
+
- examples/support/tools/.keep
|
|
150
|
+
- exe/rails-agents
|
|
151
|
+
- lib/generators/rails_agents/agent/agent_generator.rb
|
|
152
|
+
- lib/generators/rails_agents/agent/templates/agent.rb.tt
|
|
153
|
+
- lib/generators/rails_agents/agent/templates/agent_database.rb.tt
|
|
154
|
+
- lib/generators/rails_agents/agent/templates/channels/slack.rb.tt
|
|
155
|
+
- lib/generators/rails_agents/agent/templates/evals/smoke.yml.tt
|
|
156
|
+
- lib/generators/rails_agents/agent/templates/imports.yml.tt
|
|
157
|
+
- lib/generators/rails_agents/agent/templates/memory.rb.tt
|
|
158
|
+
- lib/generators/rails_agents/agent/templates/prompt.md.tt
|
|
159
|
+
- lib/generators/rails_agents/agent/templates/prompt_database.md.tt
|
|
160
|
+
- lib/generators/rails_agents/install/INSTALL
|
|
161
|
+
- lib/generators/rails_agents/install/install_generator.rb
|
|
162
|
+
- lib/generators/rails_agents/install/templates/AGENTS.md.tt
|
|
163
|
+
- lib/generators/rails_agents/install/templates/initializer.rb.tt
|
|
164
|
+
- lib/generators/rails_agents/install/templates/library_README.md.tt
|
|
165
|
+
- lib/generators/rails_agents/install/templates/library_manifest.yml.tt
|
|
166
|
+
- lib/generators/rails_agents/install/templates/rails_agents_autoload.rb.tt
|
|
167
|
+
- lib/rails-agent-stack.rb
|
|
168
|
+
- lib/rails_agents.rb
|
|
169
|
+
- lib/rails_agents/background_agent.rb
|
|
170
|
+
- lib/rails_agents/base.rb
|
|
171
|
+
- lib/rails_agents/chat_agent.rb
|
|
172
|
+
- lib/rails_agents/cli.rb
|
|
173
|
+
- lib/rails_agents/client.rb
|
|
174
|
+
- lib/rails_agents/configuration.rb
|
|
175
|
+
- lib/rails_agents/creation_agent.rb
|
|
176
|
+
- lib/rails_agents/credentials_writer.rb
|
|
177
|
+
- lib/rails_agents/engine.rb
|
|
178
|
+
- lib/rails_agents/knowledge_agent.rb
|
|
179
|
+
- lib/rails_agents/library_imports.rb
|
|
180
|
+
- lib/rails_agents/local_auth.rb
|
|
181
|
+
- lib/rails_agents/local_sync.rb
|
|
182
|
+
- lib/rails_agents/monitoring_agent.rb
|
|
183
|
+
- lib/rails_agents/open_wire_adapter.rb
|
|
184
|
+
- lib/rails_agents/operations_agent.rb
|
|
185
|
+
- lib/rails_agents/railtie.rb
|
|
186
|
+
- lib/rails_agents/tasks.rake
|
|
187
|
+
- lib/rails_agents/version.rb
|
|
188
|
+
- lib/rails_agents/workflow_agent.rb
|
|
189
|
+
- rails-agent-stack.gemspec
|
|
190
|
+
- rails-agents.code-workspace
|
|
191
|
+
- spec/generators/agent_generator_spec.rb
|
|
192
|
+
- spec/rails_agents/base_spec.rb
|
|
193
|
+
- spec/rails_agents/client_spec.rb
|
|
194
|
+
- spec/rails_agents/configuration_spec.rb
|
|
195
|
+
- spec/rails_agents/library_imports_spec.rb
|
|
196
|
+
- spec/rails_agents/local_sync_spec.rb
|
|
197
|
+
- spec/rails_agents/taxonomy_spec.rb
|
|
198
|
+
- spec/spec_helper.rb
|
|
199
|
+
homepage: https://rails-agent.com
|
|
200
|
+
licenses:
|
|
201
|
+
- MIT
|
|
202
|
+
metadata:
|
|
203
|
+
homepage_uri: https://rails-agent.com
|
|
204
|
+
documentation_uri: https://rails-agent.com/docs/getting-started
|
|
205
|
+
source_code_uri: https://github.com/Tiny-Bubble-Company/rails-agents
|
|
206
|
+
bug_tracker_uri: https://github.com/Tiny-Bubble-Company/rails-agents/issues
|
|
207
|
+
changelog_uri: https://github.com/Tiny-Bubble-Company/rails-agents/releases
|
|
208
|
+
rubygems_mimetype: application/x-rubygem
|
|
209
|
+
post_install_message:
|
|
210
|
+
rdoc_options: []
|
|
211
|
+
require_paths:
|
|
212
|
+
- lib
|
|
213
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
214
|
+
requirements:
|
|
215
|
+
- - ">="
|
|
216
|
+
- !ruby/object:Gem::Version
|
|
217
|
+
version: 3.2.0
|
|
218
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
|
+
requirements:
|
|
220
|
+
- - ">="
|
|
221
|
+
- !ruby/object:Gem::Version
|
|
222
|
+
version: '0'
|
|
223
|
+
requirements: []
|
|
224
|
+
rubygems_version: 3.4.1
|
|
225
|
+
signing_key:
|
|
226
|
+
specification_version: 4
|
|
227
|
+
summary: Rails AI agents framework — fullstack Ruby on Rails agents (ActiveAgent /
|
|
228
|
+
RubyLLM alternative).
|
|
229
|
+
test_files: []
|