Microsoft Agent Framework is an open source framework for building, orchestrating, and deploying AI agents and multi-agent applications. It provides you with the tools to create intelligent agents that can reason, use tools, collaborate, and automate complex workflows.

Deploying a Quick Deploy App

Akamai Quick Deploy Apps let you easily deploy software on a Compute Instance using Cloud Manager. See Get Started with Quick Deploy Apps for complete steps.

  1. Log in to Cloud Manager and select the Quick Deploy Apps link from the left navigation menu. This displays the Linode Create page with the Marketplace tab pre-selected.

  2. Under the Select App section, select the app you would like to deploy.

  3. Complete the form by following the steps and advice within the Creating a Compute Instance guide. Depending on the Quick Deploy App you selected, there may be additional configuration options available. See the Configuration Options section below for compatible distributions, recommended plans, and any additional configuration options available for this Quick Deploy App.

  4. Click the Create Linode button. Once the Compute Instance has been provisioned and has fully powered on, wait for the software installation to complete. If the instance is powered off or restarted before this time, the software installation will likely fail.

To verify that the app has been fully installed, see Get Started with Akamai Quick Deploy Apps > Verify Installation. Once installed, follow the instructions within the Getting Started After Deployment section to access the application and start using it.

Note
Estimated deployment time: Microsoft Agent Framework should be fully installed within 5 minutes after the Compute Instance has finished provisioning.

Configuration Options

  • Supported distributions: Ubuntu 24.04 LTS
  • Recommended plan: All plan types and sizes can be used.

CrewAI Options

Limited Sudo User

You need to fill out the following fields to automatically create a limited sudo user, with a strong generated password for your new Compute Instance. This account will be assigned to the sudo group, which provides elevated permissions when running commands with the sudo prefix.

  • Limited sudo user: Enter your preferred username for the limited user. No Capital Letters, Spaces, or Special Characters.

    Locating The Generated Sudo Password

    A password is generated for the limited user and stored in a .credentials file in their home directory, along with application specific passwords. This can be viewed by running: cat /home/$USERNAME/.credentials

    For best results, add an account SSH key for the Cloud Manager user that is deploying the instance, and select that user as an authorized_user in the API or by selecting that option in Cloud Manager. Their SSH pubkey will be assigned to both root and the limited user.

  • Disable root access over SSH: To block the root user from logging in over SSH, select Yes. You can still switch to the root user once logged in, and you can also log in as root through Lish.

    Accessing The Instance Without SSH
    If you disable root access for your deployment and do not provide a valid Account SSH Key assigned to the authorized_user, you will need to login as the root user via the Lish console and run cat /home/$USERNAME/.credentials to view the generated password for the limited user.
Warning
Do not use a double quotation mark character (") within any of the App-specific configuration fields, including user and database password fields. This special character may cause issues during deployment.

Getting Started after Deployment

Testing Python SDK

Once the deployment is complete, the agent-framework library should already be installed on your instance. This allows you to import the library into your software. To get started:

  1. Create an example directory called science.

    mkdir science
  2. Create a test Python file called agent.py that allows you to use our AI model.

    cd science
    vim agent.py
    
  3. Enter the following content into the agent.py Python file.

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    
    import asyncio
    from openai import AsyncOpenAI
    from agent_framework import Agent
    from agent_framework.openai import OpenAIChatClient
    
    async def main():
        client = OpenAIChatClient(
            model="Qwen/Qwen3-14B-AWQ",
            base_url="http://localhost:8000/v1",
            api_key="dummy",
        )
    
        agent = client.as_agent(
            name="Assistant",
            instructions="You are a helpful assistant.",
        )
    
        result = await agent.run("Why is the sky blue?")
    
        print(result)
    
    if __name__ == "__main__":
        asyncio.run(main())
    
  4. Once you save the file, execute it with the following command.

    python3 agent.py

This example uses a self-hosted model exposed via the LLM’s API. If you want to use a provider model, refer to the Microsoft Agent Framework documentation.

Note
Currently, Akamai doesn’t manage software and systems updates for Quick Deploy Apps. It is up to the user to perform routine maintenance on software deployed in this fashion.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

This page was originally published on


Your Feedback Is Important

Let us know if this guide was helpful to you.