A blazing-fast, configurable agent framework for Python using
-
The project assumes you are using uv for managing Python packages.Install uv (Python package manager):
curl -Ls https://astral.sh/uv/install.sh
-
Add your API keys
Export your
OPENAI_API_KEYin the console:export OPENAI_API_KEY=your-key-hereVerify your setup:
fast-agent check
-
Keep your secrets safe
- Never commit
fastagent.secrets.yamlto version control.
- Never commit
-
Configure your agent
- Edit
fastagent.config.yamlto set your default model (default:gpt-4.1).
- Edit
fastagent.secrets.yaml— API keys and secrets (keep private!)fastagent.config.yaml— Agent configuration (model, settings, etc.)
- Run
fast-agent checkto validate configuration. - Open issues or view docs in the repo.
uv run playwright_agent.pyOnce Github actions complete the buld will output andtsore playwright-artifact file (compressed) which contains of the report, screenshots and traces
To view traces it is recommended to compress traces contents using command line to ensure the zip's root is the traces directory and it doesn't include extra parent folders.
cd <path-to-where-the-artifct-is-downloaded>/playwright-artifact
zip -r traces.zip traces/*open traces.zip using https://trace.playwright.dev/