Skip to main content

Command Palette

Search for a command to run...

Works With Agents SDK — Python, TypeScript, Go, Rust, Shell, C#

Updated
2 min read

Works With Agents — Now in 6 Languages

All 12 Agent OSI Model protocols now have reference implementations in every language AI agents commonly use.

Language SDKs

LanguageInstallModules
Pythonpip install workswithagentsTrust, Deploy, SLA, Identity, Compliance, Onboard
TypeScriptnpm install workswithagentsTrust, Deploy, SLA, Identity, Compliance, Onboard
Gogo get github.com/vystartasv/works-with-agentsTrust, Deploy, SLA, Identity, Compliance, Onboard
Rustcargo add workswithagentsTrust, Deploy, SLA, Identity, Compliance
Shellsource workswithagents.shAll 6 protocols as curl wrappers
C#Copy WorksWithAgents.csTrust, Deploy, SLA, Identity, Compliance, Onboard

One API. Six Languages. Same Protocols.

Python

from workswithagents import TrustScoreClient, ComplianceEngine

ts = TrustScoreClient()
if ts.get("target-agent")["tier"] == "trusted":
    delegate(task, to="target-agent")

ce = ComplianceEngine()
dtac = ce.load("dtac-v2.1")
if dtac.validate(action).passed:
    execute(action)

TypeScript

import { TrustScoreClient, ComplianceEngine } from "workswithagents";

const ts = new TrustScoreClient();
const score = await ts.get("target-agent");
if (score.tier === "trusted") delegate(task, "target-agent");

const ce = new ComplianceEngine();
const dtac = await ce.load("dtac-v2.1");
if ((await dtac.validate(action)).passed) execute(action);

Go

import wwa "github.com/vystartasv/works-with-agents"

ts := wwa.NewTrustScoreClient()
score, _ := ts.Get("target-agent")

engine := wwa.NewComplianceEngine()
result, _ := engine.Validate("dtac-v2.1", action)

Rust

use workswithagents::{TrustScoreClient, ComplianceEngine};

let ts = TrustScoreClient::new();
let score = ts.get("target-agent")?;

let engine = ComplianceEngine::new();
let result = engine.validate("dtac-v2.1", &action)?;

Shell

source workswithagents.sh
wwa_trust_get "target-agent"
wwa_compliance_validate "dtac-v2.1" '{"verb":"deploy","reversible":true}'

C

using WorksWithAgents;

var score = await WWA.TrustGet("target-agent");
var result = await WWA.ComplianceValidate("dtac-v2.1", action);

Zero Dependencies (except cryptography for Identity)

Python, TypeScript, Go, Shell, and C# SDKs use only stdlib. Rust needs serde+reqwest (standard Rust ecosystem deps).

All CC BY 4.0

Free to use, modify, distribute. Attribution required. Copy-paste into your agent codebase.

More from this blog

W

Works With Agents

26 posts