Installation
Install Veska with pip and start building in minutes.
Prerequisites
- Python 3.10 or higher
- An API key from Anthropic (Claude) or OpenAI
1. Install Veska
bash
pip install veska2. Set up API keys
Create a .env file in your project root with your API keys:
.env
# At least one provider key is required
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...Provider support
You only need one API key. If you set ANTHROPIC_API_KEY, you can use Claude models. If you set OPENAI_API_KEY, you can use OpenAI models. You can use both at the same time — each agent can have its own model.
3. Verify installation
test.py
from veska import Agent
agent = Agent(
name="test",
system_prompt="You are a helpful assistant.",
model="claude-sonnet-4-6",
)
result = agent.run("Say hello!")
print(result.output)