cartesia-line 0.0.2a3__tar.gz → 0.0.3a1__tar.gz
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.
Potentially problematic release.
This version of cartesia-line might be problematic. Click here for more details.
- cartesia_line-0.0.3a1/PKG-INFO +94 -0
- cartesia_line-0.0.3a1/cartesia_line.egg-info/PKG-INFO +94 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/pyproject.toml +24 -1
- cartesia_line-0.0.2a3/PKG-INFO +0 -25
- cartesia_line-0.0.2a3/cartesia_line.egg-info/PKG-INFO +0 -25
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/LICENSE +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/README.md +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/cartesia_line.egg-info/SOURCES.txt +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/cartesia_line.egg-info/dependency_links.txt +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/cartesia_line.egg-info/requires.txt +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/cartesia_line.egg-info/top_level.txt +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/__init__.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/bridge.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/bus.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/call_request.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/events.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/harness.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/harness_types.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/nodes/__init__.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/nodes/base.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/nodes/conversation_context.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/nodes/reasoning.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/routes.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/tools/__init__.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/tools/system_tools.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/tools/tool_types.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/user_bridge.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/utils/__init__.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/utils/aio.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/utils/gemini_utils.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/utils/openai_utils.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/voice_agent_app.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/line/voice_agent_system.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/setup.cfg +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/tests/test_bridge.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/tests/test_bus.py +0 -0
- {cartesia_line-0.0.2a3 → cartesia_line-0.0.3a1}/tests/test_routes.py +0 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cartesia-line
|
|
3
|
+
Version: 0.0.3a1
|
|
4
|
+
Summary: Cartesia Voice Agents SDK
|
|
5
|
+
Author-email: "Cartesia AI, Inc." <support@cartesia.ai>
|
|
6
|
+
License: Apache 2.0
|
|
7
|
+
Project-URL: Repository, https://github.com/cartesia-ai/line
|
|
8
|
+
Project-URL: Documentation, https://docs.cartesia.ai/line
|
|
9
|
+
Project-URL: Homepage, https://cartesia.ai/agents
|
|
10
|
+
Keywords: voice,agents,ai,cartesia
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Classifier: Typing :: Typed
|
|
23
|
+
Requires-Python: >=3.9
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
27
|
+
Requires-Dist: loguru>=0.7.0
|
|
28
|
+
Requires-Dist: fastapi>=0.115.0
|
|
29
|
+
Requires-Dist: aiohttp>=3.8.0
|
|
30
|
+
Requires-Dist: pydantic<3,>=2.0.0
|
|
31
|
+
Requires-Dist: uvicorn<1,>=0.35.0
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: pytest; extra == "dev"
|
|
34
|
+
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
35
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
36
|
+
Requires-Dist: ruff==0.12.8; extra == "dev"
|
|
37
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
38
|
+
Requires-Dist: google-genai<2,>=1.26.0; extra == "dev"
|
|
39
|
+
Provides-Extra: gemini
|
|
40
|
+
Requires-Dist: google-genai<2,>=1.26.0; python_version >= "3.9" and extra == "gemini"
|
|
41
|
+
Requires-Dist: aiohttp>=3.12.0; extra == "gemini"
|
|
42
|
+
Provides-Extra: openai
|
|
43
|
+
Requires-Dist: openai>=1.70.0; extra == "openai"
|
|
44
|
+
Dynamic: license-file
|
|
45
|
+
|
|
46
|
+
# Cartesia Line SDK
|
|
47
|
+
|
|
48
|
+
Build intelligent, low-latency voice agents with background reasoning.
|
|
49
|
+
|
|
50
|
+
**With Line you can,**
|
|
51
|
+
- **Create** your first voice agent from scratch, **deploy**, and **talk to it in under 5 minutes**.
|
|
52
|
+
- **Turn any existing chatbot** or text agent you've already built into a low-latency voice agent.
|
|
53
|
+
- **Spin up common use cases** for support or scheduling from **ready-made templates**.
|
|
54
|
+
- **Deploy production-ready systems** with auto-scaling, telephony integration, metrics, and call analytics.
|
|
55
|
+
|
|
56
|
+
**Why Line?**
|
|
57
|
+
|
|
58
|
+
- 🔗 **Event-driven design** to easily define multi-agent architectures with powerful background reasoning.
|
|
59
|
+
- ⚡ **State-of-the-art voice models** using Sonic TTS and Ink STT deliver the lowest latency voice experience.
|
|
60
|
+
- 📋 **Pre-built templates** for common use cases like customer support, sales agents, form filling, and more.
|
|
61
|
+
- 🔌 **Easy integrations** with tools, MCPs, and other frameworks out of the box.
|
|
62
|
+
- 🤝 **Support for handoffs** between agents and humans.
|
|
63
|
+
- 🧠 **Reasoning agnostic** works with any LLM, text agent, or chatbot code.
|
|
64
|
+
- 🚀 **Instant deployment** so you can build, deploy, and start talking in minutes with no infrastructure setup.
|
|
65
|
+
|
|
66
|
+
## Quickstart (< 5 minutes)
|
|
67
|
+
|
|
68
|
+
The Line SDK is designed to be used with the Cartesia [Line platform](https://cartesia.ai/line).
|
|
69
|
+
- Create a [Cartesia account](https://play.cartesia.ai).
|
|
70
|
+
- Follow the [quickstart guide](https://docs.cartesia.ai/).
|
|
71
|
+
|
|
72
|
+
And you'll be able to make your first voice call in a few minutes.
|
|
73
|
+
|
|
74
|
+
## Install the SDK
|
|
75
|
+
|
|
76
|
+
```zsh
|
|
77
|
+
pip install cartesia-line
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## Common Use Cases
|
|
82
|
+
|
|
83
|
+
| Use Case | Example |
|
|
84
|
+
|----------|---------|
|
|
85
|
+
| **Basic chat** | [examples/basic_chat/](examples/basic_chat/) |
|
|
86
|
+
| **Form filling** | [examples/form-filling/](examples/form-filling/) |
|
|
87
|
+
| **Background reasoning** | [examples/sales_with_leads/](examples/sales_with_leads/) |
|
|
88
|
+
| **Support** | [examples/personal_banking_handoffs/](examples/personal_banking_handoffs/) |
|
|
89
|
+
|
|
90
|
+
## Going Deeper
|
|
91
|
+
|
|
92
|
+
- **More examples**: [examples/](examples/) - See all available examples and patterns
|
|
93
|
+
- **Full API reference**: [docs.cartesia.ai/line](https://docs.cartesia.ai/)
|
|
94
|
+
- **Get help**: [Discord community](https://discord.gg/cartesia)
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cartesia-line
|
|
3
|
+
Version: 0.0.3a1
|
|
4
|
+
Summary: Cartesia Voice Agents SDK
|
|
5
|
+
Author-email: "Cartesia AI, Inc." <support@cartesia.ai>
|
|
6
|
+
License: Apache 2.0
|
|
7
|
+
Project-URL: Repository, https://github.com/cartesia-ai/line
|
|
8
|
+
Project-URL: Documentation, https://docs.cartesia.ai/line
|
|
9
|
+
Project-URL: Homepage, https://cartesia.ai/agents
|
|
10
|
+
Keywords: voice,agents,ai,cartesia
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Classifier: Typing :: Typed
|
|
23
|
+
Requires-Python: >=3.9
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
27
|
+
Requires-Dist: loguru>=0.7.0
|
|
28
|
+
Requires-Dist: fastapi>=0.115.0
|
|
29
|
+
Requires-Dist: aiohttp>=3.8.0
|
|
30
|
+
Requires-Dist: pydantic<3,>=2.0.0
|
|
31
|
+
Requires-Dist: uvicorn<1,>=0.35.0
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: pytest; extra == "dev"
|
|
34
|
+
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
35
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
36
|
+
Requires-Dist: ruff==0.12.8; extra == "dev"
|
|
37
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
38
|
+
Requires-Dist: google-genai<2,>=1.26.0; extra == "dev"
|
|
39
|
+
Provides-Extra: gemini
|
|
40
|
+
Requires-Dist: google-genai<2,>=1.26.0; python_version >= "3.9" and extra == "gemini"
|
|
41
|
+
Requires-Dist: aiohttp>=3.12.0; extra == "gemini"
|
|
42
|
+
Provides-Extra: openai
|
|
43
|
+
Requires-Dist: openai>=1.70.0; extra == "openai"
|
|
44
|
+
Dynamic: license-file
|
|
45
|
+
|
|
46
|
+
# Cartesia Line SDK
|
|
47
|
+
|
|
48
|
+
Build intelligent, low-latency voice agents with background reasoning.
|
|
49
|
+
|
|
50
|
+
**With Line you can,**
|
|
51
|
+
- **Create** your first voice agent from scratch, **deploy**, and **talk to it in under 5 minutes**.
|
|
52
|
+
- **Turn any existing chatbot** or text agent you've already built into a low-latency voice agent.
|
|
53
|
+
- **Spin up common use cases** for support or scheduling from **ready-made templates**.
|
|
54
|
+
- **Deploy production-ready systems** with auto-scaling, telephony integration, metrics, and call analytics.
|
|
55
|
+
|
|
56
|
+
**Why Line?**
|
|
57
|
+
|
|
58
|
+
- 🔗 **Event-driven design** to easily define multi-agent architectures with powerful background reasoning.
|
|
59
|
+
- ⚡ **State-of-the-art voice models** using Sonic TTS and Ink STT deliver the lowest latency voice experience.
|
|
60
|
+
- 📋 **Pre-built templates** for common use cases like customer support, sales agents, form filling, and more.
|
|
61
|
+
- 🔌 **Easy integrations** with tools, MCPs, and other frameworks out of the box.
|
|
62
|
+
- 🤝 **Support for handoffs** between agents and humans.
|
|
63
|
+
- 🧠 **Reasoning agnostic** works with any LLM, text agent, or chatbot code.
|
|
64
|
+
- 🚀 **Instant deployment** so you can build, deploy, and start talking in minutes with no infrastructure setup.
|
|
65
|
+
|
|
66
|
+
## Quickstart (< 5 minutes)
|
|
67
|
+
|
|
68
|
+
The Line SDK is designed to be used with the Cartesia [Line platform](https://cartesia.ai/line).
|
|
69
|
+
- Create a [Cartesia account](https://play.cartesia.ai).
|
|
70
|
+
- Follow the [quickstart guide](https://docs.cartesia.ai/).
|
|
71
|
+
|
|
72
|
+
And you'll be able to make your first voice call in a few minutes.
|
|
73
|
+
|
|
74
|
+
## Install the SDK
|
|
75
|
+
|
|
76
|
+
```zsh
|
|
77
|
+
pip install cartesia-line
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## Common Use Cases
|
|
82
|
+
|
|
83
|
+
| Use Case | Example |
|
|
84
|
+
|----------|---------|
|
|
85
|
+
| **Basic chat** | [examples/basic_chat/](examples/basic_chat/) |
|
|
86
|
+
| **Form filling** | [examples/form-filling/](examples/form-filling/) |
|
|
87
|
+
| **Background reasoning** | [examples/sales_with_leads/](examples/sales_with_leads/) |
|
|
88
|
+
| **Support** | [examples/personal_banking_handoffs/](examples/personal_banking_handoffs/) |
|
|
89
|
+
|
|
90
|
+
## Going Deeper
|
|
91
|
+
|
|
92
|
+
- **More examples**: [examples/](examples/) - See all available examples and patterns
|
|
93
|
+
- **Full API reference**: [docs.cartesia.ai/line](https://docs.cartesia.ai/)
|
|
94
|
+
- **Get help**: [Discord community](https://discord.gg/cartesia)
|
|
@@ -4,9 +4,32 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "cartesia-line"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.3a1"
|
|
8
8
|
description = "Cartesia Voice Agents SDK"
|
|
9
|
+
readme = "README.md"
|
|
9
10
|
requires-python = ">=3.9"
|
|
11
|
+
authors = [
|
|
12
|
+
{name = "Cartesia AI, Inc.", email = "support@cartesia.ai"}
|
|
13
|
+
]
|
|
14
|
+
license = {text = "Apache 2.0"}
|
|
15
|
+
keywords = ["voice", "agents", "ai", "cartesia"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 4 - Beta",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"License :: OSI Approved :: Apache Software License",
|
|
20
|
+
"Operating System :: OS Independent",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Programming Language :: Python :: 3.9",
|
|
23
|
+
"Programming Language :: Python :: 3.10",
|
|
24
|
+
"Programming Language :: Python :: 3.11",
|
|
25
|
+
"Programming Language :: Python :: 3.12",
|
|
26
|
+
"Programming Language :: Python :: 3.13",
|
|
27
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
28
|
+
"Typing :: Typed",
|
|
29
|
+
]
|
|
30
|
+
urls = {Repository = "https://github.com/cartesia-ai/line", Documentation = "https://docs.cartesia.ai/line", Homepage = "https://cartesia.ai/agents"}
|
|
31
|
+
|
|
32
|
+
|
|
10
33
|
dependencies = [
|
|
11
34
|
"python-dotenv>=1.0.0",
|
|
12
35
|
"loguru>=0.7.0",
|
cartesia_line-0.0.2a3/PKG-INFO
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: cartesia-line
|
|
3
|
-
Version: 0.0.2a3
|
|
4
|
-
Summary: Cartesia Voice Agents SDK
|
|
5
|
-
Requires-Python: >=3.9
|
|
6
|
-
License-File: LICENSE
|
|
7
|
-
Requires-Dist: python-dotenv>=1.0.0
|
|
8
|
-
Requires-Dist: loguru>=0.7.0
|
|
9
|
-
Requires-Dist: fastapi>=0.115.0
|
|
10
|
-
Requires-Dist: aiohttp>=3.8.0
|
|
11
|
-
Requires-Dist: pydantic<3,>=2.0.0
|
|
12
|
-
Requires-Dist: uvicorn<1,>=0.35.0
|
|
13
|
-
Provides-Extra: dev
|
|
14
|
-
Requires-Dist: pytest; extra == "dev"
|
|
15
|
-
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
16
|
-
Requires-Dist: pre-commit; extra == "dev"
|
|
17
|
-
Requires-Dist: ruff==0.12.8; extra == "dev"
|
|
18
|
-
Requires-Dist: pytest-cov; extra == "dev"
|
|
19
|
-
Requires-Dist: google-genai<2,>=1.26.0; extra == "dev"
|
|
20
|
-
Provides-Extra: gemini
|
|
21
|
-
Requires-Dist: google-genai<2,>=1.26.0; python_version >= "3.9" and extra == "gemini"
|
|
22
|
-
Requires-Dist: aiohttp>=3.12.0; extra == "gemini"
|
|
23
|
-
Provides-Extra: openai
|
|
24
|
-
Requires-Dist: openai>=1.70.0; extra == "openai"
|
|
25
|
-
Dynamic: license-file
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: cartesia-line
|
|
3
|
-
Version: 0.0.2a3
|
|
4
|
-
Summary: Cartesia Voice Agents SDK
|
|
5
|
-
Requires-Python: >=3.9
|
|
6
|
-
License-File: LICENSE
|
|
7
|
-
Requires-Dist: python-dotenv>=1.0.0
|
|
8
|
-
Requires-Dist: loguru>=0.7.0
|
|
9
|
-
Requires-Dist: fastapi>=0.115.0
|
|
10
|
-
Requires-Dist: aiohttp>=3.8.0
|
|
11
|
-
Requires-Dist: pydantic<3,>=2.0.0
|
|
12
|
-
Requires-Dist: uvicorn<1,>=0.35.0
|
|
13
|
-
Provides-Extra: dev
|
|
14
|
-
Requires-Dist: pytest; extra == "dev"
|
|
15
|
-
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
16
|
-
Requires-Dist: pre-commit; extra == "dev"
|
|
17
|
-
Requires-Dist: ruff==0.12.8; extra == "dev"
|
|
18
|
-
Requires-Dist: pytest-cov; extra == "dev"
|
|
19
|
-
Requires-Dist: google-genai<2,>=1.26.0; extra == "dev"
|
|
20
|
-
Provides-Extra: gemini
|
|
21
|
-
Requires-Dist: google-genai<2,>=1.26.0; python_version >= "3.9" and extra == "gemini"
|
|
22
|
-
Requires-Dist: aiohttp>=3.12.0; extra == "gemini"
|
|
23
|
-
Provides-Extra: openai
|
|
24
|
-
Requires-Dist: openai>=1.70.0; extra == "openai"
|
|
25
|
-
Dynamic: license-file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|