What do you want to do?
5 use cases
-
Run a production agent with swappable model providers
Build one deepagents-based agent that can switch between OpenAI, Anthropic, Bedrock, and preset providers.
- Octop Harness
- Software and DevOps
- Intermediate
View prompt
In the TencentCloud/octop-harness repo, create a HarnessAgentManager with one agent that uses the model provider <provider>. Send the prompt <prompt> through call() and return the reply. Verify the reply is non-empty and that exceptions from call() are caught.
-
Build an assistant that remembers users across sessions
Keep strong memory and a user profile that persist across sessions and can be saved on request.
- Octop Harness
- Software and DevOps
- Intermediate
View prompt
In the TencentCloud/octop-harness repo, set up a workspace at <workspace path> and add the user preference <preference> to USER.md. Start a new session and ask <question>. Verify the reply uses the saved preference.
-
Let an IDE or terminal AI drive your agent over ACP
Expose your agent through the stdio ACP server so an external coding AI can invoke it.
- Octop Harness
- Software and DevOps
- Advanced
View prompt
In the TencentCloud/octop-harness repo, find the ACP stdio server start command in the docs and start it for the agent <agent name>. Connect the client <client name> and send the request <request>. Verify the client receives a reply from the agent.
-
Run an unattended team of agents that message each other
Host several isolated agents in one process that call each other through the Teams peer inbox.
- Octop Harness
- Software and DevOps
- Advanced
View prompt
In the TencentCloud/octop-harness repo, create three isolated agents with AgentManager and set ask_user_enabled=False and peer_invoke_mode to <mode>. Send the task <task> to agent <name> and verify it receives a reply from a peer.
-
Add image and video generation to an agent with Volcengine Ark
Enable generate_image and generate_video tools that save output into the agent workspace.
- Octop Harness
- Software and DevOps
- Intermediate
View prompt
In the TencentCloud/octop-harness repo, configure HarnessAgentConfig with MediaGenerationConfig using api_key_env="ARK_API_KEY". Ask the agent to generate an image of <subject>. Verify a new file appears under generated/images/ in the workspace.
How to use Octop Harness
- Check you have what it needs: Python 3.12 or newer; An API key for at least one model provider (OpenAI, Anthropic, AWS Bedrock, or an OpenAI-compatible endpoint).
- Open TencentCloud/octop-harness on GitHub and read the README and license.
- Confirm Python 3.12 or newer is installed.
- Install the package with
pip install octop-harness. (inferred, check the README) - Export your provider API key as an environment variable in your shell.
- Run
octop-harness initto create an agent workspace. (inferred, check the README)
These steps come from our top use case, Run a production agent with swappable model providers, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeOctop Harness alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forPython developers and platform engineers who want to deploy deepagents-based agents with swappable models, memory, and storage.
- Why it is hot
- LanguagePython
- Sourcegithub.com/TencentCloud/octop-harness · Back to Hot repos
Requirements
- Python 3.12 or newer
- An API key for at least one model provider (OpenAI, Anthropic, AWS Bedrock, or an OpenAI-compatible endpoint)
Maintain Octop Harness? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/tencentcloud-octop-harness/?ref=badge)
Questions about Octop Harness
What is Octop Harness?
octop-harness is a Python library that wraps deepagents into a production-oriented agent runtime with model routing, memory, tools, multi-agent registry, storage backends, and a CLI. It is an open-source project on GitHub: https://github.com/TencentCloud/octop-harness.
Who is Octop Harness for?
Python developers and platform engineers who want to deploy deepagents-based agents with swappable models, memory, and storage.
What can I do with Octop Harness?
5 use cases so far, for example: Run a production agent with swappable model providers; Build an assistant that remembers users across sessions; Let an IDE or terminal AI drive your agent over ACP. Each has steps and a copy-paste agent prompt.
What do I need to run Octop Harness?
Python 3.12 or newer; An API key for at least one model provider (OpenAI, Anthropic, AWS Bedrock, or an OpenAI-compatible endpoint).
What are alternatives to Octop Harness?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Octop Harness safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.