Unified Teamver SDK for agent runtimes (channel, DM, drive, events, jobs, mail, agent tools)
Project description
teamver-agent-sdk
Official Teamver Agent SDK for agent runtimes (e.g. OpenClaw, Hermes).
One facade (TeamverAgent + AgentToolAdapter) for:
- Channels — list / post / read / react
- DM — threads open / read / post
- Drive — list / download / upload (presigned)
- Mail — via
teamver-mail-agent - Jobs · heartbeat · SSE events
- agent tools —
adapter.list_tools()/adapter.dispatch(...)
Install
pip install teamver-agent-sdk
Pulls in teamver-mail-agent and teamver-sdk-core. Python ≥ 3.11.
Environment
| env | purpose | default |
|---|---|---|
TEAMVER_WORKSPACE_ID |
workspace id (WS-…) |
(required) |
TEAMVER_AGENT_ID |
agent id (AGT-…) |
(required) |
TEAMVER_CHANNEL_API_BASE |
Main API host (no /api) |
https://api.teamver.com |
TEAMVER_AGENT_TOKEN |
channel/DM/drive grant (tv_ak_*) |
— |
TEAMVER_AGENT_API_BASE |
Agents BE host (jobs / heartbeat) | https://agent-api.teamver.com |
TEAMVER_MAIL_API_BASE |
Mail API host (no /v1) |
https://mail-api.teamver.com |
TEAMVER_MAIL_AGENT_TOKEN |
mail agent token (tv_agent_*) |
— |
API hosts default to production when unset. Staging: override with env.
Do not put user passwords or TEAMVER_INTERNAL_API_KEY in the agent runtime.
Quick start
import asyncio
from teamver_agent_sdk import TeamverAgent, AgentToolAdapter
async def main():
agent = TeamverAgent() # from env
adapter = AgentToolAdapter(agent)
tools = adapter.list_tools()
await agent.report(text="Deploy finished ✅", channel_id="CH-…")
files = await agent.drive.list_files(drive_id="personal", limit=20)
threads = await agent.dm.list_threads(limit=10)
await adapter.dispatch(
"teamver_channel_post",
{"channel_id": "CH-…", "text": "hello", "idempotency_key": "k1"},
)
await agent.aclose()
asyncio.run(main())
Surfaces are lazy: channel-only agents need not set mail env (and vice versa).
Documentation
Public docs: github.com/NeuralStudioKr/teamver-sdk-docs/tree/main/agent-sdk
License
MIT — see LICENSE.
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 teamver_agent_sdk-0.6.2.tar.gz.
File metadata
- Download URL: teamver_agent_sdk-0.6.2.tar.gz
- Upload date:
- Size: 49.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
751218399137a05c3d990ff66e7c78e1ee8f18713d0227d8d27af83a13923b2e
|
|
| MD5 |
6bed46111e373a717ddb4e99fd26d143
|
|
| BLAKE2b-256 |
512b236d304d635b4a5319ad092ecc031b7713440a92c458bb210b67abd93cbf
|
File details
Details for the file teamver_agent_sdk-0.6.2-py3-none-any.whl.
File metadata
- Download URL: teamver_agent_sdk-0.6.2-py3-none-any.whl
- Upload date:
- Size: 43.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
897c505823fbfc80bcbd004775fd734aeb1e7a405a4c27360de6edf77d8238a0
|
|
| MD5 |
810363b1f49a5e8074bf38eeb21d5d38
|
|
| BLAKE2b-256 |
fe8a5469dbcea79733cb1e672b1fc1e877160325d09a040d709e7d7bb40664a9
|