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
codexcommand 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_anything-0.1.0.tar.gz.
File metadata
- Download URL: agent_anything-0.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af681c1aa958abefe01d90b5c62ef1b28027d34681f7e5ab0f3e2c2342af8b9b
|
|
| MD5 |
c93c7996651b02d99f74949d0a3cb970
|
|
| BLAKE2b-256 |
8c5a3ef289d1b4a21cf609e08407c8c66e46af10773d5099b12b8ede8f965519
|
File details
Details for the file agent_anything-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agent_anything-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d359967deb14592d3d5f08eb24dad44fe517d14d84a4f7c0aecae08e32937be2
|
|
| MD5 |
b179162d9813b8c6d0ee03acfcfd5e29
|
|
| BLAKE2b-256 |
bc7c0b15d6649c7934456cb23064b6c13de226c27c1324d2d38113cc44d33c8e
|