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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
//! # JACS Library Public Interface
//!
//! This module documents all public functions available in the JACS library.
//! Use this as a reference for what the library can do.
/**
FUNDAMENTAL FUNCTIONS
init agent (with config for where, key management config)
register agent (register keys, register json doc)
validate agent (local)
validate agent (remote) (get pki)
create document
register document
validate document local
validate document remote
encrypt document
decrypt document with consent from owner
# AUTH FUNCTIONS
full encryption wrapper or just
issue decryption key
wrap
unwrap
# ABSTRACTED
Agreements
Tasks
Agent capabilities (MCP/ACP/A2A)
*/
// Re-export the main types users need
pub use crateAgent;
pub use crateConfig;
pub use crateObservabilityConfig;
/// # Agent Management
/// Functions for creating and managing JACS agents
/// # Document Operations
/// Functions for creating, loading, and managing documents
/// # Agreement Operations
/// Functions for creating and managing multi-party agreements
/// # Task Operations
/// Functions for creating and managing tasks
/// # Observability
/// Functions for logging and metrics
/// # Schema Operations
/// Functions for creating minimal JSON structures