New · How-to
How to Use Yana: A Beginner Guide to Local AI Governance
A practical beginner guide on how to use Yana for local-first AI orchestration, agent governance, and secure runtime control.
When exploring local-first AI orchestration, learning how to use Yana helps developers maintain deterministic control over what artificial intelligence models can access, change, and execute. Yana AI is a cross-platform system designed to run, connect, govern, and orchestrate AI models while keeping humans firmly in charge. Because free plans and usage terms change frequently, always check the project page directly for the latest updates.
This guide explains how to get started with Yana using its confirmed features, architecture, and agent hosts. You will learn what you need to achieve secure local AI execution, follow step-by-step instructions, and avoid common setup mistakes.
What You Will Achieve and What You Need
By following this guide, you will understand how to set up the Yana runtime, connect supported model providers and agent hosts, manage specialist personas, and enforce policy guardrails. Yana follows a human-governed philosophy where models propose actions, Yana decides based on defined rules, and humans stay in charge.
To get started, you need a compatible computer system, familiarity with command-line tools, and access to the official Yana AI repository. Because Yana is an open source project distributed under the Apache-2.0 license, you can review its core architecture, which includes core files pinned by SHA-256 for integrity.
Step-by-Step Instructions
- Obtain the Software: Acquire the Yana binary and source files from the official GitHub repository. Review the documentation to understand its compiled structure, which provides 41 runtime subcommands inside a single Rust binary.
- Configure Model Providers: Connect your desired model providers. Yana supports 19 model providers in total, split between 13 cloud providers and 6 local providers. Choose the providers that fit your privacy and performance needs.
- Integrate Agent Hosts: Link Yana with your preferred agent development environment. The runtime works with 4 agent hosts, namely Claude Code, Codex, Cursor, and Antigravity. Follow the host-specific integration guidelines in the project documentation.
- Deploy Specialists and Skills: Utilize the built-in library of 100 agents, which function as specialist personas, alongside 2,035 skills that operate with no permissions by default. Assign these to your active workflows according to your project requirements.
- Set Up Tool-Call Hooks and Governance: Implement deterministic control using the 66 tool-call hooks available, which are categorized into Pre, Post, and Stop hooks. These hooks allow you to govern what models can execute before, during, and after a tool call takes place.
- Execute and Monitor Workflows: Run your orchestrated AI tasks through the CLI or desktop application. Enjoy fast runtime startup, which is measured at 4.2 ms for a release build on an Apple M4 processor, and let Yana handle runtime security and guardrails.
Common Mistakes to Avoid
When setting up local AI runtimes, beginners often run into avoidable errors. Keep these pitfalls in mind:
- Neglecting Hook Configuration: Failing to configure the 66 available tool-call hooks (Pre, Post, and Stop) can leave your local execution environment without proper guardrails.
- Ignoring Provider Limits: Mixing up cloud and local providers can lead to unexpected network calls or performance bottlenecks. Clearly separate your 13 cloud providers from your 6 local providers.
- Overlooking System Prerequisites: Expecting a graphical user interface without understanding the underlying Rust binary and 41 runtime subcommands can cause confusion during initial setup.
Tips for Better Results
To get the most out of your Yana deployment, follow these recommendations:
- Leverage Local Providers: Take advantage of the 6 local providers if data privacy and offline capability are your primary operational goals.
- Use Specialist Personas Effectively: Instead of relying on generic prompts, assign tasks to the specific specialist personas included in the library of 100 agents.
- Audit Core Files: Review the core files pinned by SHA-256 to ensure your installation matches the verified cryptographic hashes provided by the open source maintainers.
Free-Plan Limits to Keep in mind
Exact pricing, usage limits, and credit allocations for Yana are currently unknown as no pricing details or limit metrics were provided on the official repository fetched pages. Because free plans and open-source contribution tiers change frequently, always verify current constraints directly on the official pricing page or the main repository before deploying large-scale production workloads.
Troubleshooting
If you encounter issues while running Yana, check the following common solutions:
- Startup Delays: If startup times exceed expectations, verify that you are running a release build rather than a debug build, as optimized releases achieve fast execution like the 4.2 ms startup measured on Apple M4 hardware.
- Host Connection Failures: If agent hosts fail to connect, confirm compatibility with the supported hosts (Claude Code, Codex, Cursor, and Antigravity) and ensure your CLI paths are correctly configured.
- Unrecognized Subcommands: If a command fails, consult the list of 41 runtime subcommands to ensure you are calling valid syntax within the single Rust binary.
For alternative orchestration tools, you may also review options such as LangChain, AutoGen, CrewAI, Ollama, or Dify.
Frequently asked questions
What is Yana AI?
Yana is a local-first, cross-platform runtime designed for running, connecting, orchestrating, and governing AI with deterministic control over what it can access, change, and execute.
How many model providers does Yana support?
Yana supports 19 model providers in total, which includes 13 cloud providers and 6 local providers.
What agent hosts are compatible with Yana?
Yana works with 4 agent hosts: Claude Code, Codex, Cursor, and Antigravity.
Is Yana free to use?
Yana is open source under the Apache-2.0 license, but specific plan limits and pricing details are not listed on its official pages. Always check the project repository for current updates.