crewai-valta
Hard spending limits for CrewAI agents. Enforces budget policies before any paid operation fires.
Install
pip install crewai-valta
Quickstart
from crewai_valta import ValtaSpendTool
from crewai import Agent, Task, Crew
guard = ValtaSpendTool(
api_key="vk_live_...", # from valta.co/dashboard/api-keys
agent_id="research-agent",
)
researcher = Agent(
role="Research Analyst",
goal="Find and summarise market data",
backstory="...",
tools=[guard, ...your_other_tools],
)
Add this to your task description:
"Before calling any paid API, use the check_spend tool with the estimated cost. Only proceed if the result is 'approved'."
How it works
| Response | Meaning |
|---|---|
approved |
Within policy — proceed |
denied: daily_limit_exceeded |
Would exceed daily budget |
denied: insufficient_balance |
Wallet balance too low |
denied: requires human approval |
Above approval threshold |
Links
Metadata
Release files for crewai-valta 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crewai_valta-0.1.1.tar.gz | 3.2 kB | Without provenance | Details for crewai_valta-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crewai_valta-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for crewai_valta-0.1.1-py3-none-any.whl |
Total release size: 6.8 kB
Release files / crewai_valta-0.1.1.tar.gz
| Download URL | crewai_valta-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8e068a1ec3a35f2796ea9d2b9e27bf6c7e9e905f3647c3cf1ab662b2bc85337
|
|
BLAKE2b-256 checksum How to use checksums |
f7efe549a5d475861414add0535a077a71a8ade6d5fd6ab5a154f7ec85f4aae5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / crewai_valta-0.1.1-py3-none-any.whl
| Download URL | crewai_valta-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1f3558a5761ef59d337cc09dae938801b6d652ca96ce607f41f30d67107f859
|
|
BLAKE2b-256 checksum How to use checksums |
4be7736bdb8ea13dc054267b83894684320368461bc3c4b1dce50131e8f7305e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for crewai-valta 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.