Install freeact
using pip:
pip install freeact
Create a .env
file with Anthropic and Gemini API keys:
# Required for Claude 3.5 Sonnet
ANTHROPIC_API_KEY=...
# Required for generative Google Search via Gemini 2
GOOGLE_API_KEY=...
Launch a freeact
agent with generative Google Search skill using the CLI:
python -m freeact.cli \
--model-name=anthropic/claude-3-5-sonnet-20241022 \
--ipybox-tag=ghcr.io/gradion-ai/ipybox:basic \
--skill-modules=freeact_skills.search.google.stream.api
or an equivalent Python script:
--8<-- "examples/quickstart.py"
!!! note Valid model names are those accepted by LiteLLM.
Once launched, you can start interacting with the agent: