agno-cursor-agent 0.1.0__py3-none-any.whl
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.
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: agno-cursor-agent
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Agno Model adapter for persistent Cursor CLI ACP sessions
|
|
5
|
+
Project-URL: Homepage, https://github.com/vaiden/agno-cursor-agent
|
|
6
|
+
Project-URL: Repository, https://github.com/vaiden/agno-cursor-agent
|
|
7
|
+
Author: vaiden
|
|
8
|
+
License: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: a2a,acp,agent,agno,cursor
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
|
+
Requires-Dist: agno[a2a]>=2.0.0
|
|
20
|
+
Requires-Dist: httpx>=0.27.0
|
|
21
|
+
Requires-Dist: pydantic-settings>=2.0.0
|
|
22
|
+
Requires-Dist: pyyaml>=6.0
|
|
23
|
+
Provides-Extra: dev
|
|
24
|
+
Requires-Dist: fastapi>=0.100.0; extra == 'dev'
|
|
25
|
+
Requires-Dist: httpx>=0.27.0; extra == 'dev'
|
|
26
|
+
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
|
|
27
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
|
|
28
|
+
Requires-Dist: pytest-mock>=3.0.0; extra == 'dev'
|
|
29
|
+
Requires-Dist: pytest>=8.0.0; extra == 'dev'
|
|
30
|
+
Requires-Dist: sqlalchemy>=2.0.0; extra == 'dev'
|
|
31
|
+
Provides-Extra: standard
|
|
32
|
+
Requires-Dist: uvicorn[standard]>=0.27.0; extra == 'standard'
|
|
33
|
+
Description-Content-Type: text/markdown
|
|
34
|
+
|
|
35
|
+
# agno-cursor-agent
|
|
36
|
+
|
|
37
|
+

|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
Agno `Model` adapter that talks to the **Cursor CLI** over a persistent **ACP** (JSON-RPC) session.
|
|
41
|
+
|
|
42
|
+
## Reasoning
|
|
43
|
+
Cursor unlocks multiple exciting features: multiple model providers, cost router, agentic memory, code indexing, cloud agent provisioning and a powerful harness.
|
|
44
|
+
Now available to power your Agno agents for the best aSDLC pipeline experience.
|
|
45
|
+
|
|
46
|
+
## Quickstart
|
|
47
|
+
|
|
48
|
+
Install from PyPI:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
pip install agno-cursor-agent
|
|
52
|
+
# AgentOS with WebSockets:
|
|
53
|
+
pip install "agno-cursor-agent[standard]"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Import name on PyPI is **`agno-cursor-agent`**; in Python you still `import agno_cursor`.
|
|
57
|
+
|
|
58
|
+
## Quick usage
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
from agno.agent import Agent
|
|
62
|
+
from agno_cursor import CursorACPChat, HarnessSettings
|
|
63
|
+
|
|
64
|
+
settings = HarnessSettings(acp_trace=False)
|
|
65
|
+
model = CursorACPChat(agent_key="coder", model="composer-2.5", mode="ask", settings=settings)
|
|
66
|
+
|
|
67
|
+
agent = Agent(id="coder", model=model, instructions=["You write code."])
|
|
68
|
+
# Requires cursor-agent login on the machine running this code.
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Harness environment variables use the `AGNO_CURSOR_` prefix (for example `AGNO_CURSOR_ACP_TRACE=true`).
|
|
72
|
+
|
|
73
|
+
## Demo team
|
|
74
|
+
|
|
75
|
+
A full **Agno AgentOS + A2A** team lives under [`examples/demo_team`](examples/demo_team/README.md). It uses `CURSOR_TEAM_`* settings and role-based models (leader defaults to `auto`).
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
cd examples/demo_team
|
|
79
|
+
pip install -e "../..[standard]"
|
|
80
|
+
cursor-agent login
|
|
81
|
+
python team_os.py
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Connect the Agno UI to **http://localhost:7777** (not `0.0.0.0`).
|
|
85
|
+
|
|
86
|
+
## Development
|
|
87
|
+
|
|
88
|
+
- Unit tests mock ACP I/O; CI never calls `cursor-agent`.
|
|
89
|
+
- Integration tests: `pytest -m integration` locally with login and optional `team_os` running.
|
|
90
|
+
|
|
91
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
agno_cursor_agent-0.1.0.dist-info/METADATA,sha256=jPywenuHe9rVJL295tYbhzOh6uOmmPLNBhd0XEY29-4,3200
|
|
2
|
+
agno_cursor_agent-0.1.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
3
|
+
agno_cursor_agent-0.1.0.dist-info/licenses/LICENSE,sha256=3f06WufZZgW4O89OdkqtxoLCqBJrlDMcgz9HxS18yTw,1063
|
|
4
|
+
agno_cursor_agent-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 vaiden
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|