Can Leiolai help me understand or write code?

Yes. Ask Leiolai to explain a function, draft an implementation, or suggest a focused code change. Give Leiolai the relevant code, language, expected behavior, and constraints. Run the project’s checks against any code you decide to use.

What should I include in a coding question?

Give Leiolai the language, relevant framework or version, expected behavior, and smallest code excerpt that explains your task. Include constraints such as an existing API shape or a dependency you need to preserve.

How do I ask for an explanation of unfamiliar code?

Ask Leiolai what the function receives, what the function returns, and how the important branches affect the result. Request an example input and output. If the code depends on other functions, supply those definitions or ask which context is missing.

How do I ask for a focused implementation?

Tell Leiolai the behavior to add and the acceptance criteria. For example: “Validate an empty field before submission and show this error message.” Ask for the smallest change that meets the requirement, with an explanation of where the change belongs.

Can Leiolai help me compare implementation approaches?

Yes. Give Leiolai the relevant constraints and ask for the tradeoffs between the approaches. Criteria could include readability, maintenance, compatibility, and performance requirements you have measured. Ask which assumptions would change the choice.

Compare approaches with clear criteria

How should I check suggested code?

Inspect the diff, confirm the relevant API or library contract, and run the project’s appropriate checks. Ask Leiolai for edge cases and verification steps tied to the behavior being changed.

Plan meaningful checks

Can I use Leiolai inside a coding client?

You can connect Leiolai to Aider, Cline, Continue, Cursor, Zed, or OpenCode through the Leiolai API. Choose the guide for your client’s settings and request format.

Use Leiolai in Aider Use Leiolai in Cursor

Which mode should I use for confidential code?

Choose Leiolai Private for confidential project material. The Leiolai API also offers Private-only keys for clients that do not send a mode field.

Private handling Private-only API keys