1
Create your agent
Choose a framework and a new or empty directory:Edit
instructions.md to describe what your agent should do.2
Connect your model
Replace these values under
spec.environment in config.yaml:If your provider requires authentication, supply
OPENAI_API_KEY through the runtime environment. Keep credentials out of config.yaml.Model configuration and examples →3
Test and try it
http://127.0.0.1:1907/ to chat with your agent in the playground.Choose a starting size
Append one of these flags toharnest init, or keep the default.
Add a scheduled function
From the project directory, create a cron function with its own queued task:cron/daily_report.py and configure shared task and cron storage before serving. For a target whose schedule is created at runtime, use harnest add cron reminder --dynamic. See scheduled tasks for setup and dynamic schedules for runtime control.
Explore the project structure · Add Agent Tools · Configure serving