Quickstart
This path takes a developer from API spec to a deployed Telegram or WhatsApp agent.
1. Install and authenticate
Section titled “1. Install and authenticate”pip install -e packages/clinexus auth login --api-key gaadmlive_your_key_herenexus projects listExpected output:
Authenticated as developer@example.comProjects No projects yet. Run nexus integrate or nexus projects create.2. Generate an agent from OpenAPI
Section titled “2. Generate an agent from OpenAPI”nexus integrate https://api.example.com/openapi.json \ --non-interactive \ --name dayplan-agent \ --description "Calendar planning over Telegram and WhatsApp"The generated directory contains:
dayplan-agent/ nexus-agent.yaml SOUL.md tools/ .env.example3. Review and deploy
Section titled “3. Review and deploy”nexus validate ./dayplan-agent/nexus-agent.yamlnexus deploy ./dayplan-agent/nexus-agent.yamlMinimal deployment config:
apiVersion: nexus/v1kind: Agentmetadata: name: dayplan-agentpersonality: soul_file: ./SOUL.mdtools: builtin: - web_search mcp: []4. Connect a channel
Section titled “4. Connect a channel”Telegram is the fastest beta channel because BotFather can create a bot in minutes.
nexus channels connect telegram --project dayplan-agent --bot-token "$TELEGRAM_BOT_TOKEN"nexus channels status --project dayplan-agentThen send your bot:
hello, what can you do?5. Test the API path
Section titled “5. Test the API path”Use the project test command before sending real user traffic.
nexus test --project dayplan-agent --message "What appointments do I have this week?"Or call the Responses-compatible API directly:
curl -sS https://api.generalaugment.com/v1/responses \ -H "Authorization: Bearer gaadmlive_your_project_key" \ -H "Content-Type: application/json" \ -d '{ "model": "balanced", "input": "What appointments do I have this week?", "metadata": {"project": "dayplan-agent"} }'Python example:
import httpx
response = httpx.post( "https://api.generalaugment.com/v1/responses", headers={"Authorization": "Bearer gaadmlive_your_project_key"}, json={"model": "balanced", "input": "What can you do?"}, timeout=30,)response.raise_for_status()data = response.json()print( next( part["text"] for item in data["output"] if item["type"] == "message" for part in item.get("content", []) if part.get("type") == "output_text" ))Next, read Connect Your API and Telegram setup.