Skip to main content

agent-anything

agent-anything is a command-line tool for running AI coding agents and writing their final responses to the terminal or a specified file.

Currently supported providers:

  • Codex (default)

Installation

Requirements

  • uv is installed
  • Codex CLI is installed and authenticated, and the codex command is available in your terminal

Run the following command to verify that Codex CLI is available:

codex --version

Install

uv tool install agent-anything

After installation, run:

agent-anything --help

You can also run it temporarily with uvx without installing it:

uvx agent-anything "Summarize the directory structure of the current project"

Usage

agent-anything "Review the current project and suggest improvements"

Write the result to a file

agent-anything "Generate a code review report for the current project" \
  --output review.md

Output JSON

JSON output requires a JSON Schema provided through --json-schema. You can pass either a JSON object directly or the path to a Schema file.

Pass a JSON Schema directly:

agent-anything "Summarize the current project" \
  --format json \
  --json-schema '{"type":"object","properties":{"summary":{"type":"string"}},"required":["summary"],"additionalProperties":false}'

Use a JSON Schema file:

agent-anything "Summarize the current project" \
  --format json \
  --json-schema schema.json \
  --output result.json

Specify the model and reasoning effort

agent-anything "Analyze this problem" \
  --model <model-name> \
  --reasoning_effort high

Available reasoning effort levels are low, medium, high, xhigh, max, and ultra. Actual support depends on the selected model and Codex CLI version.

Command-line options

agent-anything [--format {text,json}]
               [--output OUTPUT]
               [--json-schema JSON_SCHEMA]
               [--provider {codex}]
               [--model MODEL]
               [--reasoning_effort {low,medium,high,xhigh,max,ultra}]
               [--verbose]
               prompt
Argument Description
prompt Task description sent to the agent
--format Output format: text or json (default: text)
--output Write the final response to the specified file instead of the terminal
--json-schema JSON Schema object or file path; only used for JSON output
--provider Agent provider to use; currently only codex is supported
--model Model to use for the current task
--reasoning_effort Reasoning effort to use for the selected model
--verbose Stream provider execution progress to standard error
--version Show the current version
--help Show the help message

Features

  • Run AI coding agents non-interactively
  • Capture and output the agent's final response
  • Support plain text and JSON Schema-based structured output
  • Write results to the terminal or save them to a file
  • Select the model and reasoning effort for each task

Metadata

Release files for agent-anything 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-anything 0.1.0
File Size Uploaded Provenance
agent_anything-0.1.0.tar.gz 5.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-anything 0.1.0
File Interpreter ABI Platform
agent_anything-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.5 kB

Release files / agent_anything-0.1.0.tar.gz

Download URL agent_anything-0.1.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
af681c1aa958abefe01d90b5c62ef1b28027d34681f7e5ab0f3e2c2342af8b9b
BLAKE2b-256 checksum
How to use checksums
8c5a3ef289d1b4a21cf609e08407c8c66e46af10773d5099b12b8ede8f965519
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / agent_anything-0.1.0-py3-none-any.whl

Download URL agent_anything-0.1.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d359967deb14592d3d5f08eb24dad44fe517d14d84a4f7c0aecae08e32937be2
BLAKE2b-256 checksum
How to use checksums
bc7c0b15d6649c7934456cb23064b6c13de226c27c1324d2d38113cc44d33c8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for agent-anything 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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