Skip to content

general-intelligence-systems/agent-sandbox-python-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

agent-sandbox-template

Development

nix develop
start-cluster       # create a k3d cluster
apply-manifests     # build image, install agent-sandbox, apply manifests
claim-sandbox       # claim a sandbox from the warm pool

Alternatively

nix develop --command up

Edit your agent logic in manifests/agent.yaml. All agents implement one function:

def run(request):
    return {"echo": request}

To update without rebuilding: kubectl apply -f manifests/agent.yaml

Test

bin/test

Deploy

# Build the image
docker build -t agent-sandbox:local .

# Push to your registry
docker tag agent-sandbox:local your-registry/agent-sandbox:latest
docker push your-registry/agent-sandbox:latest

# Update the image reference in manifests/sandbox-template.yaml, then:
kubectl apply -f manifests/

About

Nix flake template for Kubernetes Agent Sandbox with k3d-based testing, extensions API manifests, and automation scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors