-
Notifications
You must be signed in to change notification settings - Fork 0
01 Getting Started getting started
LAP-CHRIS\chris edited this page May 19, 2026
·
2 revisions
- .NET 10 SDK
- An LLM provider key or a local OpenAI-compatible endpoint (Ollama, etc.)
dotnet tool install -g KrnlAI.CliTo verify the installation:
krnlai --versionkrnlai config set provider openai
krnlai config set api_key sk-...krnlai config set provider ollama
krnlai config set endpoint http://localhost:11434/v1
krnlai config set model llama3.1krnlai config set provider anthropic
krnlai config set api_key sk-ant-...krnlai config set provider openrouter
krnlai config set api_key sk-or-...krnlai chat --localThe --local flag uses the embedded kernel with SQLite storage. No external services needed.
krnlai init my-agent
cd my-agent
krnlai run --interactiveThis creates a project scaffold with a CognitiveAgent template, a policy file, and default configuration.
- Explore the CLI Reference
- Understand the Cognitive Cycle
- Learn about the Safety System
- Build with the SDK
Krnl-AI Community — MIT License