General Agents Python API client
Documentation
The REST API documentation: https://docs.generalagents.com/
Installation
General Agents Python API client is available as a python package on PyPI:
pip install generalagents
Usage
This client includes both an interface for calling the agent, and a simple computer controller. An example execution loop:
from generalagents import Agent
from generalagents.macos import Computer
agent = Agent(model="ace-small", api_key='your-api-key-here')
computer = Computer()
instruction = "Star the generalagents-python github repository"
session = agent.start(instruction)
observation = computer.observe()
for _ in range(25): # max actions
action = session.plan(observation)
print(f"Executing: {action}")
if action.kind == "stop":
break
observation = computer.execute(action)
Contributing
Metadata
Release files for generalagents 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| generalagents-0.1.1.tar.gz | 47.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| generalagents-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.8 kB
Release files / generalagents-0.1.1.tar.gz
| Download URL | generalagents-0.1.1.tar.gz |
|---|---|
| Size | 47.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe2c81f7e6f20f0a4529aa2f19c94a21453578d52571d11ebde6deed7abd694d
|
|
BLAKE2b-256 checksum How to use checksums |
c3d627c98df8aa8350712e403f291069360f97f3878bf817e2e14ac29d866f07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 11, 2025.
Transparency logRelease files / generalagents-0.1.1-py3-none-any.whl
| Download URL | generalagents-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0004c3e5fbf5834e281ce7d6a76bd320634a3292fda3eaeca33b0f39b10059b4
|
|
BLAKE2b-256 checksum How to use checksums |
7de1377be0dbd56277084cf47dd70e3dd0bbb45e7140fbead35b1f8150cffbf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 11, 2025.
Transparency logSecurity for generalagents 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for generalagents-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 11, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.