> ## Documentation Index
> Fetch the complete documentation index at: https://getfloo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AgentEnv on floo

> Run a word-count task on floo through Scale AI's AgentEnv Framework using the agentenv-floo Python package.

The example sends `hello from floo` to a word-count agent over HTTPS, checks its reply, and closes the sandbox. It uses a floo API key and incurs [sandbox usage](https://getfloo.com/docs/guides/sandboxes.md). It requires no model key.

## Run the example

Set `FLOO_API_KEY` and `FLOO_ORG_ID` in your environment. Use Git and [uv](https://docs.astral.sh/uv/) to run the published provider with Python 3.12.

```bash theme={null}
git clone https://github.com/getfloo/agentenv-floo.git
cd agentenv-floo
uv run --python 3.12 examples/hello/run.py
```

A successful run prints `Word counter returned: 3 words`. The example requests 2 vCPU and 2 GiB of memory and sets a 180-second timeout.

## Use your own agent

Copy the [example configuration](https://github.com/getfloo/agentenv-floo/blob/main/examples/hello/config.toml) into your project's `.agentenv/config.toml`. Set `image_name`, `image_digest`, and `command` to your agent's public image, SHA-256 digest, and startup command. The `agent_default = "floo"` setting selects floo for the agent. Request a [supported sandbox size](https://getfloo.com/docs/guides/sandbox-limits.md) when you deploy it.

[Published provider on PyPI](https://pypi.org/project/agentenv-floo/)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.