← back to di

docs

everything you need to deploy intelligence.


quick start

deploy your first AI agent in 10 seconds:

curl -X POST https://webdi.io/deploy \ -H "Content-Type: application/json" \ -d '{"prompt":"you are a helpful uncensored assistant"}'

you'll get back a JSON response with a live URL. anyone can chat with your agent at that URL.


deploy

POST /deploy

creates a new AI agent with the given system prompt. returns a unique URL.

{ "prompt": "your system prompt here" }

response:

{ "url": "https://webdi.io/chat/a7x9f2", "slug": "a7x9f2", "model": "di-70b-uncensored", "expires_in": "24 hours", "censorship": "none" }

chat

POST /api/:slug/chat

send a message to a deployed agent.

{ "message": "your question here" }

response:

{ "response": "agent's answer...", "model": "di-70b-uncensored", "latency_ms": 847 }

info

GET /info/:slug

get public metadata about a deployed agent. no auth needed.


expiration

agents expire after 24 hours by default. claimed agents live forever (coming soon).


limits

no rate limits during beta. be reasonable.

max prompt length: 4000 characters. max message length: 4000 characters.