Skip to main content

General Agents Python API client

Release Build status License

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

See the contributing documentation.

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)

Source distribution for generalagents 0.1.1
File Size Uploaded Provenance
generalagents-0.1.1.tar.gz 47.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for generalagents 0.1.1
File Interpreter ABI Platform
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 log

Release 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 log

Security 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.

Select from 2 files

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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page