agentic-api 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/README.md +9 -17
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,42 +1,34 @@
1
1
  # @agentic-api
2
2
 
3
- Super simple API for intelligent agent orchestration with automatic sequences and escalations.
3
+ Super simple API for intelligent agent orchestration with automatic sequences and escalations. (inspiré du projet [OpenAI Swarm](https://github.com/openai/openai-realtime-agents))
4
4
 
5
5
  > **Personal Note**:
6
6
  > This project is not meant to be better than Vercel or LangChain. It's simply less generic and optimized for a specific set of problems.
7
7
  > It focuses on specific features that required too many dependencies with other frameworks.
8
8
 
9
+
9
10
  ## 🚀 Key Features
10
11
 
11
12
  - Agent orchestration in predefined sequences
12
- - Automatic model escalation
13
+ - Automatic model escalation to more intelligent instructions and models.
13
14
  - Smart transfer between specialized agents with confidence threshold
14
- - Memory management (session and long-term)
15
- - PDF text extraction
16
- - Thinking tool for complex reasoning
17
- - Real-time agent status feedback
15
+ - Prompting models to follow a state machine, for example to accurately collect things like names and phone numbers.
16
+
18
17
 
19
18
  ### Key Advantages
20
19
 
21
20
  1. **Simplicity**
22
21
  - Minimal configuration
23
22
  - Few dependencies
24
-
25
- 2. **Performance**
26
- - Production-ready
27
- - Efficient memory management
28
- - Fast and (relatively) reliable agent transfers
29
-
30
- 3. **Flexibility**
31
- - Primarily OpenAI support
32
- - Extensible system
33
- - Easy agent customization
23
+ - Fast
34
24
 
35
25
  ### Recommended Use Cases
36
26
 
37
27
  - Applications requiring specialized agent orchestration
38
28
  - Projects needing reliable content extraction
39
29
 
30
+ [![](https://mermaid.ink/img/pako:eNpVkd1OwjAUx1-lOYmJJkDYhxvswoRB0AtvdCQmbsTU7bAt2dqltCogz2K89uV8BMs-AM9F199__3N6TruDmCcIHqwK_h5nVEiymEWM6Aikpsuw_iyvGm0S3gpEiWLZ8OwyjOD36-eb3KmSsgg6Y7Ou1WsqaJWRAMVbHuPLJEUm1yRsmTTcFjtEkguMZc4ZuX88qb4RBrTAc6NvhlO1lrxEQQJVVVw3efbXCh8Ul8cMZEnEmu00fFrMlx3V05F-_4ZM2glr8I1_ZP4jq0u-uCBzLmLdAS3ylGGphyEZF_mWM0mLxuQbpD84K-KbLVstWw3Puqptwuec5oUS-EmmbeOH00_q0Q890JdQ0jzRz7g7aBHITDcTgae3Ca6oKmQEEdtrK1WSBxsWgyeFwh4IrtIMvBUt1ppUlVCJs5zqZyuPakXZM-dll5KKw1Ftur5ZFFOumATPdN3aDN4OPsC7HpkDwzRcczw0DEtHDzbgucPBtWPajuXYY9twbGffg21dfTgYufb4PPZ_wB3E1Q?type=png)](https://mermaid.live/edit#pako:eNpVkd1OwjAUx1-lOYmJJkDYhxvswoRB0AtvdCQmbsTU7bAt2dqltCogz2K89uV8BMs-AM9F199__3N6TruDmCcIHqwK_h5nVEiymEWM6Aikpsuw_iyvGm0S3gpEiWLZ8OwyjOD36-eb3KmSsgg6Y7Ou1WsqaJWRAMVbHuPLJEUm1yRsmTTcFjtEkguMZc4ZuX88qb4RBrTAc6NvhlO1lrxEQQJVVVw3efbXCh8Ul8cMZEnEmu00fFrMlx3V05F-_4ZM2glr8I1_ZP4jq0u-uCBzLmLdAS3ylGGphyEZF_mWM0mLxuQbpD84K-KbLVstWw3Puqptwuec5oUS-EmmbeOH00_q0Q890JdQ0jzRz7g7aBHITDcTgae3Ca6oKmQEEdtrK1WSBxsWgyeFwh4IrtIMvBUt1ppUlVCJs5zqZyuPakXZM-dll5KKw1Ftur5ZFFOumATPdN3aDN4OPsC7HpkDwzRcczw0DEtHDzbgucPBtWPajuXYY9twbGffg21dfTgYufb4PPZ_wB3E1Q)
31
+
40
32
  ## 📦 Installation
41
33
 
42
34
  ```bash
@@ -64,7 +56,7 @@ const session: AgenticContext = {
64
56
  usage: { prompt: 0, completion: 0, total: 0, cost: 0 }
65
57
  },
66
58
  user: {
67
- id: "default_user"
59
+ id: user.id
68
60
  }
69
61
  };
70
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-api",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "API pour l'orchestration d'agents intelligents avec séquences et escalades automatiques",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",