Skip to content

Commit

Permalink
Snapcraft package for ubuntu local agent
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinbayes committed Nov 17, 2024
1 parent a3fd8b9 commit f256a60
Show file tree
Hide file tree
Showing 14 changed files with 70 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ members = [
"agentsmith-prompt",
"agentsmith-runtime",
"agentsmith-orchestrator",
"agentsmith-worker",
"agentsmith-web"
]

Expand Down
26 changes: 25 additions & 1 deletion agentsmith-runtime/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# Agentsmith Runtime

This is a runtime that can be deployed anywhere and communicates with the orchestrator to process requests.
This is a runtime that can be deployed anywhere and communicates with the orchestrator to process requests.

# Supported

* Simple
* Metal
* GCP
* AWS

## Simple

Simple is meant for testing purposes. It is run in anywhere anytime.

## Metal

Metal runtime works with the agents running on a host. This can be used to run
your AI team in containers, on VM's or bare metal.

## GCP

GCP runtime uses GCP to run your AI teams. The underlying technology is Cloudrun and Cloud Functions.

## AWS

TBD
Empty file.
Empty file.
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions agentsmith-worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "agentsmith-worker"
version = "0.1.0"
edition = "2021"

[dependencies]
serde = "1.0"
serde_json = "1.0"
strum_macros = "0.26.2"
3 changes: 3 additions & 0 deletions agentsmith-worker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Worker

The worker is an agent that runs in an environment and monitors your agentsmith environment.
6 changes: 6 additions & 0 deletions agentsmith-worker/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pub mod repository;


fn main() {
println!("Hello, world!");
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% include "software_orchestrator/system.prompt.jinja" %}

Software request:
{{ instructions }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
You are a world class tech lead.
You can orchestrate this engineering effort required to deliver on given instructions.
1 change: 1 addition & 0 deletions agentsmith-worker/src/repository/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod prompt_repository;
Empty file.
20 changes: 19 additions & 1 deletion local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,23 @@ services:
source: ./mockserver/
target: /config

graph:
image: arangodb:3.12
# command: arangod --database.auto-upgrade
ports:
- "8529:8529"
environment:
- ARANGO_ROOT_PASSWORD=password
volumes:
- type: bind
read_only: false
source: ./data/arango/data/
target: /var/lib/arangodb3
- source: ./data/arango/backup/
target: /opt/backup/
read_only: false
type: bind


database:
image: mysql:8
Expand All @@ -51,4 +68,5 @@ services:
limits:
memory: 2048M
reservations:
memory: 8M
memory: 8M

0 comments on commit f256a60

Please sign in to comment.