-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllamavault.yaml
More file actions
69 lines (62 loc) · 2.51 KB
/
Copy pathllamavault.yaml
File metadata and controls
69 lines (62 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# ============================================================================
# LlamaVault Configuration
# ============================================================================
# Single config file for the entire system. All scripts and services read
# from this file. Edit this, then run: make dev / make deploy / make up
# ============================================================================
# --- Model ------------------------------------------------------------------
model:
name: llama-3.2-3b-instruct # Model name from models/models.yaml
file: llama-3.2-3b-instruct-q4_k_m.gguf
context_size: 4096
max_tokens: 4096
temperature: 0.7
threads: 4 # CPU threads for inference
parallel: 2 # Concurrent request slots
# --- Agent ------------------------------------------------------------------
agent:
memory_window: 100 # Messages kept in context
restrict_to_workspace: true # Sandbox file access to workspace
port: 18790 # Agent gateway port
# api_key: "" # Set to protect the gateway API
# --- MCP Servers ------------------------------------------------------------
# External capabilities via Model Context Protocol.
# Each entry is a named server with either stdio or HTTP transport.
mcp_servers:
# Example — filesystem access:
# filesystem:
# command: npx
# args: ["-y", "@anthropic/mcp-filesystem-server", "/data"]
#
# Example — GitHub:
# github:
# command: npx
# args: ["-y", "@anthropic/mcp-github-server"]
# env:
# GITHUB_TOKEN: ghp_xxx
#
# Example — HTTP transport:
# custom:
# url: http://localhost:3000/mcp
# headers:
# Authorization: "Bearer xxx"
mcp_allowed_commands: [npx, uvx]
# --- Security (AI SAFE² Gateway) -------------------------------------------
security:
level: strict
block_prompt_injection: true
block_pii: true
max_requests_per_minute: 60
kill_switch: false
# --- Paths ------------------------------------------------------------------
paths:
models_dir: ./models/data
data_dir: ./data/nanobot
# --- Deploy (AWS Lightsail) -------------------------------------------------
deploy:
region: us-east-1
availability_zone: us-east-1a
bundle: 2xlarge_3_0 # xlarge_3_0 (8GB), 2xlarge_3_0 (16GB), 4xlarge_3_0 (32GB)
disk_size_gb: 60
instance_name: llamavault
# ssh_cidrs: ["YOUR_IP/32"] # REQUIRED for deploy — restrict SSH access