-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
55 lines (49 loc) · 1.24 KB
/
Copy path__init__.py
File metadata and controls
55 lines (49 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
"""AgentWrit Python SDK — ephemeral, task-scoped credentials for AI agents.
Implements the App-as-Container model: AgentWritApp is the developer's
entry point, Agent is an ephemeral per-task principal created by the app.
All agent authority flows from the app's scope ceiling set by the operator.
"""
from __future__ import annotations
from agentwrit.agent import Agent
from agentwrit.app import AgentWritApp
from agentwrit.errors import (
AgentWritError,
AuthenticationError,
AuthorizationError,
CryptoError,
ProblemResponseError,
RateLimitError,
TransportError,
)
from agentwrit.models import (
AgentClaims,
DelegatedToken,
DelegationRecord,
HealthStatus,
ProblemDetail,
RegisterResult,
ValidateResult,
)
from agentwrit.scope import scope_is_subset, validate
__version__ = "0.3.0"
__all__ = [
"Agent",
"AgentWritApp",
"AgentWritError",
"AgentClaims",
"AuthenticationError",
"AuthorizationError",
"CryptoError",
"DelegatedToken",
"DelegationRecord",
"HealthStatus",
"ProblemDetail",
"ProblemResponseError",
"RateLimitError",
"RegisterResult",
"TransportError",
"ValidateResult",
"__version__",
"scope_is_subset",
"validate",
]