{"modulePath":"github.com/agent-fox-dev/agentkit-go","version":"v0.11.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\nCommand codingagent is a coding agent with the built-in file and shell tools, a workspace root, an execute policy and a live event stream.\n\n\texport ANTHROPIC_API_KEY=sk-ant-...\n\tgo run ./examples/codingagent \"Which files define the tool policy?\"\n\nAGENTKIT\\_PROVIDER, AGENTKIT\\_MODEL and AGENTKIT\\_EFFORT choose what runs the model: the provider (anthropic, the default, openrouter or ollama), a tier (SIMPLE, STANDARD, the default, or ADVANCED) or the provider's own model id, and the effort (low to max; the tier's when empty). One run on each provider:\n\n\tANTHROPIC_API_KEY=sk-ant-... go run ./examples/codingagent \"Summarise this package.\"\n\tAGENTKIT_PROVIDER=openrouter OPENROUTER_API_KEY=sk-or-... go run ./examples/codingagent \"Summarise this package.\"\n\tAGENTKIT_PROVIDER=ollama AGENTKIT_EFFORT=high go run ./examples/codingagent \"Summarise this package.\"\n\nThe workspace root is the only directory the file tools can reach, and it defaults to the current one:\n\n\tgo run ./examples/codingagent --dir ./tools \"Summarise this package.\"\n\tAGENTKIT_MODEL=ADVANCED go run ./examples/codingagent --dir /tmp/scratch\n\nSee examples/README.md for the full environment-variable table.\n\n","path":"github.com/agent-fox-dev/agentkit-go/examples/codingagent","name":"main","synopsis":"Command codingagent is a coding agent with the built-in file and shell tools, a workspace root, an execute policy and a live event stream.","isRedistributable":true}
