@crestal/nation-sdk 0.6.30 → 0.6.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.6.30
5
+ * The version of the OpenAPI document: 0.6.32
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.6.30
8
+ * The version of the OpenAPI document: 0.6.32
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.6.30
5
+ * The version of the OpenAPI document: 0.6.32
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.6.30
8
+ * The version of the OpenAPI document: 0.6.32
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.6.30
5
+ * The version of the OpenAPI document: 0.6.32
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.6.30
8
+ * The version of the OpenAPI document: 0.6.32
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.6.30
5
+ * The version of the OpenAPI document: 0.6.32
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.6.30
8
+ * The version of the OpenAPI document: 0.6.32
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/Agent.md CHANGED
@@ -6,42 +6,45 @@ Agent model.
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **name** | **string** | | [default to undefined]
10
- **slug** | **string** | | [optional] [default to undefined]
11
9
  **description** | **string** | | [optional] [default to undefined]
12
10
  **external_website** | **string** | | [optional] [default to undefined]
13
- **picture** | **string** | | [optional] [default to undefined]
14
11
  **ticker** | **string** | | [optional] [default to undefined]
15
12
  **token_address** | **string** | | [optional] [default to undefined]
16
13
  **token_pool** | **string** | | [optional] [default to undefined]
17
- **mode** | **string** | | [optional] [default to undefined]
18
14
  **fee_percentage** | **string** | | [optional] [default to undefined]
19
- **purpose** | **string** | | [default to undefined]
20
- **personality** | **string** | | [default to undefined]
21
- **principles** | **string** | | [default to undefined]
22
- **owner** | **string** | | [optional] [default to undefined]
23
- **upstream_id** | **string** | | [optional] [default to undefined]
24
- **upstream_extra** | **object** | | [optional] [default to undefined]
15
+ **example_intro** | **string** | | [optional] [default to undefined]
16
+ **examples** | [**Array<AgentExample>**](AgentExample.md) | | [optional] [default to undefined]
17
+ **name** | **string** | | [default to undefined]
18
+ **picture** | **string** | | [optional] [default to undefined]
19
+ **purpose** | **string** | | [optional] [default to undefined]
20
+ **personality** | **string** | | [optional] [default to undefined]
21
+ **principles** | **string** | | [optional] [default to undefined]
25
22
  **model** | **string** | AI model identifier to be used by this agent for processing requests. | [optional] [default to 'gpt-5-mini']
26
23
  **prompt** | **string** | | [optional] [default to undefined]
27
24
  **prompt_append** | **string** | | [optional] [default to undefined]
28
25
  **temperature** | **number** | | [optional] [default to undefined]
29
26
  **frequency_penalty** | **number** | | [optional] [default to undefined]
30
27
  **presence_penalty** | **number** | | [optional] [default to undefined]
31
- **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
32
- **autonomous** | [**Array<AgentAutonomous>**](AgentAutonomous.md) | | [optional] [default to undefined]
33
- **example_intro** | **string** | | [optional] [default to undefined]
34
- **examples** | [**Array<AgentExample>**](AgentExample.md) | | [optional] [default to undefined]
35
- **skills** | **object** | | [optional] [default to undefined]
36
28
  **wallet_provider** | **string** | | [optional] [default to undefined]
37
29
  **readonly_wallet_address** | **string** | | [optional] [default to undefined]
38
30
  **network_id** | **string** | | [optional] [default to undefined]
39
- **cdp_network_id** | **string** | | [optional] [default to undefined]
31
+ **skills** | **object** | | [optional] [default to undefined]
32
+ **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
33
+ **autonomous** | [**Array<AgentAutonomous>**](AgentAutonomous.md) | | [optional] [default to undefined]
40
34
  **telegram_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
41
35
  **telegram_entrypoint_prompt** | **string** | | [optional] [default to undefined]
42
36
  **telegram_config** | **object** | | [optional] [default to undefined]
43
37
  **xmtp_entrypoint_prompt** | **string** | | [optional] [default to undefined]
38
+ **upstream_id** | **string** | | [optional] [default to undefined]
39
+ **upstream_extra** | **object** | | [optional] [default to undefined]
44
40
  **id** | **string** | Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens | [optional] [default to undefined]
