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

# mini-swe-agent

The `ContreeEnvironment` bundled with mini-swe-agent 2.4.6 uses the previous SDK
API, including `ContreeSync` and SDK image objects. Those imports are removed in
this release. That adapter cannot run with the new session API.

Installing `mini-swe-agent[contree]` does not by itself port the adapter.
Use [LangChain DeepAgents](https://docs.tokenfactory.nebius.com/sandboxes/sdk/integrations/langchain.md) for a supported integration, or adapt the environment to
`ContreeSession` and its `run()` result. The public execution contracts are described
in [Customize the SDK](https://docs.tokenfactory.nebius.com/sandboxes/sdk/python_sdk/customization.md).

This compatibility statement applies to the inspected 2.4.6 adapter. Check the
adapter shipped with another mini-swe-agent version before using it.
