AI Agents
LangChain
economyLangChain is an cost-effective ai agents provider offering Agent Orchestration, Tool Management, Agent Memory through Aweb's unified API. It features none streaming support with premium-tier latency.
Specifications
Capabilities (3)
Quick start
Use LangChain through Alfred's unified API — no provider-specific SDK needed.
cURL
curl -X POST https://api.alfred-ai.app/v1/execute \
-H "Authorization: Bearer $ALFRED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"provider": "langchain",
"capability": "agent.orchestrate",
"input": { "prompt": "Hello from LangChain!" }
}'TypeScript
import { Alfred } from '@alfred/core';
const alfred = new Alfred({ apiKey: process.env.ALFRED_API_KEY });
const result = await alfred.execute({
provider: 'langchain',
capability: 'agent.orchestrate',
input: { prompt: 'Hello from LangChain!' },
});
console.log(result.output);