41
+ **owner** | **string** | | [optional] [default to undefined]
42
+ **slug** | **string** | | [optional] [default to undefined]
43
+ **version** | **string** | | [optional] [default to undefined]
44
+ **statistics** | **object** | | [optional] [default to undefined]
45
+ **assets** | **object** | | [optional] [default to undefined]
46
+ **account_snapshot** | [**CreditAccount**](CreditAccount.md) | | [optional] [default to undefined]
47
+ **extra** | **object** | | [optional] [default to undefined]
45
48
  **created_at** | **string** | Timestamp when the agent was created, will ignore when importing | [optional] [default to undefined]
46
49
  **updated_at** | **string** | Timestamp when the agent was last updated, will ignore when importing | [optional] [default to undefined]
47
50
 
@@ -51,42 +54,45 @@ Name | Type | Description | Notes
51
54
  import { Agent } from '@crestal/nation-sdk';
52
55
 
53
56
  const instance: Agent = {
54
- name,
55
- slug,
56
57
  description,
57
58
  external_website,
58
- picture,
59
59
  ticker,
60
60
  token_address,
61
61
  token_pool,
62
- mode,
63
62
  fee_percentage,
63
+ example_intro,
64
+ examples,
65
+ name,
66
+ picture,
64
67
  purpose,
65
68
  personality,
66
69
  principles,
67
- owner,
68
- upstream_id,
69
- upstream_extra,
70
70
  model,
71
71
  prompt,
72
72
  prompt_append,
73
73
  temperature,
74
74
  frequency_penalty,
75
75
  presence_penalty,
76
- short_term_memory_strategy,
77
- autonomous,
78
- example_intro,
79
- examples,
80
- skills,
81
76
  wallet_provider,
82
77
  readonly_wallet_address,
83
78
  network_id,
84
- cdp_network_id,
79
+ skills,
80
+ short_term_memory_strategy,
81
+ autonomous,
85
82
  telegram_entrypoint_enabled,
86
83
  telegram_entrypoint_prompt,
87
84
  telegram_config,
88
85
  xmtp_entrypoint_prompt,
86
+ upstream_id,
87
+ upstream_extra,
89
88
  id,
89
+ owner,
90
+ slug,
91
+ version,
92
+ statistics,
93
+ assets,
94
+ account_snapshot,
95
+ extra,
90
96
  created_at,
91
97
  updated_at,
92
98
  };
