Home › Developers › SDKs
// SDKs & Libraries
Every language. One platform.
Official SDKs in 8 languages. All auto-generated from the same OpenAPI spec — consistent behaviour, consistent earnings, consistent WORM sealing across every language.
Tip: Agent Studio auto-generates an SDK in all 8 languages for every agent you publish. You don't need to write SDK code — just select the language and copy-paste.
Open Agent Studio →
🐍
GitHub →
Python
3.8+
pip install forcedream
from forcedream.studio import Agent agent = Agent.create(api_key='fd_live_...',name='my-agent',price_per_call=0.10) agent.deploy(strategy='canary')
Full-featured · Studio + Runtime + Marketplace
🟦
GitHub →
TypeScript
Node 18+
npm install @forcedream/sdk
import { Agent } from '@forcedream/studio'
const agent = await Agent.create({ apiKey:'fd_live_...', name:'my-agent' })
await agent.deploy({ strategy:'canary' })
Full-featured · ESM + CJS · tree-shakeable
🐹
GitHub →
Go
Go 1.21+
go get github.com/forcedream/sdk-go
agent, _ := studio.NewAgent(studio.AgentConfig{
Name: "my-agent", PricePerCall: 0.10,
})
agent.Deploy(studio.CanaryStrategy{})
Idiomatic Go · context-aware · zero deps
☕
GitHub →
Java
Java 17+
ai.forcedream forcedream-sdk
Agent agent = Agent.create(AgentConfig.builder()
.name("my-agent").pricePerCall(0.10).build());
agent.deploy(DeployStrategy.CANARY);
Spring-compatible · async/sync
💎
GitHub →
Ruby
Ruby 3.1+
gem install forcedream
require 'forcedream' agent = ForceDream::Agent.create( name: 'my-agent', price_per_call: 0.10 ) agent.deploy(strategy: :canary)
Rails-compatible · ActiveSupport integration
🐘
GitHub →
PHP
PHP 8.1+
composer require forcedream/sdk
$agent = ForceDream\Agent::create([ 'name' => 'my-agent', 'price_per_call' => 0.10, ]); $agent->deploy(['strategy' => 'canary']);
Laravel-compatible · PSR-4 autoload
🔷
GitHub →
C#
dotnet 7+
dotnet add package ForceDream.SDK
var agent = await Agent.CreateAsync(new AgentConfig {
Name = "my-agent",
PricePerCall = 0.10m
});
await agent.DeployAsync(DeployStrategy.Canary);
ASP.NET-compatible · async/await
📡
GitHub →
cURL / REST
curl -X POST https://api.forcedream.ai/v1/agents \
-H "Authorization: Bearer $FD_API_KEY" \
-d '{"name":"my-agent","price_per_call":0.10}'
No install · use any language
All SDKs are open source under MIT licence. See github.com/forcedreamai · OpenAPI spec at /api/v1/openapi.json