Python client for Vigil Cloud — cognitive infrastructure for AI agents
Project description
vigil-client
Python client for Vigil Cloud — cognitive infrastructure for AI agents.
Install
pip install vigil-agent-client
Quick Start
from vigil_client import Vigil
v = Vigil(api_key="vgl_...")
# Emit a signal
v.signal("deploy complete", agent="my-bot")
# Boot with compiled awareness
context = v.boot()
print(context["awareness"])
# End session with handoff
v.handoff(
agent="my-bot",
summary="Deployed auth v2",
files=["auth.py", "middleware.py"],
next_steps=["Monitor error rates", "Update docs"],
)
Environment Variables
export VIGIL_API_KEY=vgl_...
export VIGIL_API_URL=https://app.vigil-agent.com # optional, this is the default
# Reads from env automatically
v = Vigil()
API Reference
| Method | Description |
|---|---|
v.signal(content, agent, signal_type) |
Emit a signal |
v.boot() |
Boot with compiled awareness |
v.compile() |
Force awareness compilation |
v.status() |
Get current awareness |
v.signals(hours, limit, agent) |
Read recent signals |
v.handoff(agent, summary, files, decisions, next_steps) |
End session |
v.resume(agent) |
Resume from last handoff |
v.chain(limit) |
Get handoff briefing |
v.focus_add(description, priority) |
Add focus item |
v.focus_list() |
List active focus |
v.know(key, value, category) |
Store knowledge |
v.recall(query) |
Search knowledge |
v.frames() |
List frames |
v.triggers() |
List triggers |
v.usage() |
Get usage and limits |
v.agents() |
List known agents |
v.mcp_health(server) |
MCP server health stats |
v.mcp_errors(server, limit) |
Recent MCP tool errors |
v.mcp_latency(server, hours) |
Latency percentiles (p50/p95/p99) |
Zero Dependencies
Uses only Python stdlib (urllib, json). No requests, no httpx — just works.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vigil_agent_client-0.2.0.tar.gz.
File metadata
- Download URL: vigil_agent_client-0.2.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ce6e3032060e3b48e922cb359356c1d2d29d256a5c666e271f62171af6096c8
|
|
| MD5 |
a4c7cc6e8a354e7b646f9561f7880471
|
|
| BLAKE2b-256 |
1111dfa8063a6898031b6bd4d8e1af4539106c122edd314540518a69e27b4ac2
|
File details
Details for the file vigil_agent_client-0.2.0-py3-none-any.whl.
File metadata
- Download URL: vigil_agent_client-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcadc9ac59bfafcd5e03bce2a7e9c56d09260a4c5fa3146bbc023cce26419766
|
|
| MD5 |
6efe808ac49c7619b667a576200ff4f4
|
|
| BLAKE2b-256 |
2ca096fd95a441156c03f41ac37a40fbe7f968ed60bf3f3f23bcfe9a95a78cf4
|