Quickstart¶
Get Intent OS running in 60 seconds.
1. Install¶
Or install with support for a specific AI provider:
pip install "intentos[openai]" # OpenAI support
pip install "intentos[anthropic]" # Anthropic support
pip install "intentos[all]" # All providers
Verify the installation:
2. Validate a Manifest¶
Manifests are YAML files that describe AI capabilities. Try validating one of the built-in examples:
You should see:
[OK] Manifest 'translate@1.2.0' loaded successfully
Manifest: translate@1.2.0
Input fields: ['text', 'source_lang', 'target_lang']
Output fields: ['translated_text', 'detected_language', 'confidence']
Security risk: low
[OK] Manifest is valid
3. Run a Capability¶
With Ollama (free, local)¶
If you have Ollama installed and running:
ollama pull llama3.2:latest
ollama serve
# In another terminal:
intent-os run translate -p text="Hello world" -p target_lang=zh
With a cloud provider¶
Set your API key:
Then run:
Without any API key (simulated)¶
No Ollama, no API key? The runtime automatically falls back to a simulated adapter:
intent-os run translate -p text="Hello world" -p target_lang=zh
# Adapters loaded: simulated (no real runtime available)
4. Use Natural Language¶
With Ollama or an API key configured:
Or enter interactive mode:
intent-os ask
> translate this text to French
> 用 OpenAI 重跑 # switch adapter mid-conversation
> exit