Use the agent when you want runs to execute inside your own network with cloud credentials that stay local.
git and tofu installed on the machine that will run the agentSettings → Infrastructure → API Keys. Create a new API key for your agent and copy it somewhere secure. You will use it as FORGECROFT_API_KEY.
FORGECROFT_API_URL and FORGECROFT_API_KEY, then start the agent.
export FORGECROFT_API_URL=https://api.forgecroft.com export FORGECROFT_API_KEY=fc_live_... ./forgecroft-agent
agent. Future runs for that workspace will be handed to your self-hosted agent.
The Forgecroft API key is only for agent-to-Forgecroft authentication. Your actual cloud access still comes from the environment where the agent runs.