Skip to main content

Tutorial

This section guides you from zero to a production-ready agent in progressive steps. Each step builds on the previous one.

Framework Note

This tutorial uses LangGraph, the recommended framework for building stateful agents. AgentVisor™ also supports interactive exec mode for running shells and AI coding tools. See Supported Frameworks for details.

Learning Path​

StepTitleWhat You'll Learn
1Your First AgentCreate a chatbot, run it, understand the code
2Configuring Your AgentEnvironment variables with .env files
3Debugging Your AgentLogging, log levels, access logs
4Configuring AgentVisorRuntime config file, environment variables, precedence
5Adding PoliciesPolicy-based access control with MPE
6Securing Your Agent's APITLS encryption, identity, OIDC (OpenID Connect)
7Connecting External ToolsMCP servers, tool discovery, tool policies
8Deploying Your AgentBuild images, deploy to production

Prerequisites​

Before starting, ensure you have:

  • Docker installed and running
  • AgentVisor CLI installed (see Getting Started)
  • jq installed (used throughout to pretty-print API responses in curl examples)

Next Steps​

Start with Your First Agent to create and run an AI chatbot, then continue through the learning path to understand configuration, debugging, policies, and production deployment.