This sutta occasionally pops up in discussions (on anatta) where it is used by the proponents of self view. So it is worth having a thread where it can be studied.
Aṅguttara Nikāya 6.38
4. Deities
4. Devatāvagga
One’s Own Volition
Attakārīsutta
Then a certain brahmin went up to the Buddha, and exchanged greetings with him.
Atha kho aññataro brāhmaṇo yena bhagavā tenupasaṅkami; upasaṅkamitvā bhagavatā saddhiṁ sammodi.
When the greetings and polite conversation were over, he sat down to one side and said to the Buddha:
Sammodanīyaṁ kathaṁ sāraṇīyaṁ vītisāretvā ekamantaṁ nisīdi. Ekamantaṁ nisinno kho so brāhmaṇo bhagavantaṁ etadavoca:“Mister Gotama, this is my doctrine and view:
“ahañhi, bho gotama, evaṁvādī evaṁdiṭṭhi:
One does not act of one’s own volition, nor does one act of another’s volition.”
‘natthi attakāro, natthi parakāro’”ti.“Brahmin, may I never see or hear of anyone holding such a doctrine or view!
“Māhaṁ, brāhmaṇa, evaṁvādiṁ evaṁdiṭṭhiṁ addasaṁ vā assosiṁ vā.
How on earth can someone who comes and goes on his own say that
Kathañhi nāma sayaṁ abhikkamanto, sayaṁ paṭikkamanto evaṁ vakkhati:
one does not act of one’s own volition, nor does one act of another’s volition?
‘natthi attakāro, natthi parakāro’ti.What do you think, brahmin, is there an element of initiative?”
Taṁ kiṁ maññasi, brāhmaṇa, atthi ārabbhadhātū”ti?“Yes, sir.”
“Evaṁ, bho”.“Since this is so, do we find sentient beings who initiate activity?”
“Ārabbhadhātuyā sati ārabbhavanto sattā paññāyantī”ti?“Yes, sir.”
“Evaṁ, bho”.“Since there is an element of initiative, and sentient beings who initiate activity are found, sentient beings act of their own volition or that of another.
“Yaṁ kho, brāhmaṇa, ārabbhadhātuyā sati ārabbhavanto sattā paññāyanti, ayaṁ sattānaṁ attakāro ayaṁ parakāro.What do you think, brahmin, is there an element of persistence …
Taṁ kiṁ maññasi, brāhmaṇa, atthi nikkamadhātu …pe…
exertion …
atthi parakkamadhātu …
strength …
atthi thāmadhātu …
endurance …
atthi ṭhitidhātu …
energy?”
atthi upakkamadhātū”ti?“Yes, sir.”
“Evaṁ, bho”.“Since this is so, do we find sentient beings who have energy?”
“Upakkamadhātuyā sati upakkamavanto sattā paññāyantī”ti?“Yes, sir.”
“Evaṁ, bho”.“Since there is an element of energy, and sentient beings who have energy are found, sentient beings act of their own volition or that of another.
“Yaṁ kho, brāhmaṇa, upakkamadhātuyā sati upakkamavanto sattā paññāyanti, ayaṁ sattānaṁ attakāro ayaṁ parakāro.Brahmin, may I never see or hear of anyone holding such a doctrine or view!
Māhaṁ, brāhmaṇa, evaṁvādiṁ evaṁdiṭṭhiṁ addasaṁ vā assosiṁ vā.
Variant: Māhaṁ, brāhmaṇa → taṁ kiṁ maññasi brāhmaṇa māhaṁ (mr)
How on earth can someone who comes and goes on his own say that
Kathañhi nāma sayaṁ abhikkamanto sayaṁ paṭikkamanto evaṁ vakkhati:
one does not act of one’s own volition, nor does one act of another’s volition?”
‘natthi attakāro natthi parakāro’”ti.“Excellent, Mister Gotama! Excellent! …
“Abhikkantaṁ, bho gotama …pe…
From this day forth, may Mister Gotama remember me as a lay follower who has gone for refuge for life.”
ajjatagge pāṇupetaṁ saraṇaṁ gatan”ti.
From PTS
The Gradual Sayings Vol.3 Book of 6s page 237
text iii, 355, VI, IV, 38
viii (38). Self-acting.
This Master Gotama, is my avowal, this my view: There is no self-
agency; no other-agency’
natthi attakaro, natthi parakaroti "
in the PTS it notes that this was the teaching of Makkhali Gosala also mentioned in the Sammanaphala sutta.