<aside>

On this page:

</aside>

<aside>

Expanse Docs

🧠 Product Docs

🤖 Prompting Tips

LLM Directory

Prompting Tips & Tricks

Prompt Library

💻 Use Cases

For Work

For Fun

📚 Resources

Prompt Engineering Resources

🍄 About Expanse

Meet the team

</aside>

Coding in Expanse

This is a complete example of coding a script in Expanse. It showcases Expanse features, and also demonstrates working around some common problems people have with LLM coding. This example is in python, but the same concepts apply for any language. Note that this example was done in a Linux environment, but the same process applies anywhere.

<aside> 💡

You can follow along with how this workflow example was made in Expanse in the thread linked here, and also embedded below:

</aside>

https://share.expanse.com/thread/2CRU6H

1. Setup: Goal and context

2. Setting a Role

3. Writing a Prompt - Initial Instructions

4. Solving Bugs and Errors

5. Viewing Scripts: Updated script output by Expanse

6. Implementing Code

7. Troubleshooting Bugs

8. Testing our script

Conclusion


Didn’t find what you were looking for?

, no token limits. It also helps generate prompts to boost AI responses.