10 Minute Setup

Quickstart Guide

Learn how to author a Python agent, register endpoints in the Agents Fleet, trigger dynamic goals, and monitor live Think-Act-Observe logs.

01

Viksa AI Operational Architecture

The platform is built around a closed-loop framework. Every goal follows a three-step cycle:

PhaseAction descriptionSystem status
THINKExecutor parses goal, checks environment variables, and selects agents.Analyzing telemetry
ACTSelected agents coordinate, run commands, call APIs, and deploy workloads.Executing tasks
OBSERVETraces output data, logs latency, registers approvals, and learns outcomes.Verifying system metrics
02

Step-by-Step Guide

  1. 1

    Sign in to your Workspace

    Viksa AI is designed for secure, enterprise environments. Obtain your organization login credentials or access the platform directly using corporate SSO/SAML integrations.

    • Log in via your dedicated URL and create a new project.
    • Retrieve your project access keys from the secure dashboard dashboard.
  2. 2

    Build your first Python Agent

    Define your agent in main.py with async functions and the @mcp_endpoint decorator (from the injected ViksaAI module in the UI, or viksa_ai.runtime when developing locally). Each endpoint takes a single payload: Dict[str, Any] and is invoked by the Think→Act→Observe executor at runtime.

    main.py
    from typing import Any, Dict
    
    # In the dashboard editor use: from .ViksaAI import mcp_endpoint
    from viksa_ai.runtime import mcp_endpoint
    
    @mcp_endpoint(description="Greet someone by name from the payload")
    async def greet(payload: Dict[str, Any]) -> Dict[str, Any]:
        name = payload.get("name") or "there"
        return {"message": f"Hello, {name}! Welcome to Viksa AI."}
    

    List pip dependencies in requirements.txt:

    requirements.txt
    httpx>=0.27.0
    # Optional for local validation: pip install viksa-ai[dev]
    

    Optionally install viksa-ai and run viksa-agent-validate ./my-agent/ before upload. See the Python SDK guide and Creating agents.

  3. 3

    Add a Specialized Agent (Optional)

    The Viksa AI executor excels at chaining multiple agents together to fulfill a single, high-level goal. Add a second server health checker:

    server_health.py
    from typing import Any, Dict
    from viksa_ai.runtime import mcp_endpoint
    
    @mcp_endpoint(description="Return a simple health status object")
    async def check_health(payload: Dict[str, Any]) -> Dict[str, Any]:
        return {"status": "ok", "service": payload.get("service", "agent")}
    
  4. 4

    Trigger dynamic execution

    Open the **Interactive Chat** in your dashboard, describe the objective in plain English, and watch the executor dynamically plan, coordinate, and execute the steps:

    Execution preview
    User: "Greet John and check if our servers are healthy."
    
    ThinkActObserve:
      1. hello_agent.greet(name="John")
      2. server_health.check_health()
  5. 5

    Invoke Webhook Triggers

    Automate goal execution from alerts or third-party webhooks. Configure an active **Trigger**, and POST a JSON payload specifying the objective:

    POST /api/v1/triggers/tg-982a/invoke
    {
      "event": "incident.opened",
      "severity": "high",
      "service": "payments-api",
      "goal": "Investigate elevated error rate and restart unhealthy pods if needed"
    }
03

Next Steps