NexaAI / octopus-planning

huggingface.co
Total runs: 10
24-hour runs: 0
7-day runs: -15
30-day runs: -15
Model's Last Updated: June 28 2024
text-generation

Introduction of octopus-planning

Model Details of octopus-planning

Octo-planner: On-device Language Model for Planner-Action Agents Framework

We're thrilled to introduce the Octo-planner, the latest breakthrough in on-device language models from Nexa AI. Developed for the Planner-Action Agents Framework, Octo-planner enables rapid and efficient planning without the need for cloud connectivity, this model together with Octopus-V2 can work on edge devices locally to support AI Agent usages.

Key Features of Octo-planner:
  • Efficient Planning : Utilizes fine-tuned plan model based on Phi-3 Mini (3.82 billion parameters) for high efficiency and low power consumption.
  • Agent Framework : Separates planning and action, allowing for specialized optimization and improved scalability.
  • Enhanced Accuracy : Achieves a planning success rate of 98.1% on benchmark dataset, providing reliable and effective performance.
  • On-device Operation : Designed for edge devices, ensuring fast response times and enhanced privacy by processing data locally.
Example Usage

Below is a demo of Octo-planner:

ondevice

Run below code to use Octopus Planner for a given question:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "NexaAIDev/octopus-planning"
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype=torch.bfloat16, trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained(model_id)

question = "Find my presentation for tomorrow's meeting, connect to the conference room projector via Bluetooth, increase the screen brightness, take a screenshot of the final summary slide, and email it to all participants"
inputs = f"<|user|>{question}<|end|><|assistant|>"
input_ids = tokenizer(inputs, return_tensors="pt").to(model.device)
outputs = model.generate(
        input_ids=input_ids["input_ids"], 
        max_length=1024,
        do_sample=False)
res = tokenizer.decode(outputs.tolist()[0])
print(f"=== inference result ===\n{res}")
Training Data

We wrote 10 Android API descriptions to used to train the models, see this file for details. Below is one Android API description example

def send_email(recipient, title, content):
    """
    Sends an email to a specified recipient with a given title and content.

    Parameters:
    - recipient (str): The email address of the recipient.
    - title (str): The subject line of the email. This is a brief summary or title of the email's purpose or content.
    - content (str): The main body text of the email. It contains the primary message, information, or content that is intended to be communicated to the recipient.
    """
Contact Us

For support or to provide feedback, please contact us .

License and Citation

Refer to our license page for usage details. Please cite our work using the below reference for any academic or research purposes.

@article{chen2024octoplannerondevicelanguagemodel,
      title={Octo-planner: On-device Language Model for Planner-Action Agents}, 
      author={Wei Chen and Zhiyuan Li and Zhen Guo and Yikang Shen},
      year={2024},
      eprint={2406.18082},
      url={https://arxiv.org/abs/2406.18082}, 
}

Runs of NexaAI octopus-planning on huggingface.co

10
Total runs
0
24-hour runs
-1
3-day runs
-15
7-day runs
-15
30-day runs

More Information About octopus-planning huggingface.co Model

More octopus-planning license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

octopus-planning huggingface.co

octopus-planning huggingface.co is an AI model on huggingface.co that provides octopus-planning's model effect (), which can be used instantly with this NexaAI octopus-planning model. huggingface.co supports a free trial of the octopus-planning model, and also provides paid use of the octopus-planning. Support call octopus-planning model through api, including Node.js, Python, http.

octopus-planning huggingface.co Url

https://huggingface.co/NexaAI/octopus-planning

NexaAI octopus-planning online free

octopus-planning huggingface.co is an online trial and call api platform, which integrates octopus-planning's modeling effects, including api services, and provides a free online trial of octopus-planning, you can try octopus-planning online for free by clicking the link below.

NexaAI octopus-planning online free url in huggingface.co:

https://huggingface.co/NexaAI/octopus-planning

octopus-planning install

octopus-planning is an open source model from GitHub that offers a free installation service, and any user can find octopus-planning on GitHub to install. At the same time, huggingface.co provides the effect of octopus-planning install, users can directly use octopus-planning installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

octopus-planning install url in huggingface.co:

https://huggingface.co/NexaAI/octopus-planning

Url of octopus-planning

octopus-planning huggingface.co Url

Provider of octopus-planning huggingface.co

NexaAI
ORGANIZATIONS

Other API from NexaAI

huggingface.co

Total runs: 1.3K
Run Growth: -484
Growth Rate: -38.05%
Updated:August 09 2025
huggingface.co

Total runs: 793
Run Growth: -109
Growth Rate: -13.75%
Updated:August 21 2025
huggingface.co

Total runs: 634
Run Growth: -567
Growth Rate: -89.43%
Updated:November 14 2025
huggingface.co

Total runs: 556
Run Growth: -1
Growth Rate: -0.18%
Updated:May 21 2024
huggingface.co

Total runs: 486
Run Growth: 0
Growth Rate: 0.00%
Updated:July 22 2025
huggingface.co

Total runs: 258
Run Growth: -17
Growth Rate: -6.59%
Updated:September 28 2025
huggingface.co

Total runs: 155
Run Growth: 17
Growth Rate: 10.97%
Updated:November 07 2025
huggingface.co

Total runs: 74
Run Growth: 4
Growth Rate: 5.41%
Updated:July 22 2025
huggingface.co

Total runs: 58
Run Growth: 40
Growth Rate: 68.97%
Updated:December 03 2025
huggingface.co

Total runs: 54
Run Growth: -1
Growth Rate: -1.85%
Updated:May 05 2024
huggingface.co

Total runs: 52
Run Growth: 4
Growth Rate: 7.69%
Updated:January 10 2026
huggingface.co

Total runs: 37
Run Growth: 25
Growth Rate: 67.57%
Updated:January 13 2026
huggingface.co

Total runs: 25
Run Growth: 21
Growth Rate: 87.50%
Updated:November 07 2025
huggingface.co

Total runs: 16
Run Growth: -2
Growth Rate: -12.50%
Updated:September 04 2024
huggingface.co

Total runs: 14
Run Growth: 10
Growth Rate: 71.43%
Updated:October 28 2025
huggingface.co

Total runs: 14
Run Growth: 7
Growth Rate: 53.85%
Updated:December 17 2025
huggingface.co

Total runs: 10
Run Growth: 2
Growth Rate: 20.00%
Updated:January 13 2026
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:December 16 2025