# Examples

## simple_agent.py

Basic agent example demonstrating core a1 concepts: defining tools, creating an agent with input/output schemas, and using both AOT (ahead-of-time compilation) and JIT (just-in-time execution) modes.

## router_config.py

Shows how to load command definitions from a JSON file and dynamically create a1 Tool instances, demonstrating how to scale to hundreds or thousands of tools loaded from configuration files.

## readme_example.py

Simple example used in the main README showing basic agent creation and execution patterns.

