
Product
Socket for Asana Is Now Available
Create and manage Asana tasks directly from Socket alerts, with manual task creation, automated ticketing rules, and two-way sync.
@agentforge-ai/cloud-client
Advanced tools
HTTP client library for deploying agents to AgentForge Cloud.
npm install @agentforge-ai/cloud-client
import { CloudClient } from '@agentforge-ai/cloud-client';
// Initialize client
const client = new CloudClient({
apiKey: 'cloud_sk_your_api_key',
});
// Authenticate (validate API key)
await client.authenticate();
// Deploy a project
const deployment = await client.deployCLIProject({
name: 'my-project',
version: '1.0.0',
agents: [
{
id: 'my-agent',
name: 'My Agent',
model: 'gpt-4o',
instructions: 'You are a helpful assistant.',
},
],
});
console.log(`Deployed to: ${deployment.url}`);
CloudClientnew CloudClient(config: {
apiKey: string;
baseUrl?: string; // defaults to https://cloud.agentforge.io
})
authenticate(apiKey?: string): Promise<void> - Validate API keycreateAgent(config: AgentConfig): Promise<CloudAgent> - Create a single agentdeployCLIProject(project: CLIProject): Promise<Deployment> - Deploy a full projectgetDeploymentStatus(deploymentId: string): Promise<Deployment> - Check deployment statuslistDeployments(): Promise<Deployment[]> - List all deploymentsAgentConfiginterface AgentConfig {
id: string;
name: string;
model: string; // e.g., 'gpt-4o' or 'openai:gpt-4o'
instructions: string; // system prompt
tools?: ToolConfig[];
}
CLIProjectinterface CLIProject {
name: string;
version?: string;
agents: AgentConfig[];
env?: Record<string, string>;
}
Deploymentinterface Deployment {
id: string;
agentId: string;
status: 'pending' | 'building' | 'deploying' | 'ready' | 'failed';
url?: string;
createdAt: string;
updatedAt: string;
error?: string;
}
import { CloudClient, CloudAPIError } from '@agentforge-ai/cloud-client';
try {
await client.authenticate();
} catch (error) {
if (error instanceof CloudAPIError) {
console.error(`API Error ${error.statusCode}: ${error.message}`);
console.error(`Error Code: ${error.code}`);
}
}
Apache-2.0
FAQs
HTTP client for AgentForge Cloud deployment API
We found that @agentforge-ai/cloud-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Create and manage Asana tasks directly from Socket alerts, with manual task creation, automated ticketing rules, and two-way sync.

Security News
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.