package/docs/AgentApi.md CHANGED
@@ -15,7 +15,6 @@ All URIs are relative to *http://localhost*
15
15
  |[**importAgent**](#importagent) | **PUT** /agents/{agent_id}/import | Import Agent|
16
16
  |[**overrideAgent**](#overrideagent) | **PUT** /agents/{agent_id} | Override Agent|
17
17
  |[**resetAgentApiKey**](#resetagentapikey) | **POST** /agents/{agent_id}/api-key/reset | Reset Agent API Key|
18
- |[**updateAgent**](#updateagent) | **PATCH** /agents/{agent_id} | Update Agent|
19
18
  |[**validateAgentCreate**](#validateagentcreate) | **POST** /agent/validate | Validate Agent Create|
20
19
  |[**validateAgentUpdate**](#validateagentupdate) | **POST** /agents/{agent_id}/validate | Validate Agent Update|
21
20
 
@@ -128,7 +127,7 @@ const { status, data } = await apiInstance.exportAgent(
128
127
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
129
128
 
130
129
  # **getAgent**
131
- > any getAgent()
130
+ > AgentResponse getAgent()
132
131
 
133
132
  Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
134
133
 
@@ -159,7 +158,7 @@ const { status, data } = await apiInstance.getAgent(
159
158
 
160
159
  ### Return type
161
160
 
162
- **any**
161
+ **AgentResponse**
163
162
 
164
163
  ### Authorization
165
164
 
@@ -510,7 +509,7 @@ const { status, data } = await apiInstance.importAgent(
510
509
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
511
510
 
512
511
  # **overrideAgent**
513
- > any overrideAgent()
512
+ > AgentResponse overrideAgent()
514
513
 
515
514
  Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
516
515
 
@@ -545,7 +544,7 @@ const { status, data } = await apiInstance.overrideAgent(
545
544
 
546
545
  ### Return type
547
546
 
548
- **any**
547
+ **AgentResponse**
549
548
 
550
549
  ### Authorization
551
550
 
@@ -620,62 +619,6 @@ const { status, data } = await apiInstance.resetAgentApiKey(
620
619
 
621
620
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
622
621
 
623
- # **updateAgent**
624
- > any updateAgent()
625
-
626
- Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
627
-
628
- ### Example
629
-
630
- ```typescript
631
- import {
632
- AgentApi,
633
- Configuration,
634
- AgentUpdate
635
- } from '@crestal/nation-sdk';
636
-
637
- const configuration = new Configuration();
638
- const apiInstance = new AgentApi(configuration);
639
-
640
- let agentId: string; //ID of the agent to update (default to undefined)
641
- let agentUpdate: AgentUpdate; // (optional)
642
-
643
- const { status, data } = await apiInstance.updateAgent(
644
- agentId,
645
- agentUpdate
646
- );
647
- ```
648
-
649
- ### Parameters
650
-
651
- |Name | Type | Description | Notes|
652
- |------------- | ------------- | ------------- | -------------|
653
- | **agentUpdate** | **AgentUpdate**| | |
654
- | **agentId** | [**string**] | ID of the agent to update | defaults to undefined|
655
-
656
-
657
- ### Return type
658
-
659
- **any**
660
-
661
- ### Authorization
662
-
663
- [HTTPBearer](../README.md#HTTPBearer)
664
-
665
- ### HTTP request headers
666
-
667
- - **Content-Type**: application/json
668
- - **Accept**: application/json
669
-
670
-
671
- ### HTTP response details
672
- | Status code | Description | Response headers |
673
- |-------------|-------------|------------------|
674
- |**200** | Successful Response | - |
675
- |**422** | Validation Error | - |
676
-
677
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
678
-
679
622
  # **validateAgentCreate**
680
623
  > validateAgentCreate()
681
624
 
@@ -7,41 +7,30 @@ Agent create model.
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **name** | **string** | | [default to undefined]
10
- **slug** | **string** | | [optional] [default to undefined]
11
- **description** | **string** | | [optional] [default to undefined]
12
- **external_website** | **string** | | [optional] [default to undefined]
13
10
  **picture** | **string** | | [optional] [default to undefined]
14
- **ticker** | **string** | | [optional] [default to undefined]
15
- **token_address** | **string** | | [optional] [default to undefined]
16
- **token_pool** | **string** | | [optional] [default to undefined]
17
- **mode** | **string** | | [optional] [default to undefined]
18
- **fee_percentage** | [**FeePercentage**](FeePercentage.md) | | [optional] [default to undefined]
19
- **purpose** | **string** | | [default to undefined]
20
- **personality** | **string** | | [default to undefined]
21
- **principles** | **string** | | [default to undefined]
22
- **owner** | **string** | | [optional] [default to undefined]
23
- **upstream_id** | **string** | | [optional] [default to undefined]
24
- **upstream_extra** | **object** | | [optional] [default to undefined]
11
+ **purpose** | **string** | | [optional] [default to undefined]
12
+ **personality** | **string** | | [optional] [default to undefined]
13
+ **principles** | **string** | | [optional] [default to undefined]
25
14
  **model** | **string** | AI model identifier to be used by this agent for processing requests. | [optional] [default to 'gpt-5-mini']
26
15
  **prompt** | **string** | | [optional] [default to undefined]
27
16
  **prompt_append** | **string** | | [optional] [default to undefined]
28
17
  **temperature** | **number** | | [optional] [default to undefined]
29
18
  **frequency_penalty** | **number** | | [optional] [default to undefined]
30
19
  **presence_penalty** | **number** | | [optional] [default to undefined]
31
- **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
32
- **autonomous** | [**Array<AgentAutonomous>**](AgentAutonomous.md) | | [optional] [default to undefined]
33
- **example_intro** | **string** | | [optional] [default to undefined]
34
- **examples** | [**Array<AgentExample>**](AgentExample.md) | | [optional] [default to undefined]
35
- **skills** | **object** | | [optional] [default to undefined]
36
20
  **wallet_provider** | **string** | | [optional] [default to undefined]
37
21
  **readonly_wallet_address** | **string** | | [optional] [default to undefined]
38
22
  **network_id** | **string** | | [optional] [default to undefined]
39
- **cdp_network_id** | **string** | | [optional] [default to undefined]
23
+ **skills** | **object** | | [optional] [default to undefined]
24
+ **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
25
+ **autonomous** | [**Array<AgentAutonomous>**](AgentAutonomous.md) | | [optional] [default to undefined]
40
26
  **telegram_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
41
27
  **telegram_entrypoint_prompt** | **string** | | [optional] [default to undefined]
42
28
  **telegram_config** | **object** | | [optional] [default to undefined]
43
29
  **xmtp_entrypoint_prompt** | **string** | | [optional] [default to undefined]
30
+ **upstream_id** | **string** | | [optional] [default to undefined]
31
+ **upstream_extra** | **object** | | [optional] [default to undefined]
44
32
  **id** | **string** | Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens | [optional] [default to undefined]
33
+ **owner** | **string** | | [optional] [default to undefined]
45
34
 
46
35
  ## Example
47
36
 
@@ -50,41 +39,30 @@ import { AgentCreate } from '@crestal/nation-sdk';
50
39
 
51
40
  const instance: AgentCreate = {
52
41
  name,
53
- slug,
54
- description,
55
- external_website,
56
42
  picture,
57
- ticker,
58
- token_address,
59
- token_pool,
60
- mode,
61
- fee_percentage,
62
43
  purpose,
63
44
  personality,
64
45
  principles,
65
- owner,
66
- upstream_id,
67
- upstream_extra,
68
46
  model,
69
47
  prompt,
70
48
  prompt_append,
71
49
  temperature,
72
50
  frequency_penalty,
73
51
  presence_penalty,
74
- short_term_memory_strategy,
75
- autonomous,
76
- example_intro,
77
- examples,
78
- skills,
79
52
  wallet_provider,
80
53
  readonly_wallet_address,
81
54
  network_id,
82
- cdp_network_id,
55
+ skills,
56
+ short_term_memory_strategy,
57
+ autonomous,
83
58
  telegram_entrypoint_enabled,
84
59
  telegram_entrypoint_prompt,
85
60
  telegram_config,
86
61
  xmtp_entrypoint_prompt,
62
+ upstream_id,
63
+ upstream_extra,
87
64
  id,
65
+ owner,
88
66
  };
89
67
  ```
90
68
 
@@ -0,0 +1,75 @@
1
+ # AgentDraft
2
+
3
+ Agent draft model.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | | [default to undefined]
10
+ **picture** | **string** | | [optional] [default to undefined]
11
+ **purpose** | **string** | | [optional] [default to undefined]
12
+ **personality** | **string** | | [optional] [default to undefined]
13
+ **principles** | **string** | | [optional] [default to undefined]
14
+ **model** | **string** | AI model identifier to be used by this agent for processing requests. | [optional] [default to 'gpt-5-mini']
15
+ **prompt** | **string** | | [optional] [default to undefined]
16
+ **prompt_append** | **string** | | [optional] [default to undefined]
17
+ **temperature** | **number** | | [optional] [default to undefined]
18
+ **frequency_penalty** | **number** | | [optional] [default to undefined]
19
+ **presence_penalty** | **number** | | [optional] [default to undefined]
20
+ **wallet_provider** | **string** | | [optional] [default to undefined]
21
+ **readonly_wallet_address** | **string** | | [optional] [default to undefined]
22
+ **network_id** | **string** | | [optional] [default to undefined]
23
+ **skills** | **object** | | [optional] [default to undefined]
24
+ **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
25
+ **autonomous** | [**Array<AgentAutonomous>**](AgentAutonomous.md) | | [optional] [default to undefined]
26
+ **telegram_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
27
+ **telegram_entrypoint_prompt** | **string** | | [optional] [default to undefined]
28
+ **telegram_config** | **object** | | [optional] [default to undefined]
29
+ **xmtp_entrypoint_prompt** | **string** | | [optional] [default to undefined]
30
+ **id** | **string** | Unique identifier for the draft | [optional] [default to undefined]
31
+ **agent_id** | **string** | Agent id | [optional] [default to undefined]
32
+ **owner** | **string** | | [optional] [default to undefined]
33
+ **version** | **string** | | [optional] [default to undefined]
34
+ **deployed_at** | **string** | | [optional] [default to undefined]
35
+ **created_at** | **string** | Timestamp when the agent was created, will ignore when importing | [optional] [default to undefined]
36
+ **updated_at** | **string** | Timestamp when the agent was last updated, will ignore when importing | [optional] [default to undefined]
37
+
38
+ ## Example
39
+
40
+ ```typescript
41
+ import { AgentDraft } from '@crestal/nation-sdk';
42
+
43
+ const instance: AgentDraft = {
44
+ name,
45
+ picture,
46
+ purpose,
47
+ personality,
48
+ principles,
49
+ model,
50
+ prompt,
51
+ prompt_append,
52
+ temperature,
53
+ frequency_penalty,
54
+ presence_penalty,
55
+ wallet_provider,
56
+ readonly_wallet_address,
57
+ network_id,
58
+ skills,
59
+ short_term_memory_strategy,
60
+ autonomous,
61
+ telegram_entrypoint_enabled,
62
+ telegram_entrypoint_prompt,
63
+ telegram_config,
64
+ xmtp_entrypoint_prompt,
65
+ id,
66
+ agent_id,
67
+ owner,
68
+ version,
69
+ deployed_at,
70
+ created_at,
71
+ updated_at,
72
+ };
73
+ ```
74
+
75
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -6,43 +6,59 @@ Response model for Agent API.
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **id** | **string** | Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens | [default to undefined]
10
- **created_at** | **string** | Timestamp when the agent was created, will ignore when importing | [default to undefined]
11
- **updated_at** | **string** | Timestamp when the agent was last updated, will ignore when importing | [default to undefined]
12
- **name** | **string** | | [optional] [default to undefined]
13
- **slug** | **string** | | [optional] [default to undefined]
14
9
  **description** | **string** | | [optional] [default to undefined]
15
10
  **external_website** | **string** | | [optional] [default to undefined]
16
- **picture** | **string** | | [optional] [default to undefined]
17
11
  **ticker** | **string** | | [optional] [default to undefined]
18
12
  **token_address** | **string** | | [optional] [default to undefined]
19
13
  **token_pool** | **string** | | [optional] [default to undefined]
20
- **mode** | **string** | | [optional] [default to undefined]
21
14
  **fee_percentage** | **string** | | [optional] [default to undefined]
22
- **owner** | **string** | | [optional] [default to undefined]
23
- **upstream_id** | **string** | | [optional] [default to undefined]
24
- **upstream_extra** | **object** | | [optional] [default to undefined]
25
- **model** | **string** | AI model identifier to be used by this agent for processing requests. Available models: gpt-4o, gpt-4o-mini, deepseek-chat, deepseek-reasoner, grok-2, eternalai, reigent | [default to undefined]
26
- **autonomous** | **Array<object>** | | [optional] [default to undefined]
27
15
  **example_intro** | **string** | | [optional] [default to undefined]
28
16
  **examples** | [**Array<AgentExample>**](AgentExample.md) | | [optional] [default to undefined]
29
- **skills** | **object** | | [optional] [default to undefined]
17
+ **name** | **string** | | [default to undefined]
18
+ **picture** | **string** | | [optional] [default to undefined]
19
+ **purpose** | **string** | | [optional] [default to undefined]
20
+ **personality** | **string** | | [optional] [default to undefined]
21
+ **principles** | **string** | | [optional] [default to undefined]
22
+ **model** | **string** | AI model identifier to be used by this agent for processing requests. | [optional] [default to 'gpt-5-mini']
23
+ **prompt** | **string** | | [optional] [default to undefined]
24
+ **prompt_append** | **string** | | [optional] [default to undefined]
25
+ **temperature** | **number** | | [optional] [default to undefined]
26
+ **frequency_penalty** | **number** | | [optional] [default to undefined]
27
+ **presence_penalty** | **number** | | [optional] [default to undefined]
30
28
  **wallet_provider** | **string** | | [optional] [default to undefined]
29
+ **readonly_wallet_address** | **string** | | [optional] [default to undefined]
31
30
  **network_id** | **string** | | [optional] [default to undefined]
32
- **cdp_network_id** | **string** | | [optional] [default to undefined]
31
+ **skills** | **object** | | [optional] [default to undefined]
32
+ **short_term_memory_strategy** | **string** | | [optional] [default to undefined]
33
+ **autonomous** | [**Array<AgentAutonomous>**](AgentAutonomous.md) | | [optional] [default to undefined]
33
34
  **telegram_entrypoint_enabled** | **boolean** | | [optional] [default to undefined]
34
- **cdp_wallet_address** | **string** | | [default to undefined]
35
- **evm_wallet_address** | **string** | | [default to undefined]
36
- **solana_wallet_address** | **string** | | [default to undefined]
37
- **has_twitter_linked** | **boolean** | Whether the agent has linked their Twitter account | [default to undefined]
38
- **linked_twitter_username** | **string** | | [default to undefined]
39
- **linked_twitter_name** | **string** | | [default to undefined]
40
- **has_twitter_self_key** | **boolean** | Whether the agent has self-keyed their Twitter account | [default to undefined]
41
- **has_telegram_self_key** | **boolean** | Whether the agent has self-keyed their Telegram account | [default to undefined]
42
- **linked_telegram_username** | **string** | | [default to undefined]
43
- **linked_telegram_name** | **string** | | [default to undefined]
44
- **accept_image_input** | **boolean** | Whether the agent accepts image inputs in public mode | [default to undefined]
45
- **accept_image_input_private** | **boolean** | Whether the agent accepts image inputs in private mode | [default to undefined]
35
+ **telegram_entrypoint_prompt** | **string** | | [optional] [default to undefined]
36
+ **telegram_config** | **object** | | [optional] [default to undefined]
37
+ **xmtp_entrypoint_prompt** | **string** | | [optional] [default to undefined]
38
+ **upstream_id** | **string** | | [optional] [default to undefined]
39
+ **upstream_extra** | **object** | | [optional] [default to undefined]
40
+ **id** | **string** | Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens | [optional] [default to undefined]
41
+ **owner** | **string** | | [optional] [default to undefined]
42
+ **slug** | **string** | | [optional] [default to undefined]
43
+ **version** | **string** | | [optional] [default to undefined]
44
+ **statistics** | **object** | | [optional] [default to undefined]
45
+ **assets** | **object** | | [optional] [default to undefined]
46
+ **account_snapshot** | [**CreditAccount**](CreditAccount.md) | | [optional] [default to undefined]
47
+ **extra** | **object** | | [optional] [default to undefined]
48
+ **created_at** | **string** | Timestamp when the agent was created, will ignore when importing | [optional] [default to undefined]
49
+ **updated_at** | **string** | Timestamp when the agent was last updated, will ignore when importing | [optional] [default to undefined]
50
+ **cdp_wallet_address** | **string** | | [optional] [default to undefined]
51
+ **evm_wallet_address** | **string** | | [optional] [default to undefined]
52
+ **solana_wallet_address** | **string** | | [optional] [default to undefined]
53
+ **has_twitter_linked** | **boolean** | Whether the agent has linked their Twitter account | [optional] [default to undefined]
54
+ **linked_twitter_username** | **string** | | [optional] [default to undefined]
55
+ **linked_twitter_name** | **string** | | [optional] [default to undefined]
56
+ **has_twitter_self_key** | **boolean** | Whether the agent has self-keyed their Twitter account | [optional] [default to undefined]
57
+ **has_telegram_self_key** | **boolean** | Whether the agent has self-keyed their Telegram account | [optional] [default to undefined]
58
+ **linked_telegram_username** | **string** | | [optional] [default to undefined]
59
+ **linked_telegram_name** | **string** | | [optional] [default to undefined]
60
+ **accept_image_input** | **boolean** | Whether the agent accepts image inputs in public mode | [optional] [default to undefined]
61
+ **accept_image_input_private** | **boolean** | Whether the agent accepts image inputs in private mode | [optional] [default to undefined]
46
62
 
47
63
  ## Example
48
64
 
@@ -50,31 +66,47 @@ Name | Type | Description | Notes
50
66
  import { AgentResponse } from '@crestal/nation-sdk';
51
67
 
52
68
  const instance: AgentResponse = {
53
- id,
54
- created_at,
55
- updated_at,
56
- name,
57
- slug,
58
69
  description,
59
70
  external_website,
60
- picture,
61
71
  ticker,
62
72
  token_address,
63
73
  token_pool,
64
- mode,
65
74
  fee_percentage,
66
- owner,
67
- upstream_id,
68
- upstream_extra,
69
- model,
70
- autonomous,
71
75
  example_intro,
72
76
  examples,
73
- skills,
77
+ name,
78
+ picture,
79
+ purpose,
80
+ personality,
81
+ principles,
82
+ model,
83
+ prompt,
84
+ prompt_append,
85
+ temperature,
86
+ frequency_penalty,
87
+ presence_penalty,
74
88
  wallet_provider,
89
+ readonly_wallet_address,
75
90
  network_id,
76
- cdp_network_id,
91
+ skills,
92
+ short_term_memory_strategy,
93
+ autonomous,
77
94
  telegram_entrypoint_enabled,
95
+ telegram_entrypoint_prompt,
96
+ telegram_config,
97
+ xmtp_entrypoint_prompt,
98
+ upstream_id,
99
+ upstream_extra,
100
+ id,
101
+ owner,
102
+ slug,
103
+ version,
104
+ statistics,
105
+ assets,
106
+ account_snapshot,
107
+ extra,
108
+ created_at,
109
+ updated_at,
78
110
  cdp_wallet_address,
79
111
  evm_wallet_address,
80
112
  solana_wallet_address,