{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "scaleapi-agentenv-framework--build-custom-environment-with-sdk",
 "repo": "scaleapi/agentenv-framework",
 "repo_url": "https://github.com/scaleapi/agentenv-framework",
 "repo_slug": "scaleapi-agentenv-framework",
 "title": "Build a custom environment with the SDK",
 "page_title": "How to build a custom environment with the SDK with Agentenv Framework",
 "summary": "Add the SDK to a Python project and build an environment server for your tasks.",
 "who": "A platform engineer or researcher who needs an environment specific to their tasks and wants to build it in Python.",
 "problem": "Standard tasks do not match your domain, so you need your own environment that agents can run in and be graded in.",
 "outcome": "Your Python project depends on agent-env and imports agent_env, and you have a starting point for an environment server that speaks the protocol.",
 "steps": [
  "Run `uv add agentenv-framework` in your project folder.",
  "Read the environment server SDK section in packages/agentenv-protocol/README.md.",
  "Write your environment server using the SDK classes described there.",
  "Build and run it with the agent-env CLI as described in the documentation at https://www.agentenvframework.com/docs."
 ],
 "agent_prompt": "In <project folder>, add agentenv-framework with `uv add agentenv-framework`, then follow the environment server SDK section in packages/agentenv-protocol/README.md of scaleapi/agentenv-framework to create a minimal environment server. Report the files you created and the commands you ran. Verify that `python -c \"import agent_env\"` runs without error inside the project environment.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README names the environment server SDK and documents it in packages/agentenv-protocol/README.md, but the exact class names and build steps are in those docs, not in this summary.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11.4 or newer",
  "uv (https://docs.astral.sh/uv/) or pip",
  "A running Docker daemon for running environments locally"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/scaleapi-agentenv-framework/build-custom-environment-with-sdk/",
 "md": "https://dedupedai.com/use-cases/scaleapi-agentenv-framework/build-custom-environment-with-sdk/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/scaleapi-agentenv-framework--build-custom-environment-with-sdk.json",
 "api_version": "v1"
}
