Skip to main content

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) -> str via AgentRuntime(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

Uma revisão remota do Azure precisa apenas de AZURE_TOKEN e da URL completa do PR. ATTO_WORKSPACE não é necessário nesse cenário.

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

  1. Fork o repositório
  2. Crie uma branch atto/feature-nome
  3. Faça suas alterações
  4. Execute pytest para garantir que tudo funciona
  5. 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

atto_personal_agent-0.1.9.tar.gz (59.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atto_personal_agent-0.1.9-py3-none-any.whl (87.1 kB view details)

Uploaded Python 3

File details

Details for the file atto_personal_agent-0.1.9.tar.gz.

File metadata

  • Download URL: atto_personal_agent-0.1.9.tar.gz
  • Upload date:
  • Size: 59.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for atto_personal_agent-0.1.9.tar.gz
Algorithm Hash digest
SHA256 64ebf2d9c58e65029621bab0020548a2dd91708ed538943d448f23240218817f
MD5 801b9c38a3ac3e36611c0aff68265862
BLAKE2b-256 0f9718a8f3682b32ab90ea979adad67e5c86be0197f465b6eaf95a6538e98b95

See more details on using hashes here.

Provenance

The following attestation bundles were made for atto_personal_agent-0.1.9.tar.gz:

Publisher: publish.yml on Atto-Personal-Assistant/agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file atto_personal_agent-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for atto_personal_agent-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ce0b3a06bd10a496d67d817976d8647e8e463d6f7704e45ebf883645b96f9b70
MD5 4b7396cddfde8fe3cdeb3346017c90a1
BLAKE2b-256 e3bde236bc50e2fb57c4bc7f18eec624106e12648a0cabb8158c007748605082

See more details on using hashes here.

Provenance

The following attestation bundles were made for atto_personal_agent-0.1.9-py3-none-any.whl:

Publisher: publish.yml on Atto-Personal-Assistant/agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page