Atto Agent
Biblioteca Python do agente do Atto Personal Assistant.
📦 Instalação
pip install atto-personal-agent
🚀 Uso rápido
from atto_agent import AgentRuntime
runtime = AgentRuntime(
ollama_url="https://seu-servidor-ollama.example.com",
ollama_model="qwen2.5-coder:3b",
)
# Planeja uma ação
decision = runtime.plan("Explique este projeto")
# Executa a ação
result = runtime.run(decision, "Explique este projeto")
print(result)
Dica: Se sua aplicação já possui um LLM, basta injetar um objeto que implemente
generate(prompt: str) -> strviaAgentRuntime(llm=...).
☁️ Integração com Ollama Cloud
Configure as variáveis de ambiente:
export OLLAMA_URL=https://ollama.com
export OLLAMA_API_KEY=seu_api_key
export OLLAMA_MODEL=nome_do_modelo
🛠️ Desenvolvimento autônomo
O agente possui a capability software_engineer que permite:
- criar branches
atto/* - editar arquivos
- executar testes
- criar commits, push e abrir pull requests
Para habilitar, configure:
export ATTO_WORKSPACE=/caminho/para/repo
export ATTO_INTERNAL_TOKEN=seu_token_secreto
Credenciais de CI/CD
| Plataforma | Token de PR | Token de aprovação | Observação |
|---|---|---|---|
| GitHub | GITHUB_TOKEN |
GITHUB_APPROVAL_TOKEN |
Identidade separada |
| Azure DevOps | AZURE_TOKEN |
AZURE_APPROVAL_TOKEN + AZURE_REVIEWER_ID |
Identidade separada |
Comando de testes
Defina ATTO_TEST_COMMAND se o projeto usar um comando customizado. Caso contrário, o runtime detecta automaticamente python -m unittest ou npm test.
🤝 Contribuindo
- Fork o repositório
- Crie uma branch
atto/feature-nome - Faça suas alterações
- Execute
pytestpara garantir que tudo funciona - Abra um pull request
📄 Licença
MIT © Atto
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 atto_personal_agent-0.1.7.tar.gz.
File metadata
- Download URL: atto_personal_agent-0.1.7.tar.gz
- Upload date:
- Size: 57.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b840ad028e78790218042469915d1c0a47f96d9cc7b2d2c6186cdbf262097f2
|
|
| MD5 |
44aecd38d2b7d51f4896458031cb9408
|
|
| BLAKE2b-256 |
126c880e330ec7e663ee9b58c1055d9b92d85285b5753283ba6e77bc15456320
|
Provenance
The following attestation bundles were made for atto_personal_agent-0.1.7.tar.gz:
Publisher:
publish.yml on Atto-Personal-Assistant/agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atto_personal_agent-0.1.7.tar.gz -
Subject digest:
7b840ad028e78790218042469915d1c0a47f96d9cc7b2d2c6186cdbf262097f2 - Sigstore transparency entry: 2424276318
- Sigstore integration time:
-
Permalink:
Atto-Personal-Assistant/agent@2e828512c4cbc20776a804107a1906a7da95d2d8 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/Atto-Personal-Assistant
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2e828512c4cbc20776a804107a1906a7da95d2d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file atto_personal_agent-0.1.7-py3-none-any.whl.
File metadata
- Download URL: atto_personal_agent-0.1.7-py3-none-any.whl
- Upload date:
- Size: 84.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c55b154105c8df41cc8a75ad2409d3a5da00682ab93f8515bf05b4157df73e12
|
|
| MD5 |
cbc56144c185dac10ca5e5de236b7cd6
|
|
| BLAKE2b-256 |
e86c57675ba0112c06eb2ccb04b0524d370a05bc32af24a3254a13cd196a6499
|
Provenance
The following attestation bundles were made for atto_personal_agent-0.1.7-py3-none-any.whl:
Publisher:
publish.yml on Atto-Personal-Assistant/agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atto_personal_agent-0.1.7-py3-none-any.whl -
Subject digest:
c55b154105c8df41cc8a75ad2409d3a5da00682ab93f8515bf05b4157df73e12 - Sigstore transparency entry: 2424276330
- Sigstore integration time:
-
Permalink:
Atto-Personal-Assistant/agent@2e828512c4cbc20776a804107a1906a7da95d2d8 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/Atto-Personal-Assistant
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2e828512c4cbc20776a804107a1906a7da95d2d8 -
Trigger Event:
push
-
Statement type: