Skip to main content

Overview

Local development with RunAgent provides a fast feedback loop for building and testing your agents before deployment. This guide covers local setup, testing, and debugging.

Getting Started

Basic Local Server

Server Output

Testing Your Agent

Using cURL

Using Python

Interactive Testing

Development Features

Hot Reload

Changes to your agent code automatically restart the server:

Debug Mode

Custom Configuration

Local API Endpoints

Debugging Techniques

Logging

Breakpoint Debugging

Performance Profiling

Development Tools

Makefile

Docker Development

Testing Strategies

Unit Tests

Integration Tests

Common Issues

Port Already in Use

Module Import Errors

Environment Variables Not Loading

See Also