Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · LLMReleased 2024-08-13

How to Use Llama 3 8B Lunaris in Muse Code

Llama 3 8B Lunaris is a generalist and roleplay merge suited to character dialogue and scene drafts. Its creator recommends Llama 3 Instruct formatting, temperature 1.4, and minimum probability 0.1.

Prompts to try with Llama 3 8B Lunaris in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use Llama 3 8B Lunaris to draft 12 greetings from the NPC briefs in this project. Keep each under 20 words and group them by character for review.

Llama 3 8B LunarisMuse Code
Try asking
  • Read the project's story outline, then use Llama 3 8B Lunaris to draft a 300-word opening scene. Follow the existing viewpoint and stop before the player makes a decision.

  • Use Llama 3 8B Lunaris to draft a tavern conversation from the project's character notes. Request six exchanges, preserve established names, and flag any proposed lore additions.

  • Use Llama 3 8B Lunaris with temperature 1.4 and min_p 0.1 to draft three merchant refusals from the project's NPC brief. Keep each refusal under 40 words.

  • Use Llama 3 8B Lunaris to draft a 150-word passage and three player choices for the project's first quest. Show the proposed text alongside the existing dialogue format for review.

How to set up Llama 3 8B Lunaris in Muse Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Llama 3 8B Lunaris

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "openrouter",
        "model": "sao10k/l3-lunaris-8b",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Muse Code finds Llama 3 8B Lunaris on Spiral, shows the price and runs it.

Llama 3 8B Lunaris providers and prices

Spiral runs Llama 3 8B Lunaris through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Sao10K: Llama 3 8B Lunaris
sao10k/l3-lunaris-8b

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 7372

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Sao10K: Llama 3 8B Lunaris is on its tool page: open its card above.

What can you do with Llama 3 8B Lunaris in Muse Code?

Draft game dialogue and interactive fiction from your project's character briefs with Lunaris. Use the coding agent to check the generated text against your project's lore and dialogue conventions.

Interactive character conversations

Give Lunaris a character brief and opening situation, then request one reply at a time while you control the other character.

Game NPC dialogue

Draft greetings, refusals, and quest hints using an NPC's motives and vocabulary. Review the lines against the game's established lore.

Short fiction scenes

Turn a scene outline into a compact draft with a specified viewpoint, conflict, and ending beat.

Branching narrative drafts

Request a short story passage followed by three choices, each with a distinct consequence for the next scene.

Character voice experiments

Rewrite a fictional exchange with different levels of formality, suspicion, or humor to compare possible character voices.

Tabletop encounter preparation

Draft an encounter opening, an NPC's secret, and a few lines of dialogue from a compact campaign brief.

Questions about Llama 3 8B Lunaris in Muse Code

Can Muse Code use Llama 3 8B Lunaris?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Llama 3 8B Lunaris like any built-in tool.

How much does Llama 3 8B Lunaris cost in Muse Code?

Up to $0.00027 per run at the default inputs. $0.052 per 1M input tokens, $0.065 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

Do I need an OpenRouter account to use Llama 3 8B Lunaris in Muse Code?

No. Spiral runs Llama 3 8B Lunaris on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Llama 3 8B Lunaris in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while Llama 3 8B Lunaris runs?

Llama 3 8B Lunaris runs in the background. Muse Code starts the run, checks on it and gives you the text, json when it's ready.

What should I use Lunaris for?

The creator describes Lunaris as a generalist and roleplay model. Suggested starting tasks include character conversations, game dialogue, and short fiction drafts.

Can Lunaris handle a long-running story?

Its configuration sets an 8,192-token position limit. For an ongoing story, carry forward a short recap, essential character traits, and the current scene instead of the full transcript.

Which settings should I try first?

Start with the creator's recommendations: temperature 1.4 and minimum probability 0.1. The recommended prompt format is Llama 3 Instruct.

How should I prompt Lunaris for roleplay?

For its stated roleplay focus, try a brief containing the character's goal, voice, setting, and current conflict. Specify who controls each character and request one scene or conversational turn at a time.

Which language is documented for Lunaris?

The creator's repository labels Lunaris as English. Use English as the documented starting point and test other languages against your own examples.

Get started

Start using Llama 3 8B Lunaris in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options