Skip to content
Your AI on a USB stick

One YAML file, offline

kdeps turns one workflow.yaml into an offline AI appliance: an API, a binary, an image, or an ISO.

actionId: llmvalidations:  check:    - get('q') != ''   # 400 before any model callchat:  model:    name: ministral3   # local, no API key  context:    prompt: "{{ get('q') }}"  loop:   # a bounded agent step    tools: [read_file]    maxRounds: 5
$export KDEPS_API_AUTH_TOKEN=dev-token
$kdeps test .
Running 1 eval(s) for chat-api
 
PASS needs-q (400, 1ms)
 
1 passed, 0 failed
$kdeps run .
Starting HTTP server on 0.0.0.0:16395
$

runs on

OllamallamafileOpenAIAnthropicGoogleOpenRouterGroqMistralDeepSeekxAICohereTogetherPerplexityHugging FaceCloudflareBedrockwatsonx

git-native

The YAML is the behavior spec

The YAML in your repository defines what the appliance does. A commit changes the behavior, and git history is its changelog.

git show HEAD - resources/llm.yaml
validations:
  check:
    - get('q') != ''
+    - len(get('q')) < 2000      # reject prompts over 2000 characters
chat:
  model:
-    name: llama3.2:1b
+    name: qwen2.5:7b
  context:
    prompt: "{{ get('q') }}"

One commit, two behavior changes. The diff is the change.

getting started

How it works

Write YAML. Run it. Ship the same file.

01

Write YAML

Put the steps in one workflow.yaml.

→
02

Run it

kdeps run serves it as an API, a bot, a file job, or a prompt.

→
03

Ship it

Ship the same file as an image, a binary, or an ISO.

kdeps has the Apache 2.0 License.