How to configure Hawk Agent with your model, API key, and base URL — all from inside the app.
Download HawkAgent.exe and place it in its own folder (e.g. C:\HawkAgent\).
Double-click HawkAgent.exe. The app opens maximized and lands on a new session, ready to go.
Everything is done from the settings gear (⚙) in the top bar — no text editor needed. Open it and fill in:
One of: openai-compatible, openai, or openrouter. Use openai-compatible for DeepSeek, local models, and most third-party gateways.
The model name your provider expects, e.g. gpt-4o-mini, deepseek-chat, meta-llama/llama-3.1-8b-instruct:free.
The API endpoint. Examples:
https://api.openai.com/v1 # OpenAI https://api.deepseek.com/v1 # DeepSeek https://openrouter.ai/api/v1 # OpenRouter http://localhost:11434/v1 # Ollama (local)
Your secret key. Leave empty only if the endpoint needs no auth (e.g. a local Ollama with auth disabled). Settings saves it for you.
Settings writes your choices back automatically — they persist between launches.
You don't need to pay. These providers offer free tiers or free models — sign up, then paste the key + base URL + model into Settings:
:free suffix (e.g. meta-llama/llama-3.1-8b-instruct:free, google/gemma-2-9b-it:free). base_url: https://openrouter.ai/api/v1https://api.groq.com/openai/v1https://generativelanguage.googleapis.com/v1beta/openai/http://localhost:11434/v1, api_key: leave emptyhttps://api-inference.huggingface.co/v1/https://api.mistral.ai/v1Tip: start with OpenRouter's :free models — no credit card, just an account.
temperature — 0.0 to 1.0 (default 0.2). Higher = more creative.max_tokens — max reply length (default 4096).request_timeout — seconds per HTTP request (default 120).max_retries / retry_backoff — resilience for flaky networks.agent.max_steps — max tool-use steps per task (default 20).agent.tool_timeout — seconds per tool call (default 30).tools.filesystem.base_dir — sandbox root for file tools (default .).tools.shell.allowlist — commands the agent may run.tools.require_approval — set true to confirm writes/commands before running.If you see "No API key set", open Settings and paste your key, then save. Make sure the model and base URL match the provider you chose.