Naftiko · Capability

Deterministic Foundation For Agents Demo

A demo capability illustrating the deterministic-foundation-for-agents pattern end-to-end with a small, repeatable workflow.

Run with Naftiko NaftikoDeterministicDemo

What You Can Do

POST
Run demo
/demos/{{workflow_id}}/run

MCP Tools

list-demos

read-only
run-demo

Capability Spec

deterministic-foundation-for-agents-demo.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  title: Deterministic Foundation For Agents Demo
  description: A demo capability illustrating the deterministic-foundation-for-agents pattern end-to-end with a small, repeatable workflow.
  tags: [Naftiko, Deterministic, Demo]
  created: '2026-05-01'
  modified: '2026-05-04'
binds:
- namespace: naftiko-env
  keys: {NAFTIKO_API_KEY: NAFTIKO_API_KEY}
capability:
  consumes:
  - namespace: naftiko-control
    type: http
    baseUri: https://api.naftiko.com
    authentication: {type: bearer, token: '{{NAFTIKO_API_KEY}}'}
    resources:
    - {name: demo-workflows, path: /v1/demos/workflows, operations: [{name: list-demo-workflows, method: GET}]}
    - name: demo-workflow-run
      path: '/v1/demos/workflows/{{workflow_id}}/runs'
      operations:
      - {name: run-demo-workflow, method: POST, inputParameters: [{name: workflow_id, in: path}]}
  exposes:
  - type: rest
    address: 0.0.0.0
    port: 8080
    namespace: deterministic-foundation-for-agents-demo-rest
    description: REST surface for the deterministic-foundation demo.
    resources:
    - {name: run, path: '/demos/{{workflow_id}}/run', operations: [{method: POST, name: run-demo, inputParameters: [{name: workflow_id, in: path, type: string}], call: naftiko-control.run-demo-workflow}]}
  - type: mcp
    address: 0.0.0.0
    port: 3010
    namespace: deterministic-foundation-for-agents-demo-mcp
    description: MCP for the demo.
    tools:
    - {name: list-demos, hints: {readOnly: true}, call: naftiko-control.list-demo-workflows}
    - name: run-demo
      inputParameters: [{name: workflow_id, type: string, required: true}]
      call: naftiko-control.run-demo-workflow
  - type: skill
    address: 0.0.0.0
    port: 3011
    namespace: deterministic-foundation-for-agents-demo-skills
    description: Skill for the demo.
    skills:
    - name: deterministic-foundation-for-agents-demo
      description: Deterministic-foundation demo.
      location: file:///opt/naftiko/skills/deterministic-foundation-for-agents-demo
      allowed-tools: list-demos,run-demo
      tools:
      - {name: list-demos, from: {sourceNamespace: deterministic-foundation-for-agents-demo-mcp, action: list-demos}}
      - {name: run-demo, from: {sourceNamespace: deterministic-foundation-for-agents-demo-mcp, action: run-demo}}