AgentWeb SDK And Agent Integration Examples
AgentWeb design partners receive a workflow ID, API key, action map, docs, and an integration wrapper their agent stack can call. The public examples below describe the intended integration surface.
LangChain Tool Wrapper
from agentweb.langchain import AgentWebToolkit
tools = AgentWebToolkit(
api_key="aw_YOUR_KEY",
workflows=["supplier_discovery"]
).tools()
Direct Python SDK
from agentweb import AgentWeb
client = AgentWeb(api_key="aw_YOUR_KEY")
result = client.workflow("supplier_discovery").run({
"product_request": "reusable stainless steel water bottles",
"quality_constraints": {
"certifications": ["FDA", "LFGB"],
"minimum_order_quantity": "under 1000 units"
}
})
TypeScript SDK
import { AgentWeb } from "agentweb";
const client = new AgentWeb({ apiKey: "aw_YOUR_KEY" });
const result = await client.workflow("supplier_discovery").run({
product_request: "custom bamboo desk organizers",
quality_constraints: { region: "North America or EU" }
});
REST
curl -X POST https://mcp.agentweb.us/api/execute \
-H "Authorization: Bearer aw_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"workflow_id": "supplier_discovery",
"input": {
"product_request": "custom bamboo desk organizers"
}
}'
MCP
claude mcp add agentweb \
--transport http https://mcp.agentweb.us/mcp \
--header "Authorization: Bearer aw_YOUR_KEY"
Required Deliverables For A Design Partner
- Workflow ID
- Action map
- API key and scoped access rules
- SDK or LangChain wrapper
- Benchmark against the customer's current agent stack
- Verification and failure artifacts