Skip to main content

LangGraph adapter for Azure AI Agent Server

Project description

Azure AI Agent Server Adapter for LangGraph Python

Getting started

pip install azure-ai-agentserver-langgraph

Key concepts

Azure AI Agent Server wraps your LangGraph agent, and host it on the cloud.

Examples

# your existing agent
from my_langgraph_agent import my_awesome_agent

# langgraph utils
from azure.ai.agentserver.langgraph import from_langgraph

if __name__ == "__main__":
    # with this simple line, your agent will be hosted on http://localhost:8088
    from_langgraph(my_awesome_agent).run()

Note If your langgraph agent was not using langgraph's builtin MessageState, you should implement your own LanggraphStateConverter and provide to from_langgraph.

Reference this example for more details.

Troubleshooting

First run your agent with azure-ai-agentserver-langgraph locally.

If it works on local but failed on cloud. Check your logs in the application insight connected to your Azure AI Foundry Project.

Next steps

Please visit Samples folder. There are several samples for you to build your agent with azure-ai-agentserver-* packages

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure_ai_agentserver_langgraph-1.0.0b4.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file azure_ai_agentserver_langgraph-1.0.0b4.tar.gz.

File metadata

File hashes

Hashes for azure_ai_agentserver_langgraph-1.0.0b4.tar.gz
Algorithm Hash digest
SHA256 aeb3d3ec858b54cafa829383d6e186bb0ba63e44af95876bfb18ce984a279771
MD5 e4d926eb1d3fc147729d9a1b88ac04e5
BLAKE2b-256 e35323ef28c9fcd0fcf162b9555dfb12b8f480125daf147799709e2b50d002bd

See more details on using hashes here.

File details

Details for the file azure_ai_agentserver_langgraph-1.0.0b4-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_ai_agentserver_langgraph-1.0.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 6d071b87f9e29dd34fdc86654f1e02fdea1dca1b719c4e3b5a7a0f253644d7e4
MD5 a34d66ebbcc83b7a102c694df4dbe9c0
BLAKE2b-256 848579aae16ef3b57263ee41fbb86bb0af2127205bd0d4fc8f9480a6ffa42b3